Lines Matching refs:opt
270 sa_smb_share_opt_t *opt;
283 for (opt = smb_share_options; opt->tag != NULL; opt++) {
284 boolean_t inheritable = (strcmp(opt->tag, SHOPT_DFSROOT) != 0);
285 VERIFY(strlcpy(propname + prefixlen, opt->tag,
288 if (opt->type == OPT_TYPE_BOOLEAN) {
300 values_list = values_list_for_type(opt->type, &n);
303 inheritable, values_for_type(opt->type),
329 sa_smb_share_opt_t *opt;
332 for (opt = smb_share_options; opt->tag != NULL; opt++) {
333 if (strcmp(opt->tag, name) == 0)
334 return (opt);
344 sa_smb_share_opt_t *opt;
347 for (opt = smb_share_options; opt->tag != NULL; opt++) {
348 if (strcmp(opt->tag, name) == 0)
349 return (opt->type);
991 sa_smb_share_opt_t *opt;
1040 if ((opt = sa_smb_share_findopt(prop_name)) == NULL) {
1050 if (opt->check != NULL) {
1051 rc = opt->check(prop_name, prop_val, errbuf, buflen);
1056 if (!skip_check && (opt->type == OPT_TYPE_ACCLIST)) {