Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nfsd/
Dnfscache.c167 nn->drc_hashtbl = kcalloc(hashsize, in nfsd_reply_cache_init()
168 sizeof(*nn->drc_hashtbl), GFP_KERNEL); in nfsd_reply_cache_init()
169 if (!nn->drc_hashtbl) { in nfsd_reply_cache_init()
170 nn->drc_hashtbl = vzalloc(array_size(hashsize, in nfsd_reply_cache_init()
171 sizeof(*nn->drc_hashtbl))); in nfsd_reply_cache_init()
172 if (!nn->drc_hashtbl) in nfsd_reply_cache_init()
177 INIT_LIST_HEAD(&nn->drc_hashtbl[i].lru_head); in nfsd_reply_cache_init()
178 spin_lock_init(&nn->drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init()
200 struct list_head *head = &nn->drc_hashtbl[i].lru_head; in nfsd_reply_cache_shutdown()
203 nfsd_reply_cache_free_locked(&nn->drc_hashtbl[i], in nfsd_reply_cache_shutdown()
[all …]
Dnetns.h141 struct nfsd_drc_bucket *drc_hashtbl; member