Home
last modified time | relevance | path

Searched refs:r (Results 1 – 3 of 3) sorted by relevance

/mm/
Dmemblock.c259 static void __init_memblock memblock_remove_region(struct memblock_type *type, unsigned long r) in memblock_remove_region() argument
261 type->total_size -= type->regions[r].size; in memblock_remove_region()
262 memmove(&type->regions[r], &type->regions[r + 1], in memblock_remove_region()
263 (type->cnt - (r + 1)) * sizeof(type->regions[r])); in memblock_remove_region()
837 struct memblock_region *r; in __next_mem_range() local
841 r = &type_b->regions[idx_b]; in __next_mem_range()
842 r_start = idx_b ? r[-1].base + r[-1].size : 0; in __next_mem_range()
844 r->base : ULLONG_MAX; in __next_mem_range()
941 struct memblock_region *r; in __next_mem_range_rev() local
945 r = &type_b->regions[idx_b]; in __next_mem_range_rev()
[all …]
Dvmstat.c1280 int r; in vmstat_update() local
1288 r = cpumask_test_and_set_cpu(smp_processor_id(), in vmstat_update()
1290 VM_BUG_ON(r); in vmstat_update()
Dpage_alloc.c5164 struct memblock_region *r; in find_zone_movable_pfns_for_nodes() local
5174 for_each_memblock(memory, r) { in find_zone_movable_pfns_for_nodes()
5175 if (!memblock_is_hotpluggable(r)) in find_zone_movable_pfns_for_nodes()
5178 nid = r->nid; in find_zone_movable_pfns_for_nodes()
5180 usable_startpfn = PFN_DOWN(r->base); in find_zone_movable_pfns_for_nodes()