filemap_nopage(9)

NAME

filemap_nopage - read in file data for page fault handling

SYNOPSIS

struct page * filemap_nopage(struct vm_area_struct * area,
unsigned long address, int * type);

ARGUMENTS

area
the applicable vm_area
address
target address to read in
type
returned with VM_FAULT_{MINOR,MAJOR} if not NULL

DESCRIPTION

filemap_nopage is invoked via the vma operations vector
for a mapped memory region to read in file data during a page
fault.
The goto's are kind of ugly, but this streamlines the nor
mal case of having it in the page cache, and handles the special
cases reasonably without having a lot of duplicated code.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout