MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vrecycle

Function vrecycle

freebsd/kern/vfs_subr.c:3822–3831  ·  view source on GitHub ↗

* Recycle an unused vnode to the front of the free list. */

Source from the content-addressed store, hash-verified

3820 * Recycle an unused vnode to the front of the free list.
3821 */
3822int
3823vrecycle(struct vnode *vp)
3824{
3825 int recycled;
3826
3827 VI_LOCK(vp);
3828 recycled = vrecyclel(vp);
3829 VI_UNLOCK(vp);
3830 return (recycled);
3831}
3832
3833/*
3834 * vrecycle, with the vp interlock held.

Callers 4

zfs_inactiveFunction · 0.85
zfsctl_snapshot_inactiveFunction · 0.85
do_recycleFunction · 0.85
mqfs_inactiveFunction · 0.85

Calls 1

vrecyclelFunction · 0.85

Tested by

no test coverage detected