Lines Matching defs:nxo
3129 struct nfs_export_options *nxo = NULL;
3144 nxo = &no->no_opt;
3148 if ((nxo == NULL) && (nx->nx_flags & NX_DEFAULTEXPORT))
3149 nxo = &nx->nx_defopt;
3150 return (nxo);
3188 struct nfs_export_options *nxo;
3221 *nxop = nxo = nfsrv_export_lookup(*nxp, nam);
3227 for (i = 0, valid = 0; i < nxo->nxo_sec.count; i++) {
3228 if (nd->nd_sec == nxo->nxo_sec.flavors[i]) {
3253 if (nxo && (nxo->nxo_flags & NX_OFFLINE))
3292 struct nfs_export_options *nxo)
3294 if (nxo && nxo->nxo_cred) {
3295 if ((nxo->nxo_flags & NX_MAPALL) ||
3296 ((nxo->nxo_flags & NX_MAPROOT) && !suser(nd->nd_cr, NULL))) {
3297 kauth_cred_ref(nxo->nxo_cred);
3299 nd->nd_cr = nxo->nxo_cred;