Searched refs:shareopts (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_005_pos.ksh53 set -A shareopts \
66 while (( i < ${#shareopts[*]} ))
68 log_must zfs set sharenfs="${shareopts[i]}" $TESTPOOL/$TESTFS
71 if [[ $option != ${shareopts[i]} ]]; then
72 log_fail "get sharenfs failed. ($option != ${shareopts[i]})"
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c341 char shareopts[ZFS_MAXPROPLEN]; local
348 if (zfs_prop_get(handle, property, shareopts,
349 sizeof (shareopts), NULL, NULL, 0,
353 return (strdup(shareopts));
375 char shareopts[ZFS_MAXPROPLEN]; local
386 shareopts, sizeof (shareopts), NULL, NULL,
388 strcmp(shareopts, "off") != 0) {
544 char *shareopts, char *mountpoint, char *proto, char *dataset)
559 shareopts,
543 zfs_inherited(sa_handle_t handle, sa_share_t share, char *sourcestr, char *shareopts, char *mountpoint, char *proto, char *dataset) argument
617 zfs_notinherited(sa_group_t group, sa_share_t share, char *mountpoint, char *shareopts, char *proto, char *dataset, int grouperr) argument
695 sa_zfs_process_share(sa_handle_t handle, sa_group_t group, sa_share_t share, char *mountpoint, char *proto, zprop_source_t source, char *shareopts, char *sourcestr, char *dataset) argument
1500 char shareopts[ZFS_MAXPROPLEN], cur_val[MAXPATHLEN]; local
[all...]
H A Dlibsharecore.c1454 char shareopts[MAXNAMLEN]; local
1473 (void) snprintf(shareopts, MAXNAMLEN, "shareopts-%s",
1475 set_node_attr(share, shareopts, tmplist->options);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_changelist.c162 char shareopts[ZFS_MAXPROPLEN]; local
225 shareopts, sizeof (shareopts), NULL, NULL, 0,
226 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0));
229 shareopts, sizeof (shareopts), NULL, NULL, 0,
230 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0));
H A Dlibzfs_mount.c770 char shareopts[ZFS_MAXPROPLEN]; local
786 shareopts, sizeof (shareopts), &sourcetype, sourcestr,
788 strcmp(shareopts, "off") == 0)
823 shareopts, sourcestr, zhp->zfs_name) != SA_OK) {
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c5782 char shareopts[ZFS_MAXPROPLEN]; local
5825 verify(zfs_prop_get(zhp, ZFS_PROP_SHARENFS, shareopts,
5826 sizeof (shareopts), NULL, NULL, 0, B_FALSE) == 0);
5830 if (op == OP_SHARE && strcmp(shareopts, "off") == 0 &&
5845 * shareopts is non-legacy but the mountpoint is legacy, we
5910 * shareopts are appropriate for auto management. If the
5922 (shared_nfs && strcmp(shareopts, "on") == 0 &&
5925 strcmp(shareopts, "off") == 0)) {
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c5329 char shareopts[MAXNAMLEN]; local
5347 (void) snprintf(shareopts, MAXNAMLEN, "shareopts-%s", proto);
5348 soptions = sa_get_share_attr(share, shareopts);

Completed in 115 milliseconds