Searched refs:optdefs (Results 1 – 2 of 2) sorted by relevance
134 struct option_defs optdefs[] = { variable261 for (i = 0; optdefs[i].tag != NULL; i++) { in findopt()262 if (strcmp(optdefs[i].tag, name) == 0) in findopt()263 return (optdefs[i].index); in findopt()284 return (optdefs[optdef].type); in gettype()2212 if (optdefs[optindex].share && parent_group != NULL && in nfs_validate_property()2217 if (optdefs[optindex].index == OPT_PUBLIC) { in nfs_validate_property()2230 switch (optdefs[optindex].type) { in nfs_validate_property()2452 if (ret == SA_OK && optdefs[optindex].check != NULL) { in nfs_validate_property()2454 ret = optdefs[optindex].check(handle, property); in nfs_validate_property()
168 struct option_defs optdefs[] = { variable194 for (i = 0; optdefs[i].tag != NULL; i++) { in findopt()195 if (strcmp(optdefs[i].tag, name) == 0) in findopt()775 if (optdefs[optindex].share && !sa_is_share(parent_group)) in smb_validate_property()787 switch (optdefs[optindex].type) { in smb_validate_property()853 if (ret == SA_OK && optdefs[optindex].check != NULL) in smb_validate_property()855 ret = optdefs[optindex].check(property); in smb_validate_property()