Searched refs:num_ents (Results 1 – 5 of 5) sorted by relevance
35 int size, num_ents, i; in prom_meminit_v2() local39 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() local67 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 …]
311 unsigned long num_ents = (new_size / sizeof(struct tsb)); in tsb_size_to_rss_limit() local314 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()
88 int *num_ents) in read_obp_memory() argument141 *num_ents = ents; in read_obp_memory()
459 static void purge_dups(u32 *list, u32 num_ents) in purge_dups() argument463 for (i = 0; i < num_ents; i++) { in purge_dups()470 for (j = i + 1; j < num_ents; j++) { in purge_dups()
2876 unsigned long num_ents; /* Number of entries in queue */ member