Home
last modified time | relevance | path

Searched refs:mntopts (Results 1 – 17 of 17) sorted by relevance

/freebsd-14-stable/sbin/mount/
HDMakefile6 MAN= mntopts.3 mount.8
7 MLINKS+= mntopts.3 getmntopts.3
8 MLINKS+= mntopts.3 getmntpoint.3
9 MLINKS+= mntopts.3 chkdoreload.3
10 MLINKS+= mntopts.3 build_iovec.3
11 MLINKS+= mntopts.3 build_iovec_argf.3
12 MLINKS+= mntopts.3 free_iovec.3
13 MLINKS+= mntopts.3 checkpath.3
14 MLINKS+= mntopts.3 rmslashes.3
HDmount.c513 hasopt(const char *mntopts, const char *option) in hasopt() argument
523 optbuf = strdup(mntopts); in hasopt()
550 const char *options, const char *mntopts) in mountfs() argument
571 if (mntopts == NULL) in mountfs()
572 mntopts = ""; in mountfs()
573 optbuf = catopt(strdup(mntopts), options); in mountfs()
/freebsd-14-stable/sys/contrib/openzfs/lib/libzfs/os/linux/
HDlibzfs_mount_os.c190 zfs_parse_mount_options(const char *mntopts, unsigned long *mntflags, in zfs_parse_mount_options() argument
196 opts = strdup(mntopts); in zfs_parse_mount_options()
252 append_mntopt(const char *name, const char *val, char *mntopts, in append_mntopt() argument
259 if (mntopts) in append_mntopt()
260 strlcat(mntopts, tmp, MNT_LINE_MAX); in append_mntopt()
268 char *mntopts, char *mtabopt) in zfs_selinux_setcontext() argument
275 append_mntopt(name, context, mntopts, mtabopt, B_TRUE); in zfs_selinux_setcontext()
281 char *mntopts, char *mtabopt) in zfs_adjust_mount_options() argument
297 MNTOPT_FSCONTEXT, mntopts, mtabopt); in zfs_adjust_mount_options()
299 MNTOPT_DEFCONTEXT, mntopts, mtabopt); in zfs_adjust_mount_options()
[all …]
/freebsd-14-stable/sys/contrib/openzfs/cmd/
HDmount_zfs.c112 const char *mntopts) in mtab_update() argument
121 mnt.mnt_opts = (char *)(mntopts ?: ""); in mtab_update()
154 char mntopts[MNT_LINE_MAX] = { '\0' }; in main() local
185 (void) strlcpy(mntopts, optarg, sizeof (mntopts)); in main()
226 error = zfs_parse_mount_options(mntopts, &mntflags, &zfsflags, sloppy, in main()
274 zfs_adjust_mount_options(zhp, mntpoint, mntopts, mtabopt); in main()
337 dataset, mntpoint, mntflags, zfsflags, mntopts, mtabopt); in main()
342 error = zfs_mount_at(zhp, mntopts, mntflags, mntpoint); in main()
352 mntflags, mntopts); in main()
/freebsd-14-stable/sys/fs/fuse/
HDfuse_vfsops.c207 vfs_flagopt(opts, #fnam, &mntopts, fval); \
211 SDT_PROBE_DEFINE1(fusefs, , vfsops, mntopts, "uint64_t");
216 fuse_vfs_remount(struct mount *mp, struct thread *td, uint64_t mntopts, in fuse_vfs_remount() argument
234 if (((data->dataflags ^ mntopts) & FSESS_MNTOPTS_MASK) || in fuse_vfs_remount()
255 if (mntopts & FSESS_DAEMON_CAN_SPY) in fuse_vfs_remount()
299 uint64_t mntopts, __mntopts; in fuse_vfsop_mount() local
317 mntopts = 0; in fuse_vfsop_mount()
352 SDT_PROBE1(fusefs, , vfsops, mntopts, mntopts); in fuse_vfsop_mount()
355 return fuse_vfs_remount(mp, td, mntopts, max_read, in fuse_vfsop_mount()
402 if (mntopts & FSESS_DAEMON_CAN_SPY) in fuse_vfsop_mount()
[all …]
/freebsd-14-stable/sys/contrib/openzfs/lib/libzfs/
HDlibzfs_mount.c363 char mntopts[MNT_LINE_MAX]; in zfs_mount_at() local
373 (void) strlcpy(mntopts, MNTOPT_DEFAULTS, sizeof (mntopts)); in zfs_mount_at()
375 (void) strlcpy(mntopts, options, sizeof (mntopts)); in zfs_mount_at()
378 if (strstr(mntopts, MNTOPT_REMOUNT) != NULL) in zfs_mount_at()
389 (void) strlcat(mntopts, "," MNTOPT_RO, sizeof (mntopts)); in zfs_mount_at()
398 rc = zfs_add_options(zhp, mntopts, sizeof (mntopts)); in zfs_mount_at()
463 strlcat(mntopts, "," MNTOPT_ZFSUTIL, sizeof (mntopts)); in zfs_mount_at()
504 rc = do_mount(zhp, mountpoint, mntopts, flags); in zfs_mount_at()
540 libzfs_mnttab_add(hdl, zfs_get_name(zhp), mountpoint, mntopts); in zfs_mount_at()
1276 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) in zpool_enable_datasets() argument
[all …]
HDlibzfs_dataset.c940 const char *mountp, const char *mntopts) in libzfs_mnttab_add() argument
950 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, mntopts); in libzfs_mnttab_add()
HDlibzfs.abi4466 <parameter type-id='80f4b756' name='mntopts'/>
5594 <parameter type-id='80f4b756' name='mntopts'/>
8017 <parameter type-id='80f4b756' name='mntopts'/>
8028 <parameter type-id='26a90f95' name='mntopts'/>
/freebsd-14-stable/sys/contrib/openzfs/lib/libspl/os/freebsd/
HDmnttab.c84 optadd(char *mntopts, size_t size, const char *opt) in optadd() argument
87 if (mntopts[0] != '\0') in optadd()
88 strlcat(mntopts, ",", size); in optadd()
89 strlcat(mntopts, opt, size); in optadd()
/freebsd-14-stable/contrib/netbsd-tests/fs/ffs/
HDh_quota2_tests.c388 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()
/freebsd-14-stable/tests/sys/fs/fusefs/
HDMakefile60 SRCS.$p+= mntopts.h
95 .for f in getmntopts.c mntopts.h
/freebsd-14-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/
HDvfs.h94 typedef struct mntopts { struct
/freebsd-14-stable/sys/cddl/compat/opensolaris/sys/
HDvfs.h91 typedef struct mntopts { struct
/freebsd-14-stable/sys/contrib/openzfs/include/
HDlibzfs.h929 _LIBZFS_H int zfs_parse_mount_options(const char *mntopts,
933 char *mntopts, char *mtabopt);
/freebsd-14-stable/sys/contrib/openzfs/module/os/linux/zfs/
HDzfs_vfsops.c215 zfsvfs_parse_options(char *mntopts, vfs_t **vfsp) in zfsvfs_parse_options() argument
223 if (mntopts != NULL) { in zfsvfs_parse_options()
228 tmp_mntopts = t = kmem_strdup(mntopts); in zfsvfs_parse_options()
/freebsd-14-stable/sys/contrib/openzfs/cmd/zpool/
HDzpool_main.c3342 do_import(nvlist_t *config, const char *newname, const char *mntopts, in do_import() argument
3443 ms_status = zpool_enable_datasets(zhp, mntopts, 0); in do_import()
3458 import_pools(nvlist_t *pools, nvlist_t *props, char *mntopts, int flags, in import_pools() argument
3497 err |= do_import(config, NULL, mntopts, in import_pools()
3558 mntopts, props, flags); in import_pools()
3762 char *mntopts = NULL; in zpool_do_import() local
3830 mntopts = optarg; in zpool_do_import()
4048 err = import_pools(pools, props, mntopts, flags, in zpool_do_import()
4071 err = import_pools(pools, props, mntopts, flags, in zpool_do_import()
6954 char *mntopts = NULL; in zpool_do_split() local
[all …]
/freebsd-14-stable/sys/contrib/openzfs/cmd/zfs/
HDzfs_main.c7138 append_options(char *mntopts, char *newopts) in append_options() argument
7140 int len = strlen(mntopts); in append_options()
7150 if (*mntopts) in append_options()
7151 mntopts[len++] = ','; in append_options()
7153 (void) strcpy(&mntopts[len], newopts); in append_options()