Lines Matching defs:share
58 * mount/unmount and share/unshare all datasets within pool:
91 * The share protocols table must be in the same order as the zfs_share_prot_t
661 * wrapper around sa_find_share to find a share path in the
673 * zfs_sa_enable_share(share, proto)
675 * Wrapper for sa_enable_share which enables a share for a specified
679 zfs_sa_enable_share(sa_share_t share, char *proto)
682 return (_sa_enable_share(share, proto));
687 * zfs_sa_disable_share(share, proto)
689 * Wrapper for sa_enable_share which disables a share for a specified
693 zfs_sa_disable_share(sa_share_t share, char *proto)
696 return (_sa_disable_share(share, proto));
712 sa_share_t share;
722 * Return success if there are no share options.
733 dgettext(TEXT_DOMAIN, "cannot share '%s': %s"),
748 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mountpoint);
749 if (share == NULL) {
765 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
770 share = zfs_sa_find_share(hdl->libzfs_sharehdl,
773 if (share != NULL) {
775 err = zfs_sa_enable_share(share,
780 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
787 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
822 sa_share_t share;
840 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mntpt);
843 if (share != NULL) {
844 err = zfs_sa_disable_share(share, proto_table[proto].p_name);
1066 * Mount and share all datasets within the given pool. This assumes that no
1071 * and/or share each one.
1115 * Then share all the ones that need to be shared. This needs