Searched refs:num_ents (Results 1 – 10 of 10) sorted by relevance
/linux/arch/sparc/prom/ |
A D | memory.c | 36 int size, num_ents, i; in prom_meminit_v2() local 40 num_ents = size / sizeof(struct linux_prom_registers); in prom_meminit_v2() 42 for (i = 0; i < num_ents; i++) { in prom_meminit_v2() 47 return num_ents; in prom_meminit_v2() 64 int i, num_ents = 0; in prom_meminit() local 68 num_ents = prom_meminit_v0(); in prom_meminit() 73 num_ents = prom_meminit_v2(); in prom_meminit() 79 sort(sp_banks, num_ents, sizeof(struct sparc_phys_banks), in prom_meminit() 83 sp_banks[num_ents].base_addr = 0xdeadbeef; in prom_meminit() 84 sp_banks[num_ents].num_bytes = 0; in prom_meminit() [all …]
|
/linux/drivers/media/test-drivers/vimc/ |
A D | vimc-core.c | 40 size_t num_ents; member 110 .num_ents = ARRAY_SIZE(ent_config), 121 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_rm_links() 157 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_release_subdevs() 166 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_unregister_subdevs() 175 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) { in vimc_add_subdevs() 217 vimc->ent_devs = kcalloc(vimc->pipe_cfg->num_ents, in vimc_register_devices()
|
/linux/arch/sparc/mm/ |
A D | tsb.c | 372 unsigned long num_ents = (new_size / sizeof(struct tsb)); in tsb_size_to_rss_limit() local 375 return num_ents - (num_ents >> -sysctl_tsb_ratio); in tsb_size_to_rss_limit() 377 return num_ents + (num_ents >> sysctl_tsb_ratio); in tsb_size_to_rss_limit()
|
A D | init_64.c | 111 int *num_ents) in read_obp_memory() argument 165 *num_ents = ents; in read_obp_memory()
|
/linux/lib/ |
A D | scatterlist.c | 195 unsigned int num_ents) in __sg_free_table() argument 204 while (num_ents) { in __sg_free_table() 205 unsigned int alloc_size = num_ents; in __sg_free_table() 223 num_ents -= sg_size; in __sg_free_table()
|
/linux/arch/sparc/kernel/ |
A D | ds.c | 461 static void purge_dups(u32 *list, u32 num_ents) in purge_dups() argument 465 for (i = 0; i < num_ents; i++) { in purge_dups() 472 for (j = i + 1; j < num_ents; j++) { in purge_dups()
|
/linux/arch/sparc/include/asm/ |
A D | hypervisor.h | 3380 unsigned long num_ents; /* Number of entries in queue */ member
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_dev.h | 821 uint16_t num_ents; member
|
/linux/drivers/scsi/bfa/ |
A D | bfa_fcs_rport.c | 3400 u16 num_ents; in bfa_fcs_rpf_rpsc2_response() local 3415 num_ents = be16_to_cpu(rpsc2_acc->num_pids); in bfa_fcs_rpf_rpsc2_response() 3416 bfa_trc(rport->fcs, num_ents); in bfa_fcs_rpf_rpsc2_response() 3417 if (num_ents > 0) { in bfa_fcs_rpf_rpsc2_response()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | b44.c | 1724 int i, num_ents; in __b44_load_mcast() local 1726 num_ents = min_t(int, netdev_mc_count(dev), B44_MCAST_TABLE_SIZE); in __b44_load_mcast() 1729 if (i == num_ents) in __b44_load_mcast()
|
Completed in 36 milliseconds