logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmap_mincore — determine if a virtual address is resident in physical memory

Authors

       This manual page was written by Bruce M Simpson <bms@spc.org>.

Debian                                            July 21, 2003                                  PMAP_MINCORE(9)

Description

       The  pmap_mincore()  function determines if the page at the virtual address addr in the physical map pmap
       is resident in physical memory.  It is the machine-dependent interface  used  by  the  mincore(2)  system
       call.

Name

       pmap_mincore — determine if a virtual address is resident in physical memory

Return Values

       If  the  page is resident in physical memory, a mask of flags is returned, whose meaning is documented in
       mincore(2); otherwise, 0 is returned.

       The pmap must exist and addr must be mapped into the pmap.  If any error  occurs,  the  machine-dependent
       implementation should return 0.

See Also

mincore(2), pmap(9)

Synopsis

#include<sys/param.h>#include<vm/vm.h>#include<vm/pmap.h>intpmap_mincore(pmap_tpmap, vm_offset_taddr);

See Also