Rechercher une page de manuel
vm_page_grab.9freebsd
Langue: en
Version: 308520 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
BSD mandoc
NAME
vm_page_grab - returns a page from an objectSYNOPSIS
In sys/param.h In vm/vm.h In vm/vm_page.h Ft vm_page_t Fn vm_page_grab vm_object_t object vm_pindex_t pindex int allocflagsDESCRIPTION
The Fn vm_page_grab function returns the page at Fa pindex from the given object. If the page exists and is busy, Fn vm_page_grab will sleep while waiting for it. If the page does not exist, it is allocated.If VM_ALLOC_RETRY is not set in Fa allocflags and the function sleeps, either getting the page from the object or while allocating it, NULL is returned.
RETURN VALUES
If successful, Fn vm_page_grab returns the page; otherwise, NULL is returned.SEE ALSO
vm_page_alloc9AUTHORS
This manual page was written by An Chad David Aq davidc@acns.ab.ca .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre