Home
last modified time | relevance | path

Searched refs:idtoname_cache (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/nfsd/
Dnfs4idmap.c454 nn->idtoname_cache = cache_create_net(&idtoname_cache_template, net); in nfsd_idmap_init()
455 if (IS_ERR(nn->idtoname_cache)) in nfsd_idmap_init()
456 return PTR_ERR(nn->idtoname_cache); in nfsd_idmap_init()
457 rv = cache_register_net(nn->idtoname_cache, net); in nfsd_idmap_init()
473 cache_unregister_net(nn->idtoname_cache, net); in nfsd_idmap_init()
475 cache_destroy_net(nn->idtoname_cache, net); in nfsd_idmap_init()
484 cache_unregister_net(nn->idtoname_cache, net); in nfsd_idmap_shutdown()
486 cache_destroy_net(nn->idtoname_cache, net); in nfsd_idmap_shutdown()
573 ret = idmap_lookup(rqstp, idtoname_lookup, &key, nn->idtoname_cache, &item); in idmap_id_to_name()
584 cache_put(&item->h, nn->idtoname_cache); in idmap_id_to_name()
Dnetns.h51 struct cache_detail *idtoname_cache; member