Home
last modified time | relevance | path

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

/kernel/power/
Dsnapshot.c417 unsigned long pfn = ext->start; in memory_bm_create() local
433 bb->start_pfn = pfn; in memory_bm_create()
435 pfn += BM_BITS_PER_BLOCK; in memory_bm_create()
439 pfn += pages; in memory_bm_create()
441 bb->end_pfn = pfn; in memory_bm_create()
478 static int memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn, in memory_bm_find_bit() argument
488 if (pfn < bb->start_pfn) in memory_bm_find_bit()
490 if (pfn >= bb->start_pfn) in memory_bm_find_bit()
493 if (pfn >= bb->end_pfn) in memory_bm_find_bit()
495 if (pfn >= bb->start_pfn && pfn < bb->end_pfn) in memory_bm_find_bit()
[all …]
/kernel/
Dresource.c376 unsigned long pfn, end_pfn; in walk_system_ram_range() local
386 pfn = (res.start + PAGE_SIZE - 1) >> PAGE_SHIFT; in walk_system_ram_range()
388 if (end_pfn > pfn) in walk_system_ram_range()
389 ret = (*func)(pfn, end_pfn - pfn, arg); in walk_system_ram_range()
400 static int __is_ram(unsigned long pfn, unsigned long nr_pages, void *arg) in __is_ram() argument
408 int __weak page_is_ram(unsigned long pfn) in page_is_ram() argument
410 return walk_system_ram_range(pfn, 1, NULL, __is_ram) == 1; in page_is_ram()
Dkexec.c430 unsigned long pfn, epfn, addr, eaddr; in kimage_alloc_normal_control_pages() local
435 pfn = page_to_pfn(pages); in kimage_alloc_normal_control_pages()
436 epfn = pfn + count; in kimage_alloc_normal_control_pages()
437 addr = pfn << PAGE_SHIFT; in kimage_alloc_normal_control_pages()
/kernel/debug/kdb/
Dkdb_support.c379 unsigned long pfn; in kdb_getphys() local
383 pfn = (addr >> PAGE_SHIFT); in kdb_getphys()
384 if (!pfn_valid(pfn)) in kdb_getphys()
386 page = pfn_to_page(pfn); in kdb_getphys()