Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c341 char shareopts[ZFS_MAXPROPLEN]; in get_zfs_property() local
348 if (zfs_prop_get(handle, property, shareopts, in get_zfs_property()
349 sizeof (shareopts), NULL, NULL, 0, in get_zfs_property()
353 return (strdup(shareopts)); in get_zfs_property()
375 char shareopts[ZFS_MAXPROPLEN]; in sa_zfs_is_shared() local
386 shareopts, sizeof (shareopts), NULL, NULL, in sa_zfs_is_shared()
388 strcmp(shareopts, "off") != 0) { in sa_zfs_is_shared()
544 char *shareopts, char *mountpoint, char *proto, char *dataset) in zfs_inherited() argument
559 shareopts, &doshopt); in zfs_inherited()
577 options = strdup(shareopts); in zfs_inherited()
[all …]
H A Dlibsharecore.c1453 char shareopts[MAXNAMLEN]; in parse_sharetab() local
1472 (void) snprintf(shareopts, MAXNAMLEN, "shareopts-%s", in parse_sharetab()
1474 set_node_attr(share, shareopts, tmplist->options); in parse_sharetab()
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_005_pos.ksh49 set -A shareopts \
67 if [[ $option != ${shareopts[i]} ]]; then
/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_changelist.c158 char shareopts[ZFS_MAXPROPLEN]; in changelist_postfix() local
221 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix()
222 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix()
225 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix()
226 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix()
H A Dlibzfs_mount.c709 char shareopts[ZFS_MAXPROPLEN]; in zfs_share_proto() local
725 shareopts, sizeof (shareopts), &sourcetype, sourcestr, in zfs_share_proto()
727 strcmp(shareopts, "off") == 0) in zfs_share_proto()
762 shareopts, sourcestr, zhp->zfs_name) != SA_OK) { in zfs_share_proto()
/titanic_50/usr/src/cmd/zfs/
H A Dzfs_main.c5780 char shareopts[ZFS_MAXPROPLEN]; in share_mount_one() local
5823 verify(zfs_prop_get(zhp, ZFS_PROP_SHARENFS, shareopts, in share_mount_one()
5824 sizeof (shareopts), NULL, NULL, 0, B_FALSE) == 0); in share_mount_one()
5828 if (op == OP_SHARE && strcmp(shareopts, "off") == 0 && in share_mount_one()
5920 (shared_nfs && strcmp(shareopts, "on") == 0 && in share_mount_one()
5923 strcmp(shareopts, "off") == 0)) { in share_mount_one()
/titanic_50/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c5329 char shareopts[MAXNAMLEN]; in out_share() local
5347 (void) snprintf(shareopts, MAXNAMLEN, "shareopts-%s", proto); in out_share()
5348 soptions = sa_get_share_attr(share, shareopts); in out_share()