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

Function vn_seqc_init

freebsd/kern/vfs_subr.c:6900–6906  ·  view source on GitHub ↗

* Special case handling for allocating and freeing vnodes. * * The counter remains unchanged on free so that a doomed vnode will * keep testing as in modify as long as it is accessible with SMR. */

Source from the content-addressed store, hash-verified

6898 * keep testing as in modify as long as it is accessible with SMR.
6899 */
6900static void
6901vn_seqc_init(struct vnode *vp)
6902{
6903
6904 vp->v_seqc = 0;
6905 vp->v_seqc_users = 0;
6906}
6907
6908static void
6909vn_seqc_write_end_free(struct vnode *vp)

Callers 1

vfs_subr.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected