| /netbsd-src/external/cddl/osnet/lib/libzfs/ |
| H A D | mnttab.c | 90 optadd(char *mntopts, size_t size, const char *opt) in optadd() argument 93 if (mntopts[0] != '\0') in optadd() 94 strlcat(mntopts, ",", size); in optadd() 95 strlcat(mntopts, opt, size); in optadd() 101 static char mntopts[MNTMAXSTR]; in statvfs2mnttab() local 104 mntopts[0] = '\0'; in statvfs2mnttab() 107 #define OPTADD(opt) optadd(mntopts, sizeof(mntopts), (opt)) in statvfs2mnttab() 131 mp->mnt_mntopts = mntopts; in statvfs2mnttab()
|
| /netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/ |
| H A D | libzfs_mount.c | 275 char mntopts[MNT_LINE_MAX]; in zfs_mount() local 279 mntopts[0] = '\0'; in zfs_mount() 281 (void) strlcpy(mntopts, options, sizeof (mntopts)); in zfs_mount() 311 strstr(mntopts, MNTOPT_REMOUNT) == NULL && in zfs_mount() 322 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) { in zfs_mount() 356 mntopts); in zfs_mount() 1135 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) in zpool_enable_datasets() argument 1168 if (zfs_mount(cb.cb_handles[i], mntopts, flags) != 0) in zpool_enable_datasets()
|
| H A D | libzfs_dataset.c | 793 const char *mountp, const char *mntopts) in libzfs_mnttab_add() argument 803 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, mntopts); in libzfs_mnttab_add()
|
| /netbsd-src/tests/fs/ffs/ |
| H A D | h_quota2_tests.c | 388 int mntopts = 0; in main() local 397 mntopts |= MNT_LOG; in main() 400 mntopts |= MNT_RDONLY; in main() 440 if (rump_sys_mount(MOUNT_FFS, FSTEST_MNTNAME, mntopts, in main()
|
| /netbsd-src/sbin/mount/ |
| H A D | mount.c | 331 hasopt(const char *mntopts, const char *option) in hasopt() argument 341 optbuf = estrdup(mntopts); in hasopt() 356 int flags, const char *options, const char *mntopts, in mountfs() argument 385 if (mntopts) in mountfs() 386 catopt(&optbuf, mntopts); in mountfs() 394 if (!mntopts && !options) in mountfs()
|
| /netbsd-src/external/bsd/am-utils/dist/hlfsd/ |
| H A D | hlfsd.c | 137 char *mntopts = (char *) NULL; in main() local 229 mntopts = optarg; in main() 476 if (mntopts) { in main() 477 mnt.mnt_opts = mntopts; in main()
|
| /netbsd-src/external/cddl/osnet/sys/sys/ |
| H A D | vfs.h | 95 typedef struct mntopts { struct
|
| /netbsd-src/external/bsd/am-utils/dist/conf/autofs/ |
| H A D | autofs_solaris_v2_v3.c | 240 if (!xdr_string(xdrs, &objp->mntopts, AUTOFS_MAXOPTSLEN)) in xdr_umntrequest() 300 if (!xdr_string(xdrs, &objp->mntopts, AUTOFS_MAXOPTSLEN)) in xdr_postmountreq() 708 ul->mntopts, in autofs_unmount_2_req() 784 req->mountp, (u_long) req->devid, req->special, req->mntopts); in autofs_postmount_2_req()
|
| /netbsd-src/include/ |
| H A D | Makefile | 17 memory.h mntopts.h monetary.h mpool.h mqueue.h \
|
| /netbsd-src/external/cddl/osnet/dist/cmd/zpool/ |
| H A D | zpool_main.c | 1855 do_import(nvlist_t *config, const char *newname, const char *mntopts, in do_import() argument 1920 zpool_enable_datasets(zhp, mntopts, 0) != 0) { in do_import() 1983 char *mntopts = NULL; in zpool_do_import() local 2051 mntopts = optarg; in zpool_do_import() 2251 err |= do_import(config, NULL, mntopts, in zpool_do_import() 2301 argv[1], mntopts, props, flags); in zpool_do_import() 3401 char *mntopts = NULL; in zpool_do_split() local 3435 mntopts = optarg; in zpool_do_split() 3451 if (!flags.import && mntopts != NULL) { in zpool_do_split() 3502 zpool_enable_datasets(zhp, mntopts, 0) != 0) { in zpool_do_split()
|
| /netbsd-src/external/cddl/osnet/dist/cmd/zfs/ |
| H A D | zfs_main.c | 6081 append_options(char *mntopts, char *newopts) in append_options() argument 6083 int len = strlen(mntopts); in append_options() 6093 if (*mntopts) in append_options() 6094 mntopts[len++] = ','; in append_options() 6096 (void) strcpy(&mntopts[len], newopts); in append_options() 6782 char mntopts[MNT_LINE_MAX] = { '\0' }; in manual_mount() local 6792 (void) strlcpy(mntopts, optarg, sizeof (mntopts)); in manual_mount() 6845 NULL, 0, mntopts, sizeof (mntopts)) != 0) { in manual_mount()
|