Searched refs:shareopts (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 385 char shareopts[ZFS_MAXPROPLEN]; in get_zfs_property() local 397 return (strdup(shareopts)); in get_zfs_property() 419 char shareopts[ZFS_MAXPROPLEN]; in sa_zfs_is_shared() local 430 shareopts, sizeof (shareopts), NULL, NULL, in sa_zfs_is_shared() 603 shareopts, &doshopt); in zfs_inherited() 621 options = strdup(shareopts); in zfs_inherited() 676 if (strcmp(shareopts, "on") == 0) in zfs_notinherited() 677 shareopts = ""; in zfs_notinherited() 678 if (shareopts != NULL) { in zfs_notinherited() 688 options = strdup(shareopts); in zfs_notinherited() [all …]
|
H A D | libsharecore.c | 1457 char shareopts[MAXNAMLEN]; in parse_sharetab_impl() local 1468 (void) snprintf(shareopts, MAXNAMLEN, "shareopts-%s", in parse_sharetab_impl() 1470 set_node_attr(share, shareopts, tmplist->options); in parse_sharetab_impl()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/ |
H A D | zfs_share_005_pos.ksh | 54 set -A shareopts \ 77 if [[ $option != ${shareopts[i]} ]]; then
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 162 char shareopts[ZFS_MAXPROPLEN]; in changelist_postfix() local 250 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix() 251 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix() 254 shareopts, sizeof (shareopts), NULL, NULL, 0, in changelist_postfix() 255 B_FALSE) == 0) && (strcmp(shareopts, "off") != 0)); in changelist_postfix()
|
H A D | libzfs_mount.c | 842 char shareopts[ZFS_MAXPROPLEN]; in zfs_share_proto() local 872 shareopts, sizeof (shareopts), &sourcetype, sourcestr, in zfs_share_proto() 874 strcmp(shareopts, "off") == 0) in zfs_share_proto()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 6187 char shareopts[ZFS_MAXPROPLEN]; in share_mount_one() local 6230 verify(zfs_prop_get(zhp, ZFS_PROP_SHARENFS, shareopts, in share_mount_one() 6231 sizeof (shareopts), NULL, NULL, 0, B_FALSE) == 0); in share_mount_one() 6235 if (op == OP_SHARE && strcmp(shareopts, "off") == 0 && in share_mount_one() 6343 (shared_nfs && strcmp(shareopts, "on") == 0 && in share_mount_one() 6346 strcmp(shareopts, "off") == 0)) { in share_mount_one()
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | commands.c | 5335 char shareopts[MAXNAMLEN]; in out_share() local 5353 (void) snprintf(shareopts, MAXNAMLEN, "shareopts-%s", proto); in out_share() 5354 soptions = sa_get_share_attr(share, shareopts); in out_share()
|