Searched refs:hashsize (Results 1 - 17 of 17) sorted by relevance

/linux-master/fs/nfsd/
H A Dnfscache.c180 unsigned int hashsize; local
185 hashsize = nfsd_hashsize(nn->max_drc_entries);
186 nn->maskbits = ilog2(hashsize);
188 nn->drc_hashtbl = kvzalloc(array_size(hashsize,
205 for (i = 0; i < hashsize; i++) {
209 nn->drc_hashsize = hashsize;
/linux-master/net/sunrpc/
H A Dauth.c291 unsigned int hashsize; local
297 hashsize = 1U << new->hashbits;
298 new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL);
383 unsigned int hashsize = 1U << cache->hashbits; local
388 for (i = 0; i < hashsize; i++) {
/linux-master/drivers/crypto/
H A Datmel-sha.c477 unsigned int i, hashsize = 0; local
492 hashsize = SHA1_DIGEST_SIZE;
497 hashsize = SHA256_DIGEST_SIZE;
502 hashsize = SHA256_DIGEST_SIZE;
507 hashsize = SHA512_DIGEST_SIZE;
512 hashsize = SHA512_DIGEST_SIZE;
533 for (i = 0; i < hashsize / sizeof(u32); ++i)
926 unsigned int i, hashsize; local
930 hashsize = SHA1_DIGEST_SIZE;
935 hashsize
[all...]
/linux-master/net/sched/
H A Dsch_drr.c286 for (i = 0; i < q->clhash.hashsize; i++) {
431 for (i = 0; i < q->clhash.hashsize; i++) {
449 for (i = 0; i < q->clhash.hashsize; i++) {
H A Dsch_qfq.c671 for (i = 0; i < q->clhash.hashsize; i++) {
1469 for (i = 0; i < q->clhash.hashsize; i++) {
1488 for (i = 0; i < q->clhash.hashsize; i++) {
H A Dsch_hfsc.c1365 for (i = 0; i < q->clhash.hashsize; i++) {
1490 for (i = 0; i < q->clhash.hashsize; i++) {
1506 for (i = 0; i < q->clhash.hashsize; i++) {
1512 for (i = 0; i < q->clhash.hashsize; i++) {
H A Dsch_htb.c1003 for (i = 0; i < q->clhash.hashsize; i++) {
1306 for (i = 0; i < q->clhash.hashsize; i++) {
1640 for (i = 0; i < q->clhash.hashsize; i++) {
1650 for (i = 0; i < q->clhash.hashsize; i++) {
2131 for (i = 0; i < q->clhash.hashsize; i++) {
H A Dsch_api.c694 if (clhash->hashelems * 4 <= clhash->hashsize * 3)
696 nsize = clhash->hashsize * 2;
703 osize = clhash->hashsize;
713 clhash->hashsize = nsize;
728 clhash->hashsize = size;
/linux-master/fs/jffs2/
H A Dfs.c498 * Count how many megabytes we're dealing with, apply a hashsize twice
504 int hashsize = (size_mb * 2) & ~0x3f; local
506 if (hashsize < INOCACHE_HASHSIZE_MIN)
508 if (hashsize > INOCACHE_HASHSIZE_MAX)
511 return hashsize;
/linux-master/net/netfilter/
H A Dnf_conntrack_core.c2577 int nf_conntrack_hash_resize(unsigned int hashsize) argument
2585 if (!hashsize)
2588 hash = nf_ct_alloc_hashtable(&hashsize, 1);
2594 if (old_size == hashsize) {
2621 &h->tuple, zone_id, hashsize);
2628 nf_conntrack_htable_size = hashsize;
2643 unsigned int hashsize; local
2653 rc = kstrtouint(val, 0, &hashsize);
2657 return nf_conntrack_hash_resize(hashsize);
H A Dnf_conntrack_proto.c695 module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,
/linux-master/drivers/net/
H A Dgtp.c1039 int hashsize, err; local
1044 hashsize = 1024;
1046 hashsize = nla_get_u32(data[IFLA_GTP_PDP_HASHSIZE]);
1047 if (!hashsize)
1048 hashsize = 1024;
1065 err = gtp_hashtable_new(gtp, hashsize);
/linux-master/kernel/futex/
H A Dcore.c52 unsigned long hashsize; member in struct:__anon24
55 #define futex_hashsize (__futex_data.hashsize)
/linux-master/include/net/netfilter/
H A Dnf_conntrack.h330 int nf_conntrack_hash_resize(unsigned int hashsize);
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_gen.h617 /* Resize a hash: create a new hash table with doubling the hashsize
801 pr_warn("Cannot increase the hashsize of set %s further\n", set->name);
1461 u32 hashsize = IPSET_DEFAULT_HASHSIZE, maxelem = IPSET_DEFAULT_MAXELEM; local
1545 hashsize = ip_set_get_h32(tb[IPSET_ATTR_HASHSIZE]);
1546 if (hashsize < IPSET_MIMINAL_HASHSIZE)
1547 hashsize = IPSET_MIMINAL_HASHSIZE;
1558 /* Compute htable_bits from the user input parameter hashsize.
1559 * Assume that hashsize == 2^htable_bits,
1562 hbits = fls(hashsize - 1);
1637 pr_debug("create %s hashsize
[all...]
/linux-master/drivers/crypto/stm32/
H A Dstm32-hash.c934 unsigned int i, hashsize; local
939 hashsize = crypto_ahash_digestsize(tfm);
941 for (i = 0; i < hashsize / sizeof(u32); i++) {
/linux-master/include/net/
H A Dsch_generic.h611 unsigned int hashsize; member in struct:Qdisc_class_hash

Completed in 180 milliseconds