Lines Matching refs:protocol
63 const char *shareopts, enum sa_protocol protocol) in sa_enable_share() argument
65 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_enable_share()
69 return (fstypes[protocol]->enable_share(&args)); in sa_enable_share()
73 sa_disable_share(const char *mountpoint, enum sa_protocol protocol) in sa_disable_share() argument
75 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_disable_share()
78 return (fstypes[protocol]->disable_share(&args)); in sa_disable_share()
82 sa_is_shared(const char *mountpoint, enum sa_protocol protocol) in sa_is_shared() argument
84 VALIDATE_PROTOCOL(protocol, B_FALSE); in sa_is_shared()
87 return (fstypes[protocol]->is_shared(&args)); in sa_is_shared()
91 sa_commit_shares(enum sa_protocol protocol) in sa_commit_shares() argument
94 VALIDATE_PROTOCOL(protocol, ); in sa_commit_shares()
96 fstypes[protocol]->commit_shares(); in sa_commit_shares()
100 sa_truncate_shares(enum sa_protocol protocol) in sa_truncate_shares() argument
103 VALIDATE_PROTOCOL(protocol, ); in sa_truncate_shares()
105 if (fstypes[protocol]->truncate_shares != NULL) in sa_truncate_shares()
106 fstypes[protocol]->truncate_shares(); in sa_truncate_shares()
110 sa_validate_shareopts(const char *options, enum sa_protocol protocol) in sa_validate_shareopts() argument
112 VALIDATE_PROTOCOL(protocol, SA_INVALID_PROTOCOL); in sa_validate_shareopts()
114 return (fstypes[protocol]->validate_shareopts(options)); in sa_validate_shareopts()