The printf(), snprintf(), vprintf(), vsnprintf(), uprintf(), ttyprintf(), and db_printf() functions allow the kernel to send formatted messages to various output devices. The functions printf() and vp...
Decrement the v_usecount field of the vnode vp and unlock the vnode. This operation is functionally equivalent to calling VOP_UNLOCK() followed by vrele(9).
The vrecycle() function places the vnode vp on the free list using vgonel(9) if its v_usecount field is zero. If v_usecount is non-zero, it simply returns. If v_usecount is zero and an interlock inter...
Increment the v_usecount field of the vnode specified by vp. Each vnode maintains a reference count of how many parts of the system are using the vnode. This allows the system to detect when a vnode i...
Decrement the v_usecount field of the vnode specified by vp. Any code in the system which uses a vnode should call vrele() when it is finished with the vnode. If the v_usecount field of the vnode reac...
The printf(), snprintf(), vprintf(), vsnprintf(), uprintf(), ttyprintf(), and db_printf() functions allow the kernel to send formatted messages to various output devices. The functions printf() and vp...
The vwaitforio() call sleeps until all asynchronous writes associated with the vnode vp finish. This is used by functions that need to make sure that the writes they initiated have completed. The vwai...
These functions implement voluntary context switching. tsleep() and sleep() are used throughout the kernel whenever processing in the current context can not continue for any of the following reasons:...
This collection of routines provides a disklabel management interface to kernel device drivers. These routines are classified as machine- or architecture-dependent because of restrictions imposed by t...