/linux-master/fs/nfsd/ |
H A D | nfscache.c | 180 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 D | auth.c | 291 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 D | atmel-sha.c | 477 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 D | sch_drr.c | 286 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 D | sch_qfq.c | 671 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 D | sch_hfsc.c | 1365 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 D | sch_htb.c | 1003 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 D | sch_api.c | 694 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 D | fs.c | 498 * 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 D | nf_conntrack_core.c | 2577 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 D | nf_conntrack_proto.c | 695 module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,
|
/linux-master/drivers/net/ |
H A D | gtp.c | 1039 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 D | core.c | 52 unsigned long hashsize; member in struct:__anon24 55 #define futex_hashsize (__futex_data.hashsize)
|
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack.h | 330 int nf_conntrack_hash_resize(unsigned int hashsize);
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 617 /* 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 D | stm32-hash.c | 934 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 D | sch_generic.h | 611 unsigned int hashsize; member in struct:Qdisc_class_hash
|