*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pmap_mincore (9)              
Title
Content
Arch
Section
 

PMAP_MINCORE(9)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/pmap.h>

     int
     pmap_mincore(pmap_t pmap, vm_offset_t addr);

DESCRIPTION    [Toc]    [Back]

     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 mincore(2) system call.

RETURN VALUES    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     mincore(2), pmap(9)

AUTHORS    [Toc]    [Back]

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


				 July 21, 2003
[ Back ]
 Similar pages
Name OS Title
pmap_map FreeBSD map a physical memory range into kernel virtual address (KVA) space
KSEG_TO_PHYS Tru64 General: Converts a kernel-unmapped virtual address to a physical address
copy_to_phys Tru64 General: Copies data from a virtual address to a physical address
svatophys Tru64 General: Converts a system virtual address to a physical address
vtop Tru64 General: Converts any virtual address to a physical address
pmap_extract_and_hold FreeBSD map a virtual address to a physical page
pmap_extract FreeBSD map a virtual address to a physical page
pmap_change_wiring FreeBSD change physical wiring for a map or virtual address pair
vm_map FreeBSD virtual address space portion of virtual memory subsystem
mremap Linux re-map a virtual memory address
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service