Searched refs:drc_hashtbl (Results 1 – 1 of 1) sorted by relevance
37 static struct nfsd_drc_bucket *drc_hashtbl; variable178 drc_hashtbl = kcalloc(hashsize, sizeof(*drc_hashtbl), GFP_KERNEL); in nfsd_reply_cache_init()179 if (!drc_hashtbl) { in nfsd_reply_cache_init()180 drc_hashtbl = vzalloc(array_size(hashsize, in nfsd_reply_cache_init()181 sizeof(*drc_hashtbl))); in nfsd_reply_cache_init()182 if (!drc_hashtbl) in nfsd_reply_cache_init()187 INIT_LIST_HEAD(&drc_hashtbl[i].lru_head); in nfsd_reply_cache_init()188 spin_lock_init(&drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init()207 struct list_head *head = &drc_hashtbl[i].lru_head; in nfsd_reply_cache_shutdown()214 kvfree(drc_hashtbl); in nfsd_reply_cache_shutdown()[all …]