Lines Matching refs:lock
95 #include <kern/lock.h>
191 * Description: Initialize the file lock group and the uipc and flist locks
202 /* allocate file lock group attribute and group */
207 /* Allocate file lock attribute */
220 * Parameters: p Process to take the lock on
224 * Notes: The lock is initialized in forkproc() and destroyed in
249 * Description: Unlock the lock previously locked by a call to proc_fdlock()
251 * Parameters: p Process to drop the lock on
860 /* Copy in the lock structure */
938 /* Copy in the lock structure */
1782 * while we still hold the proc fd lock
2153 * Notes: This function may drop and reacquire this lock; it is unsafe
2154 * for a caller to assume that other state protected by the lock
2285 * with lock held
2287 * Notes: This function may drop and reacquire this lock; it is unsafe
2288 * for a caller to assume that other state protected by the lock
2290 * caller made the call with the lock held.
3424 * zero, than this routine internally takes and drops this lock.
3543 * the caller already holds this lock if 'locked' is non-zero.
3905 * Locks: This function takes and drops the proc_fdlock; if this lock
3959 * lock.
4107 * XXX: We should likely reverse the lock and funnel drop/acquire
4704 * Description: Apply an advisory lock on a file descriptor.
4707 * uap->fd fd on which the lock is to be
4721 * Notes: Just attempt to get a record lock of the requested type on
5264 * function releases and reacquires this lock. If the caller
5265 * accesses data protected by this lock prior to calling this