Home
last modified time | relevance | path

Searched refs:hashsize (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/nfsd/
Dnfscache.c160 unsigned int hashsize; in nfsd_reply_cache_init() local
166 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()
/linux-4.19.296/fs/jffs2/
Dfs.c501 int hashsize = (size_mb * 2) & ~0x3f; in calculate_inocache_hashsize() local
503 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()
/linux-4.19.296/include/net/netfilter/
Dnf_conntrack.h287 int nf_conntrack_hash_resize(unsigned int hashsize);
/linux-4.19.296/include/net/
Dsch_generic.h521 unsigned int hashsize; member