Lines Matching full:protocol
64 const char *shareopts, enum sa_protocol protocol) in sa_enable_share() argument
66 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_enable_share()
70 return (fstypes[protocol]->enable_share(&args)); in sa_enable_share()
74 sa_disable_share(const char *mountpoint, enum sa_protocol protocol) in sa_disable_share() argument
76 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_disable_share()
79 return (fstypes[protocol]->disable_share(&args)); in sa_disable_share()
83 sa_is_shared(const char *mountpoint, enum sa_protocol protocol) in sa_is_shared() argument
85 VALIDATE_PROTOCOL(protocol, B_FALSE); in sa_is_shared()
88 return (fstypes[protocol]->is_shared(&args)); in sa_is_shared()
92 sa_commit_shares(enum sa_protocol protocol) in sa_commit_shares() argument
95 VALIDATE_PROTOCOL(protocol, ); in sa_commit_shares()
97 fstypes[protocol]->commit_shares(); in sa_commit_shares()
101 sa_truncate_shares(enum sa_protocol protocol) in sa_truncate_shares() argument
104 VALIDATE_PROTOCOL(protocol, ); in sa_truncate_shares()
106 if (fstypes[protocol]->truncate_shares != NULL) in sa_truncate_shares()
107 fstypes[protocol]->truncate_shares(); in sa_truncate_shares()
111 sa_validate_shareopts(const char *options, enum sa_protocol protocol) in sa_validate_shareopts() argument
113 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_validate_shareopts()
115 return (fstypes[protocol]->validate_shareopts(options)); in sa_validate_shareopts()
156 return (dgettext(TEXT_DOMAIN, "invalid protocol")); in sa_errorstr()
189 return (dgettext(TEXT_DOMAIN, "protocol requires a section")); in sa_errorstr()