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

Function mount_fini

freebsd/kern/vfs_mount.c:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static void
138mount_fini(void *mem, int size)
139{
140 struct mount *mp;
141
142 mp = (struct mount *)mem;
143 uma_zfree_pcpu(pcpu_zone_16, mp->mnt_pcpu);
144 lockdestroy(&mp->mnt_explock);
145 mtx_destroy(&mp->mnt_listmtx);
146 mtx_destroy(&mp->mnt_mtx);
147}
148
149static void
150vfs_mount_init(void *dummy __unused)

Callers

nothing calls this directly

Calls 2

lockdestroyFunction · 0.85
uma_zfree_pcpuFunction · 0.50

Tested by

no test coverage detected