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

Function do_recycle

freebsd/kern/uipc_mqueue.c:721–730  ·  view source on GitHub ↗

* task routine */

Source from the content-addressed store, hash-verified

719 * task routine
720 */
721static void
722do_recycle(void *context, int pending __unused)
723{
724 struct vnode *vp = (struct vnode *)context;
725
726 vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
727 vrecycle(vp);
728 VOP_UNLOCK(vp);
729 vdrop(vp);
730}
731
732/*
733 * Allocate a vnode

Callers

nothing calls this directly

Calls 3

vn_lockFunction · 0.85
vrecycleFunction · 0.85
vdropFunction · 0.85

Tested by

no test coverage detected