/linux/fs/nfsd/ |
A D | nfscache.c | 169 unsigned int hashsize; in nfsd_reply_cache_init() local 175 hashsize = nfsd_hashsize(nn->max_drc_entries); in nfsd_reply_cache_init() 176 nn->maskbits = ilog2(hashsize); in nfsd_reply_cache_init() 189 nn->drc_hashtbl = kvzalloc(array_size(hashsize, in nfsd_reply_cache_init() 194 for (i = 0; i < hashsize; i++) { in nfsd_reply_cache_init() 198 nn->drc_hashsize = hashsize; in nfsd_reply_cache_init()
|
/linux/net/sunrpc/ |
A D | auth.c | 294 unsigned int hashsize; in rpcauth_init_credcache() local 300 hashsize = 1U << new->hashbits; in rpcauth_init_credcache() 301 new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL); in rpcauth_init_credcache() 386 unsigned int hashsize = 1U << cache->hashbits; in rpcauth_clear_credcache() local 391 for (i = 0; i < hashsize; i++) { in rpcauth_clear_credcache()
|
/linux/net/sched/ |
A D | sch_drr.c | 285 for (i = 0; i < q->clhash.hashsize; i++) { in drr_walk() 437 for (i = 0; i < q->clhash.hashsize; i++) { in drr_reset_qdisc() 457 for (i = 0; i < q->clhash.hashsize; i++) { in drr_destroy_qdisc()
|
A D | sch_cbq.c | 891 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_normalize_quanta() 931 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_sync_defmap() 1044 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_reset() 1460 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_destroy() 1466 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_destroy() 1758 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_walk()
|
A D | sch_htb.c | 997 for (i = 0; i < q->clhash.hashsize; i++) { in htb_reset() 1167 q->clhash.hashsize = 0; in htb_init() 1321 for (i = 0; i < q->clhash.hashsize; i++) { in htb_offload_aggregate_stats() 1650 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() 1660 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() 2122 for (i = 0; i < q->clhash.hashsize; i++) { in htb_walk()
|
A D | sch_hfsc.c | 1349 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_walk() 1481 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_reset_qdisc() 1499 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc() 1505 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc()
|
A D | sch_api.c | 684 if (clhash->hashelems * 4 <= clhash->hashsize * 3) in qdisc_class_hash_grow() 686 nsize = clhash->hashsize * 2; in qdisc_class_hash_grow() 693 osize = clhash->hashsize; in qdisc_class_hash_grow() 703 clhash->hashsize = nsize; in qdisc_class_hash_grow() 718 clhash->hashsize = size; in qdisc_class_hash_init()
|
A D | sch_qfq.c | 660 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_walk() 1453 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_reset_qdisc() 1474 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_destroy_qdisc()
|
/linux/fs/jffs2/ |
A D | fs.c | 504 int hashsize = (size_mb * 2) & ~0x3f; in calculate_inocache_hashsize() local 506 if (hashsize < INOCACHE_HASHSIZE_MIN) in calculate_inocache_hashsize() 508 if (hashsize > INOCACHE_HASHSIZE_MAX) in calculate_inocache_hashsize() 511 return hashsize; in calculate_inocache_hashsize()
|
/linux/drivers/crypto/ |
A D | atmel-sha.c | 477 unsigned int i, hashsize = 0; in atmel_sha_write_ctrl() local 492 hashsize = SHA1_DIGEST_SIZE; in atmel_sha_write_ctrl() 497 hashsize = SHA256_DIGEST_SIZE; in atmel_sha_write_ctrl() 502 hashsize = SHA256_DIGEST_SIZE; in atmel_sha_write_ctrl() 507 hashsize = SHA512_DIGEST_SIZE; in atmel_sha_write_ctrl() 512 hashsize = SHA512_DIGEST_SIZE; in atmel_sha_write_ctrl() 533 for (i = 0; i < hashsize / sizeof(u32); ++i) in atmel_sha_write_ctrl() 926 unsigned int i, hashsize; in atmel_sha_copy_hash() local 930 hashsize = SHA1_DIGEST_SIZE; in atmel_sha_copy_hash() 935 hashsize = SHA256_DIGEST_SIZE; in atmel_sha_copy_hash() [all …]
|
/linux/drivers/crypto/stm32/ |
A D | stm32-hash.c | 754 unsigned int i, hashsize; in stm32_hash_copy_hash() local 758 hashsize = MD5_DIGEST_SIZE; in stm32_hash_copy_hash() 761 hashsize = SHA1_DIGEST_SIZE; in stm32_hash_copy_hash() 764 hashsize = SHA224_DIGEST_SIZE; in stm32_hash_copy_hash() 767 hashsize = SHA256_DIGEST_SIZE; in stm32_hash_copy_hash() 773 for (i = 0; i < hashsize / sizeof(u32); i++) in stm32_hash_copy_hash()
|
/linux/drivers/net/ |
A D | gtp.c | 665 int hashsize, err; in gtp_newlink() local 673 hashsize = 1024; in gtp_newlink() 675 hashsize = nla_get_u32(data[IFLA_GTP_PDP_HASHSIZE]); in gtp_newlink() 676 if (!hashsize) in gtp_newlink() 677 hashsize = 1024; in gtp_newlink() 680 err = gtp_hashtable_new(gtp, hashsize); in gtp_newlink()
|
/linux/net/netfilter/ |
A D | nf_conntrack_core.c | 2545 int nf_conntrack_hash_resize(unsigned int hashsize) in nf_conntrack_hash_resize() argument 2553 if (!hashsize) in nf_conntrack_hash_resize() 2556 hash = nf_ct_alloc_hashtable(&hashsize, 1); in nf_conntrack_hash_resize() 2562 if (old_size == hashsize) { in nf_conntrack_hash_resize() 2589 &h->tuple, zone_id, hashsize); in nf_conntrack_hash_resize() 2597 nf_conntrack_htable_size = hashsize; in nf_conntrack_hash_resize() 2612 unsigned int hashsize; in nf_conntrack_set_hashsize() local 2622 rc = kstrtouint(val, 0, &hashsize); in nf_conntrack_set_hashsize() 2626 return nf_conntrack_hash_resize(hashsize); in nf_conntrack_set_hashsize()
|
A D | nf_conntrack_proto.c | 716 module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,
|
/linux/kernel/futex/ |
A D | core.c | 56 unsigned long hashsize; member 59 #define futex_hashsize (__futex_data.hashsize)
|
/linux/net/netfilter/ipset/ |
A D | ip_set_hash_gen.h | 1445 u32 hashsize = IPSET_DEFAULT_HASHSIZE, maxelem = IPSET_DEFAULT_MAXELEM; in IPSET_TOKEN() local 1501 hashsize = ip_set_get_h32(tb[IPSET_ATTR_HASHSIZE]); in IPSET_TOKEN() 1502 if (hashsize < IPSET_MIMINAL_HASHSIZE) in IPSET_TOKEN() 1503 hashsize = IPSET_MIMINAL_HASHSIZE; in IPSET_TOKEN() 1518 hbits = fls(hashsize - 1); in IPSET_TOKEN()
|
/linux/include/net/netfilter/ |
A D | nf_conntrack.h | 311 int nf_conntrack_hash_resize(unsigned int hashsize);
|
/linux/include/net/ |
A D | sch_generic.h | 641 unsigned int hashsize; member
|