Lines Matching defs:share
60 * mount/unmount and share/unshare all datasets within pool:
92 * The share protocols table must be in the same order as the zfs_share_proto_t
685 * wrapper around sa_find_share to find a share path in the
697 * zfs_sa_enable_share(share, proto)
699 * Wrapper for sa_enable_share which enables a share for a specified
703 zfs_sa_enable_share(sa_share_t share, char *proto)
706 return (_sa_enable_share(share, proto));
711 * zfs_sa_disable_share(share, proto)
713 * Wrapper for sa_enable_share which disables a share for a specified
717 zfs_sa_disable_share(sa_share_t share, char *proto)
720 return (_sa_disable_share(share, proto));
746 * Return success if there are no share options.
758 dgettext(TEXT_DOMAIN, "cannot share '%s': %s"),
775 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mountpoint);
776 if (share == NULL) {
792 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
797 share = zfs_sa_find_share(hdl->libzfs_sharehdl,
800 if (share != NULL) {
802 err = zfs_sa_enable_share(share,
807 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
814 fprintf(stderr, "Unsupported share protocol: %d.\n",
828 dgettext(TEXT_DOMAIN, "cannot share '%s'"),
864 sa_share_t share;
882 share = zfs_sa_find_share(hdl->libzfs_sharehdl, mntpt);
885 if (share != NULL) {
886 err = zfs_sa_disable_share(share, proto_table[proto].p_name);
1127 * Mount and share all datasets within the given pool. This assumes that no
1132 * and/or share each one.
1176 * Then share all the ones that need to be shared. This needs