Lines Matching defs:nn

1023 	struct nfsd_net		*nn = net_generic(net, nfsd_net_id);
1024 struct cache_detail *cd = nn->svc_export_cache;
1064 struct nfsd_net *nn = net_generic(cd->net, nfsd_net_id);
1065 struct svc_expkey *ek = exp_find_key(nn->svc_expkey_cache, clp, fsid_type, fsidv, reqp);
1070 cache_put(&ek->h, nn->svc_expkey_cache);
1140 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
1141 struct cache_detail *cd = nn->svc_export_cache;
1171 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id);
1172 struct cache_detail *cd = nn->svc_export_cache;
1393 struct nfsd_net *nn = net_generic(net, nfsd_net_id);
1397 nn->svc_export_cache = cache_create_net(&svc_export_cache_template, net);
1398 if (IS_ERR(nn->svc_export_cache))
1399 return PTR_ERR(nn->svc_export_cache);
1400 rv = cache_register_net(nn->svc_export_cache, net);
1404 nn->svc_expkey_cache = cache_create_net(&svc_expkey_cache_template, net);
1405 if (IS_ERR(nn->svc_expkey_cache)) {
1406 rv = PTR_ERR(nn->svc_expkey_cache);
1409 rv = cache_register_net(nn->svc_expkey_cache, net);
1415 cache_destroy_net(nn->svc_expkey_cache, net);
1417 cache_unregister_net(nn->svc_export_cache, net);
1419 cache_destroy_net(nn->svc_export_cache, net);
1429 struct nfsd_net *nn = net_generic(net, nfsd_net_id);
1431 cache_purge(nn->svc_expkey_cache);
1432 cache_purge(nn->svc_export_cache);
1441 struct nfsd_net *nn = net_generic(net, nfsd_net_id);
1445 cache_unregister_net(nn->svc_expkey_cache, net);
1446 cache_unregister_net(nn->svc_export_cache, net);
1447 cache_destroy_net(nn->svc_expkey_cache, net);
1448 cache_destroy_net(nn->svc_export_cache, net);