table of contents
other versions
FOLLOW_PFN(9) | Memory Management in Linux | FOLLOW_PFN(9) |
NAME¶
follow_pfn - look up PFN at a user virtual addressSYNOPSIS¶
int follow_pfn(struct vm_area_struct * vma, unsigned long address, unsigned long * pfn);
ARGUMENTS¶
struct vm_area_struct * vmamemory mapping
unsigned long address
user virtual address
unsigned long * pfn
location to store found PFN
DESCRIPTION¶
Only IO mappings and raw PFN mappings are allowed.Returns zero and the pfn at pfn on success, -ve otherwise.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |