Home
last modified time | relevance | path

Searched refs:n_regions (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/arch/ppc/mm/
Dmem_pieces.c39 for (i = 0; i < mp->n_regions; ++i) { in mem_pieces_find()
65 for (i = 0, rp = mp->regions; i < mp->n_regions; ++i, ++rp) { in mem_pieces_remove()
69 if (i >= mp->n_regions) { in mem_pieces_remove()
75 for (; i < mp->n_regions && end > rp->address; ++i, ++rp) { in mem_pieces_remove()
88 if (mp->n_regions >= MEM_PIECES_MAX) in mem_pieces_remove()
90 for (j = mp->n_regions; j > i + 1; --j) in mem_pieces_remove()
92 ++mp->n_regions; in mem_pieces_remove()
102 for (j = i; j < mp->n_regions - 1; ++j) in mem_pieces_remove()
104 --mp->n_regions; in mem_pieces_remove()
117 for (i = 0; i < mp->n_regions; ++i) in mem_pieces_print()
[all …]
Dmem_pieces.h32 int n_regions; member
Dinit.c411 for (i = 0; i < phys_avail.n_regions; ++i) { in do_init_bootmem()
433 for (i = 0; i < phys_avail.n_regions; ++i) in do_init_bootmem()
577 phys_avail.n_regions = 1; in set_phys_avail()
/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_setup.c739 mp->n_regions = rp - mp->regions; in get_mem_prop()
772 || phys_mem.n_regions == 0) in pmac_find_end_of_memory()
779 if (phys_mem.n_regions > 1) { in pmac_find_end_of_memory()