Lines Matching defs:proto
124 is_shared(libzfs_handle_t *hdl, const char *mountpoint, zfs_share_proto_t proto)
154 proto_table[proto].p_name) == 0) {
155 switch (proto) {
461 zfs_is_shared_proto(zfs_handle_t *zhp, char **where, zfs_share_proto_t proto)
469 if (rc = is_shared(zhp->zfs_hdl, mountpoint, proto)) {
641 * zfs_parse_options(options, proto)
647 zfs_parse_options(char *options, zfs_share_proto_t proto)
651 proto_table[proto].p_name));
671 * zfs_sa_enable_share(share, proto)
677 zfs_sa_enable_share(sa_share_t share, char *proto)
680 return (_sa_enable_share(share, proto));
685 * zfs_sa_disable_share(share, proto)
691 zfs_sa_disable_share(sa_share_t share, char *proto)
694 return (_sa_disable_share(share, proto));
704 zfs_share_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto)
726 for (curr_proto = proto; *curr_proto != PROTO_END; curr_proto++) {
817 zfs_share_proto_t proto)
841 err = zfs_sa_disable_share(share, proto_table[proto].p_name);
860 zfs_share_proto_t *proto)
878 for (curr_proto = proto; *curr_proto != PROTO_END;
912 zfs_unshareall_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto)
921 ret = changelist_unshare(clp, proto);