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

/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c135 struct option_defs optdefs[] = { variable in typeref:struct:option_defs
262 for (i = 0; optdefs[i].tag != NULL; i++) {
263 if (strcmp(optdefs[i].tag, name) == 0)
264 return (optdefs[i].index);
285 return (optdefs[optdef].type);
2211 if (optdefs[optindex].share && parent_group != NULL &&
2216 if (optdefs[optindex].index == OPT_PUBLIC) {
2229 switch (optdefs[optindex].type) {
2451 if (ret == SA_OK && optdefs[optindex].check != NULL) {
2453 ret = optdefs[optinde
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c169 struct option_defs optdefs[] = { variable in typeref:struct:option_defs
195 for (i = 0; optdefs[i].tag != NULL; i++) {
196 if (strcmp(optdefs[i].tag, name) == 0)
776 if (optdefs[optindex].share && !sa_is_share(parent_group))
788 switch (optdefs[optindex].type) {
854 if (ret == SA_OK && optdefs[optindex].check != NULL)
856 ret = optdefs[optindex].check(property);

Completed in 2012 milliseconds