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

Function vfs_rel

freebsd/kern/vfs_mount.c:469–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469void
470vfs_rel(struct mount *mp)
471{
472 struct mount_pcpu *mpcpu;
473
474 CTR2(KTR_VFS, "%s: mp %p", __func__, mp);
475 if (vfs_op_thread_enter(mp, mpcpu)) {
476 vfs_mp_count_sub_pcpu(mpcpu, ref, 1);
477 vfs_op_thread_exit(mp, mpcpu);
478 return;
479 }
480
481 MNT_ILOCK(mp);
482 MNT_REL(mp);
483 MNT_IUNLOCK(mp);
484}
485
486/*
487 * Allocate and initialize the mount point struct.

Callers 9

vn_start_secondary_writeFunction · 0.85
vn_vget_ino_genFunction · 0.85
vfs_getnewfsidFunction · 0.85
sysctl_vfs_ctlFunction · 0.85
kern_rerootFunction · 0.85
sys_quotactlFunction · 0.85
kern_do_statfsFunction · 0.85
kern_unmountFunction · 0.85
dounmountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected