Lines Matching refs:nn
1030 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exp_rootfh() local
1031 struct cache_detail *cd = nn->svc_export_cache; in exp_rootfh()
1071 struct nfsd_net *nn = net_generic(cd->net, nfsd_net_id); in exp_find() local
1072 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp); in exp_find()
1077 cache_put(&ek->h, nn->svc_expkey_cache); in exp_find()
1187 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_get_by_name() local
1188 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_get_by_name()
1234 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in rqst_exp_find() local
1236 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_find()
1456 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_init() local
1460 nn->svc_export_cache = cache_create_net(&svc_export_cache_template, net); in nfsd_export_init()
1461 if (IS_ERR(nn->svc_export_cache)) in nfsd_export_init()
1462 return PTR_ERR(nn->svc_export_cache); in nfsd_export_init()
1463 rv = cache_register_net(nn->svc_export_cache, net); in nfsd_export_init()
1467 nn->svc_expkey_cache = cache_create_net(&svc_expkey_cache_template, net); in nfsd_export_init()
1468 if (IS_ERR(nn->svc_expkey_cache)) { in nfsd_export_init()
1469 rv = PTR_ERR(nn->svc_expkey_cache); in nfsd_export_init()
1472 rv = cache_register_net(nn->svc_expkey_cache, net); in nfsd_export_init()
1478 cache_destroy_net(nn->svc_expkey_cache, net); in nfsd_export_init()
1480 cache_unregister_net(nn->svc_export_cache, net); in nfsd_export_init()
1482 cache_destroy_net(nn->svc_export_cache, net); in nfsd_export_init()
1492 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_flush() local
1494 cache_purge(nn->svc_expkey_cache); in nfsd_export_flush()
1495 cache_purge(nn->svc_export_cache); in nfsd_export_flush()
1504 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_shutdown() local
1508 cache_unregister_net(nn->svc_expkey_cache, net); in nfsd_export_shutdown()
1509 cache_unregister_net(nn->svc_export_cache, net); in nfsd_export_shutdown()
1510 cache_destroy_net(nn->svc_expkey_cache, net); in nfsd_export_shutdown()
1511 cache_destroy_net(nn->svc_export_cache, net); in nfsd_export_shutdown()