Home
last modified time | relevance | path

Searched refs:optdefs (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c134 struct option_defs optdefs[] = { variable
261 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()
/titanic_50/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c169 struct option_defs optdefs[] = { variable
195 for (i = 0; optdefs[i].tag != NULL; i++) { in findopt()
196 if (strcmp(optdefs[i].tag, name) == 0) in findopt()
776 if (optdefs[optindex].share && !sa_is_share(parent_group)) in smb_validate_property()
788 switch (optdefs[optindex].type) { in smb_validate_property()
854 if (ret == SA_OK && optdefs[optindex].check != NULL) in smb_validate_property()
856 ret = optdefs[optindex].check(property); in smb_validate_property()