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

Function getnewvnode_reserve

freebsd/kern/vfs_subr.c:1811–1819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1809}
1810
1811void
1812getnewvnode_reserve(void)
1813{
1814 struct thread *td;
1815
1816 td = curthread;
1817 MPASS(td->td_vp_reserved == NULL);
1818 td->td_vp_reserved = vn_alloc(NULL);
1819}
1820
1821void
1822getnewvnode_drop_reserve(void)

Callers

nothing calls this directly

Calls 1

vn_allocFunction · 0.85

Tested by

no test coverage detected