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

Function vfs_freeopts

freebsd/kern/vfs_mount.c:176–186  ·  view source on GitHub ↗

Release all resources related to the mount options. */

Source from the content-addressed store, hash-verified

174
175/* Release all resources related to the mount options. */
176void
177vfs_freeopts(struct vfsoptlist *opts)
178{
179 struct vfsopt *opt;
180
181 while (!TAILQ_EMPTY(opts)) {
182 opt = TAILQ_FIRST(opts);
183 vfs_freeopt(opts, opt);
184 }
185 free(opts, M_MOUNT);
186}
187
188void
189vfs_deleteopt(struct vfsoptlist *opts, const char *name)

Callers 8

mount_snapshotFunction · 0.85
kern_jail_setFunction · 0.85
kern_jail_getFunction · 0.85
vfs_buildoptsFunction · 0.85
vfs_mount_destroyFunction · 0.85
vfs_donmountFunction · 0.85
vfs_domount_firstFunction · 0.85
vfs_domount_updateFunction · 0.85

Calls 2

vfs_freeoptFunction · 0.85
freeFunction · 0.70

Tested by

no test coverage detected