Home
last modified time | relevance | path

Searched refs:num_ents (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/arch/sparc/prom/
Dmemory.c35 int size, num_ents, i; in prom_meminit_v2() local
39 num_ents = size / sizeof(struct linux_prom_registers); in prom_meminit_v2()
41 for (i = 0; i < num_ents; i++) { in prom_meminit_v2()
46 return num_ents; in prom_meminit_v2()
63 int i, num_ents = 0; in prom_meminit() local
67 num_ents = prom_meminit_v0(); in prom_meminit()
72 num_ents = prom_meminit_v2(); in prom_meminit()
78 sort(sp_banks, num_ents, sizeof(struct sparc_phys_banks), in prom_meminit()
82 sp_banks[num_ents].base_addr = 0xdeadbeef; in prom_meminit()
83 sp_banks[num_ents].num_bytes = 0; in prom_meminit()
[all …]
/linux-3.4.99/arch/sparc/mm/
Dtsb.c311 unsigned long num_ents = (new_size / sizeof(struct tsb)); in tsb_size_to_rss_limit() local
314 return num_ents - (num_ents >> -sysctl_tsb_ratio); in tsb_size_to_rss_limit()
316 return num_ents + (num_ents >> sysctl_tsb_ratio); in tsb_size_to_rss_limit()
Dinit_64.c88 int *num_ents) in read_obp_memory() argument
141 *num_ents = ents; in read_obp_memory()
/linux-3.4.99/drivers/mmc/host/
Dmsm_sdcc.h174 int num_ents; member
Dmsm_sdcc.c268 dma_unmap_sg(mmc_dev(host->mmc), host->dma.sg, host->dma.num_ents, in msmsdcc_dma_complete_tlet()
347 host->dma.num_ents = data->sg_len; in msmsdcc_config_dma()
349 BUG_ON(host->dma.num_ents > NR_SG); /* Prevent memory corruption */ in msmsdcc_config_dma()
368 host->dma.num_ents = 0; in msmsdcc_config_dma()
390 host->dma.num_ents, host->dma.dir); in msmsdcc_config_dma()
395 host->dma.num_ents = 0; in msmsdcc_config_dma()
/linux-3.4.99/arch/sparc/kernel/
Dds.c459 static void purge_dups(u32 *list, u32 num_ents) in purge_dups() argument
463 for (i = 0; i < num_ents; i++) { in purge_dups()
470 for (j = i + 1; j < num_ents; j++) { in purge_dups()
/linux-3.4.99/arch/sparc/include/asm/
Dhypervisor.h2876 unsigned long num_ents; /* Number of entries in queue */ member
/linux-3.4.99/drivers/scsi/bfa/
Dbfa_fcs_rport.c2971 u16 num_ents; in bfa_fcs_rpf_rpsc2_response() local
2986 num_ents = be16_to_cpu(rpsc2_acc->num_pids); in bfa_fcs_rpf_rpsc2_response()
2987 bfa_trc(rport->fcs, num_ents); in bfa_fcs_rpf_rpsc2_response()
2988 if (num_ents > 0) { in bfa_fcs_rpf_rpsc2_response()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Db44.c1683 int i, num_ents; in __b44_load_mcast() local
1685 num_ents = min_t(int, netdev_mc_count(dev), B44_MCAST_TABLE_SIZE); in __b44_load_mcast()
1688 if (i == num_ents) in __b44_load_mcast()