<def f='src/src/sys/kern/vfs_lockf.c' l='126' type='int'/>
<use f='src/src/sys/kern/vfs_lockf.c' l='203' u='r' c='lf_alloc'/>
<use f='src/src/sys/kern/vfs_lockf.c' l='203' u='r' c='lf_alloc'/>
<doc f='src/src/sys/kern/vfs_lockf.c' l='116'>/*
 * We enforce a limit on locks by uid, so that a single user cannot
 * run the kernel out of memory.  For now, the limit is pretty coarse.
 * There is no limit on root.
 *
 * Splitting a lock will always succeed, regardless of current allocations.
 * If you&apos;re slightly above the limit, we still have to permit an allocation
 * so that the unlock can succeed.  If the unlocking causes too many splits,
 * however, you&apos;re totally cutoff.
 */</doc>
