Searched defs:mntopts (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dlibfsmgt.h63 char *mntopts; member in struct:mount_default_list
74 char *mntopts; member in struct:mount_list
510 * char *mntopts - The mount options
521 char *mountp, char *fstype, char *mntopts,
1012 * char *mntopts - The mount options
1023 char *mntopts, char *time, boolean_t find_overlays,
1035 * char *mntopts - The mount options
H A Dnfs_mntinfo.c56 static char *mntopts[] = { MNTOPT_IGNORE, MNTOPT_DEV, NULL }; variable
99 nfs_get_filtered_mount_list(char *resource, char *mountp, char *mntopts, argument
106 MNTTYPE_NFS, mntopts, time, find_overlays, errp);
289 (ignore(fsmnt_list->mntopts))) {
422 if ((mrp->nml_mntopts = strdup(fsmnt_list->mntopts)) == NULL) {
478 if (getsubopt(&s, mntopts, &value) == IGNORE) {
H A Dfs_mounts.c53 char *fstype, char *mntopts, char *time);
75 free(headp->mntopts);
160 char *mntopts, char *time, boolean_t find_overlays, int *errp) {
176 mntopts, time);
570 newp->mntopts = strdup(mnttab_entry.mnt_mntopts);
571 if (newp->mntopts == NULL) {
630 newp->mntopts = strdup(mnttab_entry.mnt_mntopts);
631 if (newp->mntopts == NULL) {
656 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, argument
704 if (mntopts !
159 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, char *mntopts, char *time, boolean_t find_overlays, int *errp) argument
[all...]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c561 char mntopts[MNT_LINE_MAX] = ""; local
570 (void) strlcpy(mntopts, MNTOPT_LARGEFILES, sizeof (mntopts));
586 fstyp, data, dtsz, mntopts, sizeof (mntopts))) != 0) {
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c266 char mntopts[MAXPATHLEN]; local
274 (void) strncpy(mntopts, mnt->mnt_mntopts, MAXPATHLEN);
275 if ((token = strtok_r(mntopts, ",", &lasts)) != NULL) {
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vfsops.c73 static mntopt_t mntopts[] = { variable
89 sizeof (mntopts) / sizeof (mntopt_t),
90 mntopts
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c96 char mntopts[MAX_MNTOPT_STR]; local
306 (void) sprintf(mntopts, "ignore,%s",
309 (void) strcat(mntopts, ",");
310 (void) strcat(mntopts, dir->dir_opts);
314 MNTTYPE_AUTOFS, &ai, sizeof (ai), mntopts,
378 compare_opts(opts, mntopts)
379 char *opts, *mntopts;
393 if (mntopts != NULL)
394 (void) strcpy(s, mntopts);
H A Dns_fnmount.c191 new_mapent(char *root, char *mntpnt, char *fstype, char *mntopts, char *host,
757 new_mapent(char *root, char *mntpnt, char *fstype, char *mntopts, char *host, argument
769 if ((mntpnt == NULL) || (fstype == NULL) || (mntopts == NULL) ||
779 free(mntopts);
788 me->map_mntopts = mntopts;
H A Dautod_nfs.c646 char *mntopts = NULL; local
2385 mntopts = malloc(strlen(mopts) + 1);
2386 strcpy(mntopts, mopts);
2387 mntopts[strlen(mopts)] = '\0';
2388 alp->action.action_list_entry_u.mounta.optptr = mntopts;
2390 strlen(mntopts) + 1;
3473 loopbackmount(fsname, dir, mntopts, overlay)
3476 char *mntopts;
3497 mnt.mnt_mntopts = mntopts;
3501 (void) strlcpy(optbuf, mntopts, sizeo
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c704 char *mntopts[] = { MNTOPT_QUOTA, NULL }; variable
719 if (getsubopt(&opts, mntopts, &value) == QUOTA)
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c155 static mntopt_t mntopts[] = { variable
176 sizeof (mntopts) / sizeof (mntopt_t),
177 mntopts
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c95 static mntopt_t mntopts[] = { variable
109 sizeof (mntopts) / sizeof (mntopt_t),
110 mntopts
506 * handled in vfs.c:domount() - see mntopts stuff.
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c530 static mntopt_t mntopts[] = { variable
541 sizeof (mntopts) / sizeof (mntopt_t),
542 mntopts
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c187 mntopt_t *mntopts; local
249 mntopts = mdb_alloc(size, UM_SLEEP | UM_GC);
251 if (mdb_vread(mntopts, size,
253 mdb_warn("failed to read mntopts %p", vfs.vfs_mntopts.mo_list);
258 if (mntopts[i].mo_flags & MO_SET) {
260 (uintptr_t)mntopts[i].mo_name) == -1) {
262 mntopts[i].mo_name);
272 if (mntopts[i].mo_flags & MO_HASVALUE) {
274 (uintptr_t)mntopts[i].mo_arg) == -1) {
276 "value %p", mntopts[
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c143 static mntopt_t mntopts[] = { variable
189 sizeof (mntopts) / sizeof (mntopt_t),
190 mntopts
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c665 char mntopts[MNT_LINE_MAX] = MNTOPT_LARGEFILES; local
671 mntopts, sizeof (mntopts)) != 0) {
685 char mntopts[MNT_LINE_MAX] = { '\0' }; local
701 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c332 char mntopts[MNT_LINE_MAX]; local
336 mntopts[0] = '\0';
338 (void) strlcpy(mntopts, options, sizeof (mntopts));
367 strstr(mntopts, MNTOPT_REMOUNT) == NULL &&
377 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) {
411 mntopts);
1135 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) argument
1168 if (zfs_mount(cb.cb_handles[i], mntopts, flag
[all...]
H A Dlibzfs_dataset.c871 const char *mountp, const char *mntopts)
881 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, mntopts);
870 libzfs_mnttab_add(libzfs_handle_t *hdl, const char *special, const char *mountp, const char *mntopts) argument
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c3255 char *mntopts; local
3259 mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP);
3271 if (nfs4_trigger_add_mntopt(mntopts, mop->mo_name, vfsp)) {
3272 kmem_free(mntopts, MAX_MNTOPT_STR);
3290 if (nfs4_trigger_add_mntopt(mntopts, MNTOPT_XATTR, vfsp) ||
3291 nfs4_trigger_add_mntopt(mntopts, MNTOPT_NOXATTR, vfsp)) {
3292 kmem_free(mntopts, MAX_MNTOPT_STR);
3296 return (mntopts);
3300 nfs4_trigger_destroy_mntopts(char *mntopts) argument
3302 if (mntopts)
3310 nfs4_trigger_add_mntopt(char *mntopts, char *optname, vfs_t *vfsp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c109 static mntopt_t mntopts[] = { variable
126 sizeof (mntopts) / sizeof (mntopt_t),
127 mntopts
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c573 elide_dev(char *mntopts) argument
577 if (mntopts != NULL) {
578 dev = strstr(mntopts, "dev=");
583 if (dev != mntopts) {
649 flags(char *mntopts, int flag) argument
658 if (mntopts == NULL || *mntopts == '\0')
662 while (*mntopts != '\0') {
663 switch (getsubopt(&mntopts, myopts, &value)) {
861 char *mntopts[] variable
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c1265 static char *mntopts[] = { MNTOPT_IGNORE, MNTOPT_DEV, NULL }; variable
1286 if (getsubopt(&opts, mntopts, &value) == IGNORE) {
/illumos-gate/usr/src/uts/common/sys/
H A Dvfs.h147 typedef struct mntopts { struct
188 * The mntopts field may only be accessed through the provided convenience
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c120 static mntopt_t mntopts[] = { variable
128 sizeof (mntopts) / sizeof (mntopt_t),
129 mntopts
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c225 "\timport [-o mntopts] [-o property=value] ... \n"
228 "\timport [-o mntopts] [-o property=value] ... \n"
266 return (gettext("\tsplit [-n] [-R altroot] [-o mntopts]\n"
1830 do_import(nvlist_t *config, const char *newname, const char *mntopts, argument
1895 zpool_enable_datasets(zhp, mntopts, 0) != 0) {
1906 * import [-o mntopts] [-o prop=value] ... [-R root] [-D]
1908 * import [-o mntopts] [-o prop=value] ... [-R root] [-D]
1958 char *mntopts = NULL; local
2026 mntopts = optarg;
2226 err |= do_import(config, NULL, mntopts,
3376 char *mntopts = NULL; local
[all...]

Completed in 153 milliseconds

12