Lines Matching refs:nn
351 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_dns_resolve_name() local
353 ret = do_cache_lookup_wait(nn->nfs_dns_resolve, &key, &item); in nfs_dns_resolve_name()
360 cache_put(&item->h, nn->nfs_dns_resolve); in nfs_dns_resolve_name()
385 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_dns_resolver_cache_init() local
387 nn->nfs_dns_resolve = cache_create_net(&nfs_dns_resolve_template, net); in nfs_dns_resolver_cache_init()
388 if (IS_ERR(nn->nfs_dns_resolve)) in nfs_dns_resolver_cache_init()
389 return PTR_ERR(nn->nfs_dns_resolve); in nfs_dns_resolver_cache_init()
391 err = nfs_cache_register_net(net, nn->nfs_dns_resolve); in nfs_dns_resolver_cache_init()
397 cache_destroy_net(nn->nfs_dns_resolve, net); in nfs_dns_resolver_cache_init()
403 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_dns_resolver_cache_destroy() local
405 nfs_cache_unregister_net(net, nn->nfs_dns_resolve); in nfs_dns_resolver_cache_destroy()
406 cache_destroy_net(nn->nfs_dns_resolve, net); in nfs_dns_resolver_cache_destroy()
429 struct nfs_net *nn = net_generic(net, nfs_net_id); in rpc_pipefs_event() local
430 struct cache_detail *cd = nn->nfs_dns_resolve; in rpc_pipefs_event()