Lines Matching refs:nn

884 	struct nfsd_net		*nn = net_generic(net, nfsd_net_id);  in exp_rootfh()  local
885 struct cache_detail *cd = nn->svc_export_cache; in exp_rootfh()
925 struct nfsd_net *nn = net_generic(cd->net, nfsd_net_id); in exp_find() local
926 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp); in exp_find()
931 cache_put(&ek->h, nn->svc_expkey_cache); in exp_find()
973 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_get_by_name() local
974 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_get_by_name()
1004 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_find() local
1005 struct cache_detail *cd = nn->svc_export_cache; in rqst_exp_find()
1286 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_init() local
1290 nn->svc_export_cache = cache_create_net(&svc_export_cache_template, net); in nfsd_export_init()
1291 if (IS_ERR(nn->svc_export_cache)) in nfsd_export_init()
1292 return PTR_ERR(nn->svc_export_cache); in nfsd_export_init()
1293 rv = cache_register_net(nn->svc_export_cache, net); in nfsd_export_init()
1297 nn->svc_expkey_cache = cache_create_net(&svc_expkey_cache_template, net); in nfsd_export_init()
1298 if (IS_ERR(nn->svc_expkey_cache)) { in nfsd_export_init()
1299 rv = PTR_ERR(nn->svc_expkey_cache); in nfsd_export_init()
1302 rv = cache_register_net(nn->svc_expkey_cache, net); in nfsd_export_init()
1308 cache_destroy_net(nn->svc_expkey_cache, net); in nfsd_export_init()
1310 cache_unregister_net(nn->svc_export_cache, net); in nfsd_export_init()
1312 cache_destroy_net(nn->svc_export_cache, net); in nfsd_export_init()
1322 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_flush() local
1324 cache_purge(nn->svc_expkey_cache); in nfsd_export_flush()
1325 cache_purge(nn->svc_export_cache); in nfsd_export_flush()
1334 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_shutdown() local
1338 cache_unregister_net(nn->svc_expkey_cache, net); in nfsd_export_shutdown()
1339 cache_unregister_net(nn->svc_export_cache, net); in nfsd_export_shutdown()
1340 cache_destroy_net(nn->svc_expkey_cache, net); in nfsd_export_shutdown()
1341 cache_destroy_net(nn->svc_export_cache, net); in nfsd_export_shutdown()