tail head cat sleep
QR code linking to this page

Manual Pages  — PMAP_MINCORE

NAME

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

CONTENTS

SYNOPSIS

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

int
pmap_mincore(pmap_t pmap, vm_offset_t addr);

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.

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)

AUTHORS

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

PMAP_MINCORE (9) July 21, 2003

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Never write it in C if you can do it in `awk';
Never do it in `awk' if `sed' can handle it;
Never use `sed' when `tr' can do the job;
Never invoke `tr' when `cat' is sufficient;
Avoid using `cat' whenever possible.
— Taylor's Laws of Programming