Lines Matching defs:proto
126 is_shared(libzfs_handle_t *hdl, const char *mountpoint, zfs_share_proto_t proto)
156 proto_table[proto].p_name) == 0) {
157 switch (proto) {
463 zfs_is_shared_proto(zfs_handle_t *zhp, char **where, zfs_share_proto_t proto)
471 if (rc = is_shared(zhp->zfs_hdl, mountpoint, proto)) {
643 * zfs_parse_options(options, proto)
649 zfs_parse_options(char *options, zfs_share_proto_t proto)
653 proto_table[proto].p_name));
673 * zfs_sa_enable_share(share, proto)
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)
693 zfs_sa_disable_share(sa_share_t share, char *proto)
696 return (_sa_disable_share(share, proto));
706 zfs_share_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto)
720 for (curr_proto = proto; *curr_proto != PROTO_END; curr_proto++) {
820 zfs_share_proto_t proto)
844 err = zfs_sa_disable_share(share, proto_table[proto].p_name);
863 zfs_share_proto_t *proto)
881 for (curr_proto = proto; *curr_proto != PROTO_END;
915 zfs_unshareall_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto)
924 ret = changelist_unshare(clp, proto);