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

Function vn_free

freebsd/kern/vfs_subr.c:1712–1718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1710}
1711
1712static void
1713vn_free(struct vnode *vp)
1714{
1715
1716 atomic_subtract_long(&numvnodes, 1);
1717 uma_zfree_smr(vnode_zone, vp);
1718}
1719
1720/*
1721 * Return the next vnode from the free list.

Callers 2

getnewvnode_drop_reserveFunction · 0.85
freevnodeFunction · 0.85

Calls 2

atomic_subtract_longFunction · 0.85
uma_zfree_smrFunction · 0.85

Tested by

no test coverage detected