/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_shadow.c | 74 const char **protocol, const char **mntopts, char **path) 82 *mntopts = "ro"; 178 *mntopts = "ro,retry=0"; 210 const char *mntopts; local 216 if (zfs_shadow_parse(hdl, shadow, &protocol, &mntopts, &path) != 0) 232 const char *mnttype, *mntopts; local 323 if (zfs_shadow_parse(hdl, shadow, &mnttype, &mntopts, &arg) != 0) 331 argv[5] = (char *)mntopts; 73 zfs_shadow_parse(libzfs_handle_t *hdl, const char *shadow, const char **protocol, const char **mntopts, char **path) argument
|
H A D | libzfs_mount.c | 262 char mntopts[MNT_LINE_MAX]; local 272 mntopts[0] = '\0'; 274 (void) strlcpy(mntopts, options, sizeof (mntopts)); 286 tmpopts = zfs_strdup(zhp->zfs_hdl, mntopts); 468 strstr(mntopts, MNTOPT_REMOUNT) == NULL && 481 if (zfs_shadow_mount(zhp, mntopts, &is_shadow) != 0) 486 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) { 535 * complete representation of all known fs's. Note that the mntopts 1069 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) argument [all...] |
H A D | libzfs_util.c | 974 char *dataset, size_t dslen, char *mntopts, size_t optlen) 987 if (mntopts != NULL) 988 (void) strlcpy(mntopts, mte->mnt_mntopts, optlen); 998 size_t mplen, char *dataset, size_t dslen, char *mntopts, size_t optlen) 1013 dslen, mntopts, optlen); 1044 dslen, mntopts, optlen); 973 get_mnttab_info(struct mnttab *mte, char *mntpnt, size_t mplen, char *dataset, size_t dslen, char *mntopts, size_t optlen) argument 997 zfs_path_to_mntpnt(libzfs_handle_t *hdl, const char *path, char *mntpnt, size_t mplen, char *dataset, size_t dslen, char *mntopts, size_t optlen) argument
|
H A D | libzfs_dataset.c | 791 const char *mountp, const char *mntopts) 801 if (mntopts != NULL) 802 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, mntopts); 790 libzfs_mnttab_add(libzfs_handle_t *hdl, const char *special, const char *mountp, const char *mntopts) argument
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare_fs.c | 432 char *mntopts, size_t opt_len) 446 dataset, ds_len, mntopts, opt_len); 430 safs_get_mntpnt_for_path(libshare_handle_t *shdl, const char *sh_path, char *mntpnt, size_t mp_len, sa_fs_t *fstypep, char *dataset, size_t ds_len, char *mntopts, size_t opt_len) argument
|
H A D | libshare_util.c | 769 sa_get_sharing_zone(char *mntopts) argument 777 if ((opts = strdup(mntopts)) == NULL) 805 sa_mntpnt_in_current_zone(libshare_handle_t *shdl, char *mntpnt, char *mntopts) argument 810 if (mntpnt == NULL || mntopts == NULL) 813 shr_zone = sa_get_sharing_zone(mntopts);
|
H A D | libshare.c | 2815 char *mntopts, size_t opt_len) 2824 dataset, ds_len, mntopts, opt_len); 2989 char mntopts[MNT_LINE_MAX]; local 3001 sizeof (mntpnt), NULL, NULL, 0, mntopts, sizeof (mntopts)); 3007 inzone = sa_mntpnt_in_current_zone(shdl, mntpnt, mntopts); 2813 sa_get_mntpnt_for_path(libshare_handle_t *shdl, const char *sh_path, char *mntpnt, size_t mp_len, sa_fs_t *fstypep, char *dataset, size_t ds_len, char *mntopts, size_t opt_len) argument
|
/osnet-11/usr/src/lib/libfsmgt/common/ |
H A D | libfsmgt.h | 59 char *mntopts; member in struct:mount_default_list 70 char *mntopts; member in struct:mount_list 506 * char *mntopts - The mount options 517 char *mountp, char *fstype, char *mntopts, 1008 * char *mntopts - The mount options 1019 char *mntopts, char *time, boolean_t find_overlays, 1031 * char *mntopts - The mount options
|
H A D | nfs_mntinfo.c | 56 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 D | fs_mounts.c | 53 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...] |
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 263 char mntopts[MAXPATHLEN]; local 271 (void) strncpy(mntopts, mnt->mnt_mntopts, MAXPATHLEN); 272 if ((token = strtok_r(mntopts, ",", &lasts)) != NULL) {
|
/osnet-11/usr/src/lib/libshare_plugins/legacy/ |
H A D | libshare_legacy.c | 703 char *mntpnt, size_t mp_len, char *volname, size_t vn_len, char *mntopts, 734 if (mntopts != 0) 735 (void) strlcpy(mntopts, result.mnt_mntopts, opt_len); 760 mntpnt, mp_len, mntopts, opt_len); 763 mntpnt, mp_len, mntopts, opt_len); 855 size_t mp_len, char *mntopts, size_t opt_len) 923 if (mntopts != NULL) { 924 (void) strlcpy(mntopts, mount->lm_mntopts, 702 sa_legacy_get_mntpnt_for_path(libshare_handle_t *shdl, const char *sh_path, char *mntpnt, size_t mp_len, char *volname, size_t vn_len, char *mntopts, size_t opt_len) argument 854 sa_legacy_check_mounts(legacy_handle_t *legacy_hdl, char *path, char *mntpnt, size_t mp_len, char *mntopts, size_t opt_len) argument
|