Lines Matching refs:num_bytes
63 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()
65 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
85 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
86 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()
95 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
142 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()
144 sp_banks[i].num_bytes; in bootmem_init()
145 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
153 sp_banks[i].num_bytes -= slack; in bootmem_init()
154 if (sp_banks[i].num_bytes == 0) { in bootmem_init()
158 sp_banks[i].num_bytes); in bootmem_init()
159 sp_banks[i+1].num_bytes = 0; in bootmem_init()
165 memblock_add(sp_banks[i].base_addr, sp_banks[i].num_bytes); in bootmem_init()
222 for (i = 0; sp_banks[i].num_bytes; i++) { in taint_real_pages()
226 end = start + sp_banks[i].num_bytes; in taint_real_pages()
282 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in mem_init()
284 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in mem_init()