|
vm_page_try_to_free(9) -- free a page
|
The vm_page_free_toq() function moves a page into the free queue, and disassociates it from its object. If the page is held, wired, already free, or its busy count is not zero, the system will panic. ... |
vm_page_undirty(9) -- manage page clean and dirty bits
|
vm_page_bits() calculates the bits representing the DEV_BSIZE range of bytes between base and size. The byte range is expected to be within a single page, and if size is zero, no bits will be set. vm_... |
vm_page_unhold(9) -- update a page's hold count
|
The vm_page_hold() function increases the hold count on a page. This prevents the page daemon from freeing the page. vm_page_hold() should only be used for very temporary wiring of a page, as that pag... |
vm_page_unmanage(9) -- make a page unmanaged
|
The vm_page_unmanage() function flags that the page should no longer be managed by the VM system like other pages. The page is removed from any page queue it may be on, and after its PG_UNMANAGED flag... |
vm_page_unwire(9) -- wire and unwire pages
|
The vm_page_wire() function increments the wire count on a page, and removes it from whatever queue it is on. The vm_page_unwire() function releases one of the wirings on the page. When write_count re... |
vm_page_wakeup(9) -- handle the busying and unbusying of a page
|
These functions handle the busying, unbusying and notification of the unbusying of a page. vm_page_busy() sets the PG_BUSY flag in the page. vm_page_flash() checks to see if there is anybody waiting o... |
vm_page_wire(9) -- wire and unwire pages
|
The vm_page_wire() function increments the wire count on a page, and removes it from whatever queue it is on. The vm_page_unwire() function releases one of the wirings on the page. When write_count re... |
vm_page_zero_fill(9) -- zero fill a page
|
The vm_page_zero_fill() function zeros the given vm page by calling the machine dependent pmap_zero_page() routine. vm_page_zero_fill() always returns TRUE. |
vm_page_zero_invalid(9) -- manage page clean and dirty bits
|
vm_page_bits() calculates the bits representing the DEV_BSIZE range of bytes between base and size. The byte range is expected to be within a single page, and if size is zero, no bits will be set. vm_... |
vm_set_page_size(9) -- initialize the system page size
|
The vm_set_page_size() function initializes the system page size. If cnt.v_page_size (see ) equals 0, PAGE_SIZE is used; otherwise, the value stored in cnt.v_page_size is used. If cnt.v... |
vnode(9) -- internal representation of a file or directory
|
The vnode is the focus of all file activity in UNIX. A vnode is described by struct vnode. There is a unique vnode allocated for each active file, each current directory, each mounted-on file, text fi... |
vn_isdisk(9) -- checks if a vnode represents a disk
|
The vn_isdisk() function checks to see if vp represents a disk. In order for vp to be a disk, it must be a character device, v_rdev must be valid, and the cdevsw entry's flags must have D_DISK set. I... |
vn_lock(9) -- serialize access to a vnode
|
These calls are used to serialize access to the file system, such as to prevent two writes to the same file from happening at the same time. The arguments are: vp the vnode being locked or unlocked fl... |