Lines Matching refs:num_bytes
64 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()
66 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
86 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
87 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()
96 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
143 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()
145 sp_banks[i].num_bytes; in bootmem_init()
146 bytes_avail += sp_banks[i].num_bytes; in bootmem_init()
154 sp_banks[i].num_bytes -= slack; in bootmem_init()
155 if (sp_banks[i].num_bytes == 0) { in bootmem_init()
159 sp_banks[i].num_bytes); in bootmem_init()
160 sp_banks[i+1].num_bytes = 0; in bootmem_init()
166 memblock_add(sp_banks[i].base_addr, sp_banks[i].num_bytes); in bootmem_init()
223 for (i = 0; sp_banks[i].num_bytes; i++) { in taint_real_pages()
227 end = start + sp_banks[i].num_bytes; in taint_real_pages()
283 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in mem_init()
285 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in mem_init()