Searched refs:hashsize (Results 1 – 4 of 4) sorted by relevance
160 unsigned int hashsize; in nfsd_reply_cache_init() local166 hashsize = nfsd_hashsize(max_drc_entries); in nfsd_reply_cache_init()167 maskbits = ilog2(hashsize); in nfsd_reply_cache_init()178 drc_hashtbl = kcalloc(hashsize, sizeof(*drc_hashtbl), GFP_KERNEL); in nfsd_reply_cache_init()180 drc_hashtbl = vzalloc(array_size(hashsize, in nfsd_reply_cache_init()186 for (i = 0; i < hashsize; i++) { in nfsd_reply_cache_init()190 drc_hashsize = hashsize; in nfsd_reply_cache_init()
501 int hashsize = (size_mb * 2) & ~0x3f; in calculate_inocache_hashsize() local503 if (hashsize < INOCACHE_HASHSIZE_MIN) in calculate_inocache_hashsize()505 if (hashsize > INOCACHE_HASHSIZE_MAX) in calculate_inocache_hashsize()508 return hashsize; in calculate_inocache_hashsize()
287 int nf_conntrack_hash_resize(unsigned int hashsize);
521 unsigned int hashsize; member