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

/opensolaris-onvv-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c132 struct option_defs optdefs[] = { variable in typeref:struct:option_defs
253 for (i = 0; optdefs[i].tag != NULL; i++) {
254 if (strcmp(optdefs[i].tag, name) == 0)
276 return (optdefs[optdef].type);
2139 if (optdefs[optindex].share && parent_group != NULL &&
2144 if (optdefs[optindex].index == OPT_PUBLIC) {
2157 switch (optdefs[optindex].type) {
2293 if (ret == SA_OK && optdefs[optindex].check != NULL) {
2295 ret = optdefs[optindex].check(handle, property);
/opensolaris-onvv-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c166 struct option_defs optdefs[] = { variable in typeref:struct:option_defs
192 for (i = 0; optdefs[i].tag != NULL; i++) {
193 if (strcmp(optdefs[i].tag, name) == 0)
785 if (optdefs[optindex].share && !sa_is_share(parent_group))
797 switch (optdefs[optindex].type) {
863 if (ret == SA_OK && optdefs[optindex].check != NULL)
865 ret = optdefs[optindex].check(property);

Completed in 180 milliseconds