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

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/
H A Dhash.c29 hashtable_create(int hashsize, int limit, argument
37 + hashsize * sizeof(struct list_head);
45 for (i=0; i<hashsize; i++)
48 h->hashsize = hashsize;
106 for (i=0; i < table->hashsize; i++) {
124 for (i=from; i < table->hashsize && i < from+steps; i++) {
H A Dcache-ct.c47 * Instead of returning hash % table->hashsize (implying a divide)
48 * we return the high 32 bits of the (hash * table->hashsize) that will
49 * give results between [0 and hashsize-1] and same hash distribution,
53 return ((uint64_t)jhash2(a, 4, 0) * table->hashsize) >> 32;
68 return ((uint64_t)jhash2(a, 10, 0) * table->hashsize) >> 32;
268 if (STATE_SYNC(commit).current < CONFIG(hashsize)) {
282 if (STATE_SYNC(commit).current < CONFIG(hashsize)) {
H A Dcache-exp.c47 * Instead of returning hash % table->hashsize (implying a divide)
48 * we return the high 32 bits of the (hash * table->hashsize) that will
49 * give results between [0 and hashsize-1] and same hash distribution,
53 return ((uint64_t)jhash2(a, 4, 0) * table->hashsize) >> 32;
68 return ((uint64_t)jhash2(a, 10, 0) * table->hashsize) >> 32;
245 if (STATE_SYNC(commit).current < CONFIG(hashsize)) {
H A Dfilter.c52 return jhash_1word(*f, 0) % table->hashsize;
57 return jhash2(data, 4, 0) % table->hashsize;
H A Dread_config_yy.y737 hashsize : T_HASHSIZE T_NUMBER label
739 conf.hashsize = $2;
1107 general_line: hashsize
H A Dcache.c101 c->h = hashtable_create(CONFIG(hashsize),
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/tdb/tools/
H A Dtdbbackup.c96 printf(" -n hashsize set the new hash size for the backup\n");
106 int hashsize = 0; local
121 hashsize = atoi(optarg);
146 backup_tdb(fname, bak_name, hashsize) != 0) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/
H A Dwrite-java.c177 unsigned int hashsize; local
187 i.e. total number of times that 1 + (hashcode % (hashsize - 2))
189 hashsize values are allowed. */
192 for (hashsize = n; hashsize <= XXN * n; hashsize++)
199 ascending loop and on the fact that score >= hashsize. */
200 if (hashsize >= best_score)
203 bitmap = XNMALLOC (hashsize, char);
204 memset (bitmap, 0, hashsize);
313 compute_table_items(message_list_ty *mlp, unsigned int hashsize) argument
465 write_lookup_code(FILE *stream, unsigned int hashsize, bool collisions) argument
748 unsigned int hashsize; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/include/
H A Dhash.h13 uint32_t hashsize; member in struct:hashtable
29 hashtable_create(int hashsize, int limit,
H A Dconntrackd.h91 int hashsize; /* hashtable size */ member in struct:ct_conf
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dmultiif.h35 struct Curl_multi *Curl_multi_handle(int hashsize, int chashsize);
H A Dmulti.c253 static struct curl_hash *sh_init(int hashsize) argument
255 return Curl_hash_alloc(hashsize, hash_fd, fd_key_compare,
285 struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */ argument
299 multi->sockhash = sh_init(hashsize);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dlist.h45 #define hashsize(n) ((uint32_t)1<<(n)) macro
46 #define hashmask(n) (hashsize(n)-1)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/
H A Dauth.c198 unsigned int hashsize; local
204 hashsize = 1U << new->hashbits;
205 new->hashtable = kcalloc(hashsize, sizeof(new->hashtable[0]), GFP_KERNEL);
243 unsigned int hashsize = 1U << cache->hashbits; local
248 for (i = 0; i < hashsize; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/tests/
H A Dfipsdrv.c1548 unsigned int hashsize;
1550 hashsize = gcry_md_get_algo_dlen (hashalgo);
1551 if (!hashsize || hashsize > sizeof hash)
1557 (int)hashsize, hash);
1636 unsigned int hashsize;
1638 hashsize = gcry_md_get_algo_dlen (hashalgo);
1639 if (!hashsize || hashsize > sizeof hash)
1645 (int)hashsize, has
1542 unsigned int hashsize; local
1629 unsigned int hashsize; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Dfipsdrv.c1548 unsigned int hashsize;
1550 hashsize = gcry_md_get_algo_dlen (hashalgo);
1551 if (!hashsize || hashsize > sizeof hash)
1557 (int)hashsize, hash);
1636 unsigned int hashsize;
1638 hashsize = gcry_md_get_algo_dlen (hashalgo);
1639 if (!hashsize || hashsize > sizeof hash)
1645 (int)hashsize, has
1542 unsigned int hashsize; local
1629 unsigned int hashsize; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sched/
H A Dsch_drr.c301 for (i = 0; i < q->clhash.hashsize; i++) {
460 for (i = 0; i < q->clhash.hashsize; i++) {
479 for (i = 0; i < q->clhash.hashsize; i++) {
H A Dsch_api.c545 if (clhash->hashelems * 4 <= clhash->hashsize * 3)
547 nsize = clhash->hashsize * 2;
554 osize = clhash->hashsize;
564 clhash->hashsize = nsize;
579 clhash->hashsize = size;
588 qdisc_class_hash_free(clhash->hash, clhash->hashsize);
H A Dsch_cbq.c996 for (h = 0; h < q->clhash.hashsize; h++) {
1034 for (h = 0; h < q->clhash.hashsize; h++) {
1173 for (h = 0; h < q->clhash.hashsize; h++) {
1651 for (h = 0; h < q->clhash.hashsize; h++) {
1655 for (h = 0; h < q->clhash.hashsize; h++) {
1960 for (h = 0; h < q->clhash.hashsize; h++) {
H A Dsch_hfsc.c1381 for (i = 0; i < q->clhash.hashsize; i++) {
1511 for (i = 0; i < q->clhash.hashsize; i++) {
1529 for (i = 0; i < q->clhash.hashsize; i++) {
1533 for (i = 0; i < q->clhash.hashsize; i++) {
H A Dsch_htb.c941 for (i = 0; i < q->clhash.hashsize; i++) {
1222 for (i = 0; i < q->clhash.hashsize; i++) {
1226 for (i = 0; i < q->clhash.hashsize; i++) {
1521 for (i = 0; i < q->clhash.hashsize; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/ssl/
H A Dt1_enc.c973 int hashsize = EVP_MD_size(md); local
975 if (!hdgst || hashsize < 0
976 || hashsize > (int)(sizeof buf - (size_t)(q - buf))) {
984 (i != (unsigned int)hashsize))
986 q += hashsize;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/ssl/
H A Dt1_enc.c973 int hashsize = EVP_MD_size(md); local
975 if (!hdgst || hashsize < 0
976 || hashsize > (int)(sizeof buf - (size_t)(q - buf))) {
984 (i != (unsigned int)hashsize))
986 q += hashsize;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/
H A Dnf_conntrack_core.c1904 unsigned int hashsize, old_size; local
1916 hashsize = simple_strtoul(val, NULL, 0);
1917 if (!hashsize)
1920 hash = nf_ct_alloc_hashtable(&hashsize, &vmalloced, 1);
1937 hashsize,
1946 init_net.ct.htable_size = nf_conntrack_htable_size = hashsize;
1956 module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/netfilter/
H A Dnf_conntrack_l3proto_ipv4.c363 module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,

Completed in 277 milliseconds

12