VM_PAGE_LOOKUP(9)
β¨ NAME β¨
okay bestie, this is VM_PAGE_LOOKUP(9) from the Kernel Developer's Manual β and the whole point is literally: vm_page_lookup β lookup a vm page π
no cap.
π¦ SYNOPSIS π¦
main character includes first:
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
vm_page_t
vm_page_lookup(vm_object_t object, vm_pindex_t pindex);
π DESCRIPTION π
okay so vm_page_lookup() is out here searching for a VM page given its VM object and index. If the page is not found, NULL is returned. That's the vibe check. Its arguments are:
objectβ the VM object to search on.pindexβ the page index to search on.
π RETURN VALUES π
A vm_page_t is returned if successful; otherwise, NULL is returned. Translation: success = you get a vm_page_t, no success = NULL, periodt πβ¨
π AUTHORS π
This manual page was written by Chad David <davidc@acns.ab.ca>. Give him his flowers ππ«Ά
π sign-off time: this page comes from Debian, dated July 13, 2001, and yes itβs VM_PAGE_LOOKUP(9) β mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms