Home
last modified time | relevance | path

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

/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 …]
/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()
/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()
/arch/sparc/include/asm/
Dhypervisor.h2876 unsigned long num_ents; /* Number of entries in queue */ member