/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clvfsops.c | 614 if (vfs_getopt(mp->mnt_optnew, "ro", NULL, NULL) == 0) { in nfs_decode_args() 803 error = vfs_getopt(opts, "from", (void **)&spec, &speclen); in nfs_mount_parse_from() 964 if (vfs_getopt(mp->mnt_optnew, "nfs_args", NULL, NULL) == 0) { in nfs_mount() 978 if (vfs_getopt(mp->mnt_optnew, "noac", NULL, NULL) == 0) { in nfs_mount() 984 if (vfs_getopt(mp->mnt_optnew, "noconn", NULL, NULL) == 0) in nfs_mount() 986 if (vfs_getopt(mp->mnt_optnew, "conn", NULL, NULL) == 0) in nfs_mount() 988 if (vfs_getopt(mp->mnt_optnew, "nolockd", NULL, NULL) == 0) in nfs_mount() 990 if (vfs_getopt(mp->mnt_optnew, "lockd", NULL, NULL) == 0) in nfs_mount() 992 if (vfs_getopt(mp->mnt_optnew, "intr", NULL, NULL) == 0) in nfs_mount() 994 if (vfs_getopt(mp->mnt_optnew, "rdirplus", NULL, NULL) == 0) in nfs_mount() [all …]
|
/freebsd/sys/fs/unionfs/ |
H A D | union_vfsops.c | 120 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 D | autofs_vfsops.c | 70 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 D | fdesc_vfsops.c | 97 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 D | null_vfsops.c | 110 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 D | linux_mib.c | 302 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 D | tmpfs_vfsops.c | 375 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 D | udf_vfsops.c | 206 error = vfs_getopt(opts, "from", (void **)&fspec, &len); in udf_mount() 245 error = vfs_getopt(opts, "flags", (void **)&udf_flags, &len); in udf_mount() 252 error = vfs_getopt(opts, "cs_disk", (void **)&cs_disk, &len); in udf_mount() 256 error = vfs_getopt(opts, "cs_local", (void **)&cs_local, &len); in udf_mount()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 135 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/sys/kern/ |
H A D | vfs_mount.c | 818 if (vfs_getopt(optlist, "errmsg", (void **)&errmsg, &errmsg_len) == 0) in vfs_donmount() 827 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen); in vfs_donmount() 835 error = vfs_getopt(optlist, "fspath", (void **)&fspath, &fspathlen); in vfs_donmount() 1385 if (vfs_getopt(*optlist, "fsid", (void **)&fsid_up, in vfs_domount_update() 1454 if (error == 0 && vfs_getopt(mp->mnt_optnew, "export", &bufp, in vfs_domount_update() 2428 error = vfs_getopt(moptlist, "errmsg", (void **)&errmsg, &len); in vfs_mount_error() 2444 error = vfs_getopt(opts, "errmsg", (void **)&errmsg, &len); in vfs_opterror() 2520 vfs_getopt(struct vfsoptlist *opts, const char *name, void **buf, int *len) in vfs_getopt() function 2563 error = vfs_getopt(opts, name, (void **)&opt_value, &opt_len); in vfs_getopt_size()
|
H A D | kern_jail.c | 1173 error = vfs_getopt(opts, "name", (void **)&name, &len); in kern_jail_set() 1189 error = vfs_getopt(opts, "host.hostname", (void **)&host, &len); in kern_jail_set() 1207 error = vfs_getopt(opts, "host.domainname", (void **)&domain, &len); in kern_jail_set() 1225 error = vfs_getopt(opts, "host.hostuuid", (void **)&uuid, &len); in kern_jail_set() 1263 error = vfs_getopt(opts, "ip4.addr", &op, &ip4s); in kern_jail_set() 1291 error = vfs_getopt(opts, "ip6.addr", &op, &ip6s); in kern_jail_set() 1327 error = vfs_getopt(opts, "osrelease", (void **)&osrelstr, &len); in kern_jail_set() 1372 error = vfs_getopt(opts, "path", (void **)&path, &len); in kern_jail_set() 2158 if (vfs_getopt(opts, "errmsg", (void **)&errmsg, in kern_jail_set() 2388 error = vfs_getopt(opts, "name", (void **)&name, &len); in kern_jail_get() [all …]
|
/freebsd/share/man/man9/ |
H A D | Makefile | 360 vfs_getopt.9 \ 2381 MLINKS+=vfs_getopt.9 vfs_copyopt.9 \ 2382 vfs_getopt.9 vfs_filteropt.9 \ 2383 vfs_getopt.9 vfs_flagopt.9 \ 2384 vfs_getopt.9 vfs_getopts.9 \ 2385 vfs_getopt.9 vfs_scanopt.9 \ 2386 vfs_getopt.9 vfs_setopt.9 \ 2387 vfs_getopt.9 vfs_setopt_part.9 \ 2388 vfs_getopt.9 vfs_setopts.9
|
/freebsd/sys/fs/devfs/ |
H A D | devfs_vfsops.c | 92 if (vfs_getopt(mp->mnt_optnew, "ruleset", NULL, NULL) == 0 && in devfs_mount()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_vfs.c | 114 error = vfs_getopt(opts, opt, (void **)argp, NULL); in vfs_optionisset()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 385 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 D | p9fs_vfsops.c | 419 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&from, &len); in p9_mount()
|
H A D | p9_client.c | 92 error = vfs_getopt(mp->mnt_optnew, "trans", (void **)&trans, &len); in p9_parse_opts()
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_vfsops.c | 970 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 D | fuse_vfsops.c | 441 vfs_getopt(opts, "fsname=", (void**)&fsname, &fsnamelen); in fuse_vfsop_mount()
|
/freebsd/sys/sys/ |
H A D | mount.h | 1010 int vfs_getopt(struct vfsoptlist *, const char *, void **, int *);
|
/freebsd/sys/security/mac_do/ |
H A D | mac_do.c | 1338 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 D | zfs_vfsops.c | 1322 if (vfs_getopt(vfsp->mnt_optnew, "from", (void **)&osname, NULL)) in zfs_mount()
|