/linux-4.4.14/fs/nfsd/ |
D | nfscache.c | 158 unsigned int hashsize; in nfsd_reply_cache_init() local 164 hashsize = nfsd_hashsize(max_drc_entries); in nfsd_reply_cache_init() 165 maskbits = ilog2(hashsize); in nfsd_reply_cache_init() 176 drc_hashtbl = kcalloc(hashsize, sizeof(*drc_hashtbl), GFP_KERNEL); in nfsd_reply_cache_init() 179 for (i = 0; i < hashsize; i++) { in nfsd_reply_cache_init() 183 drc_hashsize = hashsize; in nfsd_reply_cache_init()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_bulk.c | 514 int hashsize; in sptlrpc_get_bulk_checksum() local 529 hashsize = cfs_crypto_hash_digestsize(cfs_hash_alg_id[alg]); in sptlrpc_get_bulk_checksum() 536 if (hashsize > buflen) { in sptlrpc_get_bulk_checksum()
|
/linux-4.4.14/net/sunrpc/ |
D | auth.c | 329 unsigned int hashsize; in rpcauth_init_credcache() local 335 hashsize = 1U << new->hashbits; in rpcauth_init_credcache() 336 new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL); in rpcauth_init_credcache() 404 unsigned int hashsize = 1U << cache->hashbits; in rpcauth_clear_credcache() local 409 for (i = 0; i < hashsize; i++) { in rpcauth_clear_credcache()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 118 htable_bits(u32 hashsize) in htable_bits() argument 121 u8 bits = fls(hashsize - 1); in htable_bits() 123 if (jhash_size(bits) != hashsize) in htable_bits() 125 bits = fls(hashsize); in htable_bits() 1229 u32 hashsize = IPSET_DEFAULT_HASHSIZE, maxelem = IPSET_DEFAULT_MAXELEM; in IPSET_TOKEN() local 1267 hashsize = ip_set_get_h32(tb[IPSET_ATTR_HASHSIZE]); in IPSET_TOKEN() 1268 if (hashsize < IPSET_MIMINAL_HASHSIZE) in IPSET_TOKEN() 1269 hashsize = IPSET_MIMINAL_HASHSIZE; in IPSET_TOKEN() 1312 hbits = htable_bits(hashsize); in IPSET_TOKEN()
|
/linux-4.4.14/net/sched/ |
D | sch_drr.c | 299 for (i = 0; i < q->clhash.hashsize; i++) { in drr_walk() 457 for (i = 0; i < q->clhash.hashsize; i++) { in drr_reset_qdisc() 476 for (i = 0; i < q->clhash.hashsize; i++) { in drr_destroy_qdisc()
|
D | sch_api.c | 660 if (clhash->hashelems * 4 <= clhash->hashsize * 3) in qdisc_class_hash_grow() 662 nsize = clhash->hashsize * 2; in qdisc_class_hash_grow() 669 osize = clhash->hashsize; in qdisc_class_hash_grow() 679 clhash->hashsize = nsize; in qdisc_class_hash_grow() 694 clhash->hashsize = size; in qdisc_class_hash_init() 703 qdisc_class_hash_free(clhash->hash, clhash->hashsize); in qdisc_class_hash_destroy()
|
D | sch_cbq.c | 1036 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_normalize_quanta() 1076 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_sync_defmap() 1214 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_reset() 1688 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_destroy() 1692 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_destroy() 1999 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_walk()
|
D | sch_hfsc.c | 1396 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_walk() 1525 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_reset_qdisc() 1543 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc() 1547 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc() 1566 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_dump_qdisc()
|
D | sch_htb.c | 979 for (i = 0; i < q->clhash.hashsize; i++) { in htb_reset() 1254 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() 1258 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() 1569 for (i = 0; i < q->clhash.hashsize; i++) { in htb_walk()
|
D | sch_qfq.c | 684 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_walk() 1511 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_reset_qdisc() 1531 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_destroy_qdisc()
|
/linux-4.4.14/fs/jffs2/ |
D | fs.c | 501 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.4.14/net/netfilter/ |
D | nf_conntrack_core.c | 1564 unsigned int hashsize, old_size; in nf_conntrack_set_hashsize() local 1576 rc = kstrtouint(val, 0, &hashsize); in nf_conntrack_set_hashsize() 1579 if (!hashsize) in nf_conntrack_set_hashsize() 1582 hash = nf_ct_alloc_hashtable(&hashsize, 1); in nf_conntrack_set_hashsize() 1602 bucket = __hash_conntrack(&h->tuple, hashsize); in nf_conntrack_set_hashsize() 1609 init_net.ct.htable_size = nf_conntrack_htable_size = hashsize; in nf_conntrack_set_hashsize() 1621 module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_conntrack_l3proto_ipv4.c | 390 module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,
|
/linux-4.4.14/include/net/ |
D | sch_generic.h | 356 unsigned int hashsize; member
|
/linux-4.4.14/kernel/ |
D | futex.c | 265 unsigned long hashsize; member 268 #define futex_hashsize (__futex_data.hashsize)
|