Lines Matching refs:nxo
3182 struct nfs_export_options *nxo = NULL;
3197 nxo = &no->no_opt;
3201 if ((nxo == NULL) && (nx->nx_flags & NX_DEFAULTEXPORT))
3202 nxo = &nx->nx_defopt;
3203 return (nxo);
3241 struct nfs_export_options *nxo;
3274 *nxop = nxo = nfsrv_export_lookup(*nxp, nam);
3280 for (i = 0, valid = 0; i < nxo->nxo_sec.count; i++) {
3281 if (nd->nd_sec == nxo->nxo_sec.flavors[i]) {
3306 if (nxo && (nxo->nxo_flags & NX_OFFLINE))
3345 struct nfs_export_options *nxo)
3347 if (nxo && nxo->nxo_cred) {
3348 if ((nxo->nxo_flags & NX_MAPALL) ||
3349 ((nxo->nxo_flags & NX_MAPROOT) && !suser(nd->nd_cr, NULL))) {
3350 kauth_cred_ref(nxo->nxo_cred);
3352 nd->nd_cr = nxo->nxo_cred;