Lines Matching defs:nxo
2608 struct nfs_export_options *nxo = NULL;
2623 nxo = &no->no_opt;
2627 if ((nxo == NULL) && (nx->nx_flags & NX_DEFAULTEXPORT))
2628 nxo = &nx->nx_defopt;
2629 return (nxo);
2665 struct nfs_export_options *nxo;
2698 *nxop = nxo = nfsrv_export_lookup(*nxp, nam);
2704 for (i = 0, valid = 0; i < nxo->nxo_sec.count; i++) {
2705 if (nd->nd_sec == nxo->nxo_sec.flavors[i]) {
2730 if (nxo && (nxo->nxo_flags & NX_OFFLINE))
2762 struct nfs_export_options *nxo)
2764 if (nxo && nxo->nxo_cred) {
2765 if ((nxo->nxo_flags & NX_MAPALL) ||
2766 ((nxo->nxo_flags & NX_MAPROOT) && !suser(nd->nd_cr, NULL))) {
2767 kauth_cred_ref(nxo->nxo_cred);
2769 nd->nd_cr = nxo->nxo_cred;