Searched refs:idtoname_cache (Results 1 – 2 of 2) sorted by relevance
/fs/nfsd/ |
D | nfs4idmap.c | 469 nn->idtoname_cache = cache_create_net(&idtoname_cache_template, net); in nfsd_idmap_init() 470 if (IS_ERR(nn->idtoname_cache)) in nfsd_idmap_init() 471 return PTR_ERR(nn->idtoname_cache); in nfsd_idmap_init() 472 rv = cache_register_net(nn->idtoname_cache, net); in nfsd_idmap_init() 488 cache_unregister_net(nn->idtoname_cache, net); in nfsd_idmap_init() 490 cache_destroy_net(nn->idtoname_cache, net); in nfsd_idmap_init() 499 cache_unregister_net(nn->idtoname_cache, net); in nfsd_idmap_shutdown() 501 cache_destroy_net(nn->idtoname_cache, net); in nfsd_idmap_shutdown() 588 ret = idmap_lookup(rqstp, idtoname_lookup, &key, nn->idtoname_cache, &item); in idmap_id_to_name() 599 cache_put(&item->h, nn->idtoname_cache); in idmap_id_to_name()
|
D | netns.h | 38 struct cache_detail *idtoname_cache; member
|