Home
last modified time | relevance | path

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

/kernel/power/
Dsnapshot.c394 unsigned long pfn = ext->start; in memory_bm_create() local
410 bb->start_pfn = pfn; in memory_bm_create()
412 pfn += BM_BITS_PER_BLOCK; in memory_bm_create()
416 pfn += pages; in memory_bm_create()
418 bb->end_pfn = pfn; in memory_bm_create()
455 static int memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn, in memory_bm_find_bit() argument
465 if (pfn < bb->start_pfn) in memory_bm_find_bit()
467 if (pfn >= bb->start_pfn) in memory_bm_find_bit()
470 if (pfn >= bb->end_pfn) in memory_bm_find_bit()
472 if (pfn >= bb->start_pfn && pfn < bb->end_pfn) in memory_bm_find_bit()
[all …]
/kernel/
Dkexec.c423 unsigned long pfn, epfn, addr, eaddr; in kimage_alloc_normal_control_pages() local
428 pfn = page_to_pfn(pages); in kimage_alloc_normal_control_pages()
429 epfn = pfn + count; in kimage_alloc_normal_control_pages()
430 addr = pfn << PAGE_SHIFT; in kimage_alloc_normal_control_pages()
Dresource.c270 unsigned long pfn, len; in walk_memory_resource() local
278 pfn = (unsigned long)(res.start >> PAGE_SHIFT); in walk_memory_resource()
280 ret = (*func)(pfn, len, arg); in walk_memory_resource()