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

Function vfs_freeopt

freebsd/kern/vfs_mount.c:164–173  ·  view source on GitHub ↗

Remove one mount option. */

Source from the content-addressed store, hash-verified

162
163/* Remove one mount option. */
164static void
165vfs_freeopt(struct vfsoptlist *opts, struct vfsopt *opt)
166{
167
168 TAILQ_REMOVE(opts, opt, link);
169 free(opt->name, M_MOUNT);
170 if (opt->value != NULL)
171 free(opt->value, M_MOUNT);
172 free(opt, M_MOUNT);
173}
174
175/* Release all resources related to the mount options. */
176void

Callers 4

vfs_freeoptsFunction · 0.85
vfs_deleteoptFunction · 0.85
vfs_sanitizeoptsFunction · 0.85
vfs_donmountFunction · 0.85

Calls 1

freeFunction · 0.70

Tested by

no test coverage detected