Searched refs:hashsize (Results 1 – 10 of 10) sorted by relevance
| /linux/kernel/futex/ |
| H A D | core.c | 2011 unsigned long hashsize, i; in futex_init() 2016 hashsize = 16; 2018 hashsize = 256 * num_possible_cpus(); 2019 hashsize /= num_possible_nodes(); 2020 hashsize = max(4, hashsize); 2021 hashsize = roundup_pow_of_two(hashsize); 2023 futex_hashshift = ilog2(hashsize); 2024 size = sizeof(struct futex_hash_bucket) * hashsize; 1977 unsigned long hashsize, i; futex_init() local [all...] |
| /linux/net/sunrpc/ |
| H A D | auth.c | 291 unsigned int hashsize; in rpcauth_init_credcache() local 297 hashsize = 1U << new->hashbits; in rpcauth_init_credcache() 298 new->hashtable = kzalloc_objs(new->hashtable[0], hashsize); in rpcauth_init_credcache() 383 unsigned int hashsize = 1U << cache->hashbits; in rpcauth_clear_credcache() local 388 for (i = 0; i < hashsize; i++) { in rpcauth_clear_credcache()
|
| /linux/net/sched/ |
| H A D | sch_drr.c | 290 for (i = 0; i < q->clhash.hashsize; i++) { in drr_walk() 433 for (i = 0; i < q->clhash.hashsize; i++) { in drr_reset_qdisc() 451 for (i = 0; i < q->clhash.hashsize; i++) { in drr_destroy_qdisc()
|
| H A D | sch_hfsc.c | 1366 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_walk() 1489 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_reset_qdisc() 1505 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc() 1511 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc()
|
| H A D | sch_htb.c | 1008 for (i = 0; i < q->clhash.hashsize; i++) { in htb_reset() 1296 for (i = 0; i < q->clhash.hashsize; i++) { in htb_offload_aggregate_stats() 1637 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() 1647 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() 2119 for (i = 0; i < q->clhash.hashsize; i++) { in htb_walk()
|
| H A D | sch_qfq.c | 686 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_walk() 1484 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_reset_qdisc() 1503 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_destroy_qdisc()
|
| H A D | sch_api.c | 689 if (clhash->hashelems * 4 <= clhash->hashsize * 3) in qdisc_class_hash_grow() 691 nsize = clhash->hashsize * 2; in qdisc_class_hash_grow() 698 osize = clhash->hashsize; in qdisc_class_hash_grow() 708 clhash->hashsize = nsize; in qdisc_class_hash_grow() 723 clhash->hashsize = size; in qdisc_class_hash_init()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_core.c | 2542 int nf_conntrack_hash_resize(unsigned int hashsize) in nf_ct_alloc_hashtable() 2550 if (!hashsize) 2553 hash = nf_ct_alloc_hashtable(&hashsize, 1); in nf_conntrack_hash_resize() 2559 if (old_size == hashsize) { in nf_conntrack_hash_resize() 2586 &h->tuple, zone_id, hashsize); in nf_conntrack_hash_resize() 2593 nf_conntrack_htable_size = hashsize; in nf_conntrack_hash_resize() 2608 unsigned int hashsize; in nf_conntrack_hash_resize() 2618 rc = kstrtouint(val, 0, &hashsize); in nf_conntrack_set_hashsize() 2622 return nf_conntrack_hash_resize(hashsize); in nf_conntrack_set_hashsize() 2551 nf_conntrack_hash_resize(unsigned int hashsize) nf_conntrack_hash_resize() argument 2617 unsigned int hashsize; nf_conntrack_set_hashsize() local
|
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_hash_gen.h | 619 /* Resize a hash: create a new hash table with doubling the hashsize 804 pr_warn("Cannot increase the hashsize of set %s further\n", set->name); in mtype_resize() 1477 u32 hashsize = IPSET_DEFAULT_HASHSIZE, maxelem = IPSET_DEFAULT_MAXELEM; in IPSET_TOKEN() local 1561 hashsize = ip_set_get_h32(tb[IPSET_ATTR_HASHSIZE]); in IPSET_TOKEN() 1562 if (hashsize < IPSET_MIMINAL_HASHSIZE) in IPSET_TOKEN() 1563 hashsize = IPSET_MIMINAL_HASHSIZE; in IPSET_TOKEN() 1574 /* Compute htable_bits from the user input parameter hashsize. in IPSET_TOKEN() 1575 * Assume that hashsize == 2^htable_bits, in IPSET_TOKEN() 1578 hbits = fls(hashsize - 1); in IPSET_TOKEN() 1653 pr_debug("create %s hashsize in IPSET_TOKEN() [all...] |
| /linux/include/net/ |
| H A D | sch_generic.h | 653 unsigned int hashsize; in qdisc_class_find() 638 unsigned int hashsize; global() member
|