Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/nfsd/
A Dnfscache.c184 nn->drc_hashtbl = kvzalloc(array_size(hashsize, in nfsd_reply_cache_init()
185 sizeof(*nn->drc_hashtbl)), GFP_KERNEL); in nfsd_reply_cache_init()
186 if (!nn->drc_hashtbl) in nfsd_reply_cache_init()
190 INIT_LIST_HEAD(&nn->drc_hashtbl[i].lru_head); in nfsd_reply_cache_init()
191 spin_lock_init(&nn->drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init()
213 struct list_head *head = &nn->drc_hashtbl[i].lru_head; in nfsd_reply_cache_shutdown()
216 nfsd_reply_cache_free_locked(&nn->drc_hashtbl[i], in nfsd_reply_cache_shutdown()
222 kvfree(nn->drc_hashtbl); in nfsd_reply_cache_shutdown()
223 nn->drc_hashtbl = NULL; in nfsd_reply_cache_shutdown()
244 return &nn->drc_hashtbl[hash]; in nfsd_cache_bucket_find()
[all …]
A Dnetns.h152 struct nfsd_drc_bucket *drc_hashtbl; member

Completed in 7 milliseconds