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

Function mount_argb

freebsd/kern/vfs_mount.c:2302–2310  ·  view source on GitHub ↗

* Add a boolean argument. * * flag is the boolean value. * name must start with "no". */

Source from the content-addressed store, hash-verified

2300 * name must start with "no".
2301 */
2302struct mntarg *
2303mount_argb(struct mntarg *ma, int flag, const char *name)
2304{
2305
2306 KASSERT(name[0] == 'n' && name[1] == 'o',
2307 ("mount_argb(...,%s): name must start with 'no'", name));
2308
2309 return (mount_arg(ma, name + (flag ? 2 : 0), NULL, 0));
2310}
2311
2312/*
2313 * Add an argument printf style

Callers 1

sys_mountFunction · 0.85

Calls 1

mount_argFunction · 0.85

Tested by

no test coverage detected