*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: uvn_attach | Section: 9 | Source: OpenBSD | File: uvn_attach.9
UVN_ATTACH(9) FreeBSD Kernel Developer's Manual UVN_ATTACH(9) NAME uvn_attach, uvm_vnp_setsize, uvm_vnp_sync, uvm_vnp_terminate, uvm_vnp_uncache - memory mapping files and devices SYNOPSIS #include <sys/param.h> #include <uvm/uvm.h> struct uvm_object * uvn_attach(struct vnode *vp, vm_prot_t accessprot); void uvm_vnp_setsize(struct vnode *vp, voff_t newsize); void uvm_vnp_sync(struct mount *mp); void uvm_vnp_terminate(struct vnode *vp); boolean_t uvm_vnp_uncache(struct vnode *vp); DESCRIPTION The uvn_attach() function attaches a UVM object to vnode vp, creating the object if necessary. The object is returned. The uvm_vnp_setsize() function sets the size of vnode vp to newsize. Caller must hold a reference to the vnode. If the vnode shrinks, pages no longer used are discarded. This function will be removed when the file system and VM buffer caches are merged. The uvm_vnp_sync() function flushes dirty vnodes from either the mount point passed in mp, or all dirty vnodes if mp is NULL. This function will be removed when the file system and VM buffer caches are merged. The uvm_vnp_terminate() function frees all VM resources allocated to vnode vp. If the vnode still has references, it will not be destroyed; however all future operations using this vnode will fail. This function will be removed when the file system and VM buffer caches are merged. The uvm_vnp_uncache() function disables vnode vp from persisting when all references are freed. This function will be removed when the file system and UVM caches are unified. Returns true if there is no active vnode. SEE ALSO uvm_init(9) FreeBSD 14.1-RELEASE-p8 December 5, 2019 FreeBSD 14.1-RELEASE-p8

Navigation Options