Home
last modified time | relevance | path

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

/mm/
Dnobootmem.c36 u64 goal, u64 limit) in __alloc_memory_core_early() argument
44 addr = memblock_find_in_range_node(size, align, goal, limit, nid); in __alloc_memory_core_early()
223 unsigned long goal, in ___alloc_bootmem_nopanic() argument
233 ptr = __alloc_memory_core_early(NUMA_NO_NODE, size, align, goal, limit); in ___alloc_bootmem_nopanic()
238 if (goal != 0) { in ___alloc_bootmem_nopanic()
239 goal = 0; in ___alloc_bootmem_nopanic()
260 unsigned long goal) in __alloc_bootmem_nopanic() argument
264 return ___alloc_bootmem_nopanic(size, align, goal, limit); in __alloc_bootmem_nopanic()
268 unsigned long goal, unsigned long limit) in ___alloc_bootmem() argument
270 void *mem = ___alloc_bootmem_nopanic(size, align, goal, limit); in ___alloc_bootmem()
[all …]
Dbootmem.c495 unsigned long goal, unsigned long limit) in alloc_bootmem_bdata() argument
502 align, goal, limit); in alloc_bootmem_bdata()
506 BUG_ON(limit && goal + size > limit); in alloc_bootmem_bdata()
514 goal >>= PAGE_SHIFT; in alloc_bootmem_bdata()
524 if (goal && min < goal && goal < max) in alloc_bootmem_bdata()
525 start = ALIGN(goal, step); in alloc_bootmem_bdata()
602 unsigned long goal, in alloc_bootmem_core() argument
612 if (goal && bdata->node_low_pfn <= PFN_DOWN(goal)) in alloc_bootmem_core()
617 region = alloc_bootmem_bdata(bdata, size, align, goal, limit); in alloc_bootmem_core()
627 unsigned long goal, in ___alloc_bootmem_nopanic() argument
[all …]
Dsparse.c267 unsigned long goal, limit; in sparse_early_usemaps_alloc_pgdat_section() local
280 goal = __pa(pgdat) & (PAGE_SECTION_MASK << PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
281 limit = goal + (1UL << PA_SECTION_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
282 nid = early_pfn_to_nid(goal >> PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
285 SMP_CACHE_BYTES, goal, limit, in sparse_early_usemaps_alloc_pgdat_section()
Dsparse-vmemmap.c41 unsigned long goal) in __earlyonly_bootmem_alloc() argument
43 return memblock_virt_alloc_try_nid(size, align, goal, in __earlyonly_bootmem_alloc()