Searched refs:optdefs (Results 1 – 2 of 2) sorted by relevance
172 struct option_defs optdefs[] = { variable202 for (i = 0; optdefs[i].tag != NULL; i++) { in findopt()203 if (strcmp(optdefs[i].tag, name) == 0) in findopt()754 if (optdefs[optindex].share && !sa_is_share(parent_group)) in smb_validate_property()766 switch (optdefs[optindex].type) { in smb_validate_property()832 if (ret == SA_OK && optdefs[optindex].check != NULL) in smb_validate_property()834 ret = optdefs[optindex].check(property); in smb_validate_property()
148 struct option_defs optdefs[] = { variable276 for (i = 0; i < ARRAY_SIZE(optdefs); i++) { in findopt()277 if (strcmp(optdefs[i].tag, name) == 0) in findopt()278 return (optdefs[i].index); in findopt()299 return (optdefs[optdef].type); in gettype()2177 if (optdefs[optindex].share && parent_group != NULL && in nfs_validate_property()2182 if (optdefs[optindex].index == OPT_PUBLIC) { in nfs_validate_property()2195 switch (optdefs[optindex].type) { in nfs_validate_property()2409 if (ret == SA_OK && optdefs[optindex].check != NULL) { in nfs_validate_property()2411 ret = optdefs[optindex].check(handle, property); in nfs_validate_property()