Home
last modified time | relevance | path

Searched refs:vfs_getopt (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/fs/nfsclient/
H A Dnfs_clvfsops.c616 if (vfs_getopt(mp->mnt_optnew, "ro", NULL, NULL) == 0) { in nfs_decode_args()
805 error = vfs_getopt(opts, "from", (void **)&spec, &speclen); in nfs_mount_parse_from()
966 if (vfs_getopt(mp->mnt_optnew, "nfs_args", NULL, NULL) == 0) { in nfs_mount()
980 if (vfs_getopt(mp->mnt_optnew, "noac", NULL, NULL) == 0) { in nfs_mount()
986 if (vfs_getopt(mp->mnt_optnew, "noconn", NULL, NULL) == 0) in nfs_mount()
988 if (vfs_getopt(mp->mnt_optnew, "conn", NULL, NULL) == 0) in nfs_mount()
990 if (vfs_getopt(mp->mnt_optnew, "nolockd", NULL, NULL) == 0) in nfs_mount()
992 if (vfs_getopt(mp->mnt_optnew, "lockd", NULL, NULL) == 0) in nfs_mount()
994 if (vfs_getopt(mp->mnt_optnew, "intr", NULL, NULL) == 0) in nfs_mount()
996 if (vfs_getopt(mp->mnt_optnew, "rdirplus", NULL, NULL) == 0) in nfs_mount()
[all …]
/freebsd/sys/fs/unionfs/
H A Dunion_vfsops.c120 error = vfs_getopt(mp->mnt_optnew, "target", (void **)&target, &len); in unionfs_domount()
122 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&target, in unionfs_domount()
128 if (vfs_getopt(mp->mnt_optnew, "below", NULL, NULL) == 0) in unionfs_domount()
130 if (vfs_getopt(mp->mnt_optnew, "udir", (void **)&tmp, NULL) == 0) { in unionfs_domount()
139 if (vfs_getopt(mp->mnt_optnew, "ufile", (void **)&tmp, NULL) == 0) { in unionfs_domount()
169 if (vfs_getopt(mp->mnt_optnew, "uid", (void **)&tmp, in unionfs_domount()
178 if (vfs_getopt(mp->mnt_optnew, "gid", (void **)&tmp, in unionfs_domount()
187 if (vfs_getopt(mp->mnt_optnew, "copymode", (void **)&tmp, in unionfs_domount()
203 if (vfs_getopt(mp->mnt_optnew, "whiteout", (void **)&tmp, in unionfs_domount()
/freebsd/sys/fs/autofs/
H A Dautofs_vfsops.c70 if (vfs_getopt(mp->mnt_optnew, "from", (void **)&from, NULL)) in autofs_mount()
73 if (vfs_getopt(mp->mnt_optnew, "fspath", (void **)&fspath, NULL)) in autofs_mount()
76 if (vfs_getopt(mp->mnt_optnew, "master_options", (void **)&options, NULL)) in autofs_mount()
79 if (vfs_getopt(mp->mnt_optnew, "master_prefix", (void **)&prefix, NULL)) in autofs_mount()
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vfsops.c97 if (vfs_getopt(mp->mnt_optnew, "linrdlnk", NULL, NULL) == 0) in fdesc_mount()
99 if (vfs_getopt(mp->mnt_optnew, "rdlnk", NULL, NULL) == 0) in fdesc_mount()
101 if (vfs_getopt(mp->mnt_optnew, "nodup", NULL, NULL) == 0) in fdesc_mount()
/freebsd/sys/fs/nullfs/
H A Dnull_vfsops.c110 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&target, &len); in nullfs_mount()
112 error = vfs_getopt(mp->mnt_optnew, "target", (void **)&target, &len); in nullfs_mount()
208 if (vfs_getopt(mp->mnt_optnew, "cache", NULL, NULL) == 0) { in nullfs_mount()
210 } else if (vfs_getopt(mp->mnt_optnew, "nocache", NULL, NULL) == 0) { in nullfs_mount()
/freebsd/sys/compat/linux/
H A Dlinux_mib.c302 error = vfs_getopt(opts, "linux.osname", (void **)&osname, &len); in linux_prison_check()
313 error = vfs_getopt(opts, "linux.osrelease", (void **)&osrelease, &len); in linux_prison_check()
350 error = vfs_getopt(opts, "linux.osname", (void **)&osname, &len); in linux_prison_set()
355 error = vfs_getopt(opts, "linux.osrelease", (void **)&osrelease, &len); in linux_prison_set()
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c375 tmp->tm_nomtime = vfs_getopt(mp->mnt_optnew, "nomtime", NULL, in tmpfs_mount()
410 nonc = vfs_getopt(mp->mnt_optnew, "nonc", NULL, NULL) == 0; in tmpfs_mount()
411 nomtime = vfs_getopt(mp->mnt_optnew, "nomtime", NULL, NULL) == 0; in tmpfs_mount()
412 pgread = vfs_getopt(mp->mnt_optnew, "pgread", NULL, NULL) == 0; in tmpfs_mount()
/freebsd/sys/fs/udf/
H A Dudf_vfsops.c207 error = vfs_getopt(opts, "from", (void **)&fspec, &len); in udf_mount()
246 error = vfs_getopt(opts, "flags", (void **)&udf_flags, &len); in udf_mount()
253 error = vfs_getopt(opts, "cs_disk", (void **)&cs_disk, &len); in udf_mount()
257 error = vfs_getopt(opts, "cs_local", (void **)&cs_local, &len); in udf_mount()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c135 if (!vfs_getopt(mp->mnt_optnew, "kiconv", NULL, NULL)) { in update_mp()
137 error = vfs_getopt(mp->mnt_optnew, in update_mp()
140 error = vfs_getopt(mp->mnt_optnew, in update_mp()
143 error = vfs_getopt(mp->mnt_optnew, in update_mp()
180 if (vfs_getopt(mp->mnt_optnew, "nowin95", NULL, NULL) == 0) in update_mp()
355 if (vfs_getopt(mp->mnt_optnew, "from", (void **)&from, NULL)) in msdosfs_mount()
/freebsd/share/man/man9/
H A DMakefile363 vfs_getopt.9 \
2389 MLINKS+=vfs_getopt.9 vfs_copyopt.9 \
2390 vfs_getopt.9 vfs_filteropt.9 \
2391 vfs_getopt.9 vfs_flagopt.9 \
2392 vfs_getopt.9 vfs_getopts.9 \
2393 vfs_getopt.9 vfs_scanopt.9 \
2394 vfs_getopt.9 vfs_setopt.9 \
2395 vfs_getopt.9 vfs_setopt_part.9 \
2396 vfs_getopt.9 vfs_setopts.9
/freebsd/sys/kern/
H A Dvfs_mount.c820 if (vfs_getopt(optlist, "errmsg", (void **)&errmsg, &errmsg_len) == 0) in vfs_donmount()
829 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen); in vfs_donmount()
837 error = vfs_getopt(optlist, "fspath", (void **)&fspath, &fspathlen); in vfs_donmount()
1389 if (vfs_getopt(*optlist, "fsid", (void **)&fsid_up, in vfs_domount_update()
1458 if (error == 0 && vfs_getopt(mp->mnt_optnew, "export", &bufp, in vfs_domount_update()
2432 error = vfs_getopt(moptlist, "errmsg", (void **)&errmsg, &len); in vfs_mount_error()
2448 error = vfs_getopt(opts, "errmsg", (void **)&errmsg, &len); in vfs_opterror()
2524 vfs_getopt(struct vfsoptlist *opts, const char *name, void **buf, int *len) in vfs_getopt() function
2567 error = vfs_getopt(opts, name, (void **)&opt_value, &opt_len); in vfs_getopt_size()
H A Dkern_jail.c1180 error = vfs_getopt(opts, "name", (void **)&name, &len); in kern_jail_set()
1196 error = vfs_getopt(opts, "host.hostname", (void **)&host, &len); in kern_jail_set()
1214 error = vfs_getopt(opts, "host.domainname", (void **)&domain, &len); in kern_jail_set()
1232 error = vfs_getopt(opts, "host.hostuuid", (void **)&uuid, &len); in kern_jail_set()
1270 error = vfs_getopt(opts, "ip4.addr", &op, &ip4s); in kern_jail_set()
1298 error = vfs_getopt(opts, "ip6.addr", &op, &ip6s); in kern_jail_set()
1334 error = vfs_getopt(opts, "osrelease", (void **)&osrelstr, &len); in kern_jail_set()
1379 error = vfs_getopt(opts, "path", (void **)&path, &len); in kern_jail_set()
2165 if (vfs_getopt(opts, "errmsg", (void **)&errmsg, in kern_jail_set()
2395 error = vfs_getopt(opts, "name", (void **)&name, &len); in kern_jail_get()
[all …]
/freebsd/sys/fs/devfs/
H A Ddevfs_vfsops.c92 if (vfs_getopt(mp->mnt_optnew, "ruleset", NULL, NULL) == 0 && in devfs_mount()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c115 error = vfs_getopt(opts, opt, (void **)argp, NULL); in vfs_optionisset()
/freebsd/sys/ufs/ffs/
H A Dffs_vfsops.c385 if (vfs_getopt(mp->mnt_optnew, "untrusted", NULL, NULL) == 0) in ffs_mount()
388 if (vfs_getopt(mp->mnt_optnew, "acls", NULL, NULL) == 0) in ffs_mount()
391 if (vfs_getopt(mp->mnt_optnew, "snapshot", NULL, NULL) == 0) { in ffs_mount()
401 if (vfs_getopt(mp->mnt_optnew, "nfsv4acls", NULL, NULL) == 0) { in ffs_mount()
/freebsd/sys/fs/p9fs/
H A Dp9fs_vfsops.c421 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&from, &len); in p9_mount()
H A Dp9_client.c92 error = vfs_getopt(mp->mnt_optnew, "trans", (void **)&trans, &len); in p9_parse_opts()
/freebsd/sys/fs/tarfs/
H A Dtarfs_vfsops.c970 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&from, &len); in tarfs_mount()
973 error = vfs_getopt(mp->mnt_optnew, "as", (void **)&as, &aslen); in tarfs_mount()
/freebsd/sys/fs/fuse/
H A Dfuse_vfsops.c450 vfs_getopt(opts, "fsname=", (void**)&fsname, &fsnamelen); in fuse_vfsop_mount()
/freebsd/sys/sys/
H A Dmount.h1018 int vfs_getopt(struct vfsoptlist *, const char *, void **, int *);
/freebsd/sys/security/mac_do/
H A Dmac_do.c1339 error = vfs_getopt(opts, "mac.do.rules", (void**)&rules_string, &size); in mac_do_jail_check()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c1374 if (vfs_getopt(vfsp->mnt_optnew, "from", (void **)&osname, NULL)) in zfs_mount()