Searched refs:num_ents (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/arch/sparc/prom/ |
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-v6.6/drivers/media/test-drivers/vimc/ |
D | vimc-core.c | 73 size_t num_ents; member 165 .num_ents = ARRAY_SIZE(ent_config), 178 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_rm_links() 230 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_release_subdevs() 239 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) in vimc_unregister_subdevs() 248 for (i = 0; i < vimc->pipe_cfg->num_ents; i++) { in vimc_add_subdevs() 290 vimc->ent_devs = kcalloc(vimc->pipe_cfg->num_ents, in vimc_register_devices()
|
/Linux-v6.6/arch/sparc/mm/ |
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()
|
D | init_64.c | 111 int *num_ents) in read_obp_memory() argument 165 *num_ents = ents; in read_obp_memory()
|
/Linux-v6.6/lib/ |
D | scatterlist.c | 197 unsigned int num_ents) in __sg_free_table() argument 206 while (num_ents) { in __sg_free_table() 207 unsigned int alloc_size = num_ents; in __sg_free_table() 225 num_ents -= sg_size; in __sg_free_table()
|
/Linux-v6.6/arch/sparc/kernel/ |
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-v6.6/arch/sparc/include/asm/ |
D | hypervisor.h | 3380 unsigned long num_ents; /* Number of entries in queue */ member
|
/Linux-v6.6/drivers/gpu/drm/qxl/ |
D | qxl_dev.h | 821 uint16_t num_ents; member
|
/Linux-v6.6/drivers/scsi/bfa/ |
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-v6.6/drivers/net/ethernet/broadcom/ |
D | b44.c | 1702 int i, num_ents; in __b44_load_mcast() local 1704 num_ents = min_t(int, netdev_mc_count(dev), B44_MCAST_TABLE_SIZE); in __b44_load_mcast() 1707 if (i == num_ents) in __b44_load_mcast()
|