Searched refs:max_bucket (Results 1 - 25 of 42) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/tidspbridge/gen/
H A Dgh.c31 u16 max_bucket; member in struct:gh_t_hash_tab
47 struct gh_t_hash_tab *gh_create(u16 max_bucket, u16 val_size, argument
58 hash_tab->max_bucket = max_bucket;
65 gs_alloc(sizeof(struct element *) * max_bucket);
71 for (i = 0; i < max_bucket; i++)
87 for (i = 0; i < hash_tab->max_bucket; i++) {
99 * hash_tab->max_bucket);
125 elem = hash_tab->buckets[(*hash_tab->hash) (key, hash_tab->max_bucket)];
164 i = (*hash_tab->hash) (key, hash_tab->max_bucket);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/tidspbridge/gen/
H A Dgh.c31 u16 max_bucket; member in struct:gh_t_hash_tab
47 struct gh_t_hash_tab *gh_create(u16 max_bucket, u16 val_size, argument
58 hash_tab->max_bucket = max_bucket;
65 gs_alloc(sizeof(struct element *) * max_bucket);
71 for (i = 0; i < max_bucket; i++)
87 for (i = 0; i < hash_tab->max_bucket; i++) {
99 * hash_tab->max_bucket);
125 elem = hash_tab->buckets[(*hash_tab->hash) (key, hash_tab->max_bucket)];
164 i = (*hash_tab->hash) (key, hash_tab->max_bucket);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/tidspbridge/include/dspbridge/
H A Dgh.h21 extern struct gh_t_hash_tab *gh_create(u16 max_bucket, u16 val_size,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/tidspbridge/include/dspbridge/
H A Dgh.h21 extern struct gh_t_hash_tab *gh_create(u16 max_bucket, u16 val_size,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/hash/
H A Dhash_upgrade.c58 /* Copy: max_bucket, high_mask, low-mask, ffactor, nelem, h_charkey */
59 newmeta.max_bucket = oldmeta->max_bucket;
74 maxb = newmeta.max_bucket;
197 newmeta->max_bucket = oldmeta->max_bucket;
H A Dhash_verify.c91 /* max_bucket must be less than the last pgno. */
92 if (m->max_bucket > vdp->last_pgno) {
94 "Page %lu: Impossible max_bucket %lu on meta page",
95 (u_long)pgno, (u_long)m->max_bucket));
97 * Most other fields depend somehow on max_bucket, so
106 * max_bucket, high_mask and low_mask: high_mask must be one
107 * less than the next power of two above max_bucket, and
110 pwr = (m->max_bucket == 0) ? 1 : 1 << __db_log2(m->max_bucket + 1);
436 for (bucket = 0; bucket <= m->max_bucket; bucke
[all...]
H A Dhash_stat.c68 sp->hash_buckets = hcp->hdr->max_bucket + 1;
410 * If look_past_max is not set, we can stop at max_bucket;
425 if (bucket > hcp->hdr->max_bucket)
435 * If we are cleaning up pages past the max_bucket,
H A Dhash.c576 if (hcp->bucket > hcp->hdr->max_bucket) {
977 if (cp->bucket > cp->hdr->max_bucket) {
1189 * We'd like to do this after we've upped max_bucket, but it's
1204 new_bucket = hcp->hdr->max_bucket + 1;
1207 new_double = hcp->hdr->max_bucket == hcp->hdr->high_mask;
1244 &lsn, 0, hcp->hdr->max_bucket, mpgno, &mmeta->lsn,
1264 pgno += hcp->hdr->max_bucket;
1271 (pgno - new_bucket) - hcp->hdr->max_bucket;
1288 hcp->hdr->max_bucket = new_bucket;
1333 if (bucket > hcp->hdr->max_bucket)
[all...]
H A Dhash_open.c288 meta->max_bucket = nbuckets - 1;
538 meta->max_bucket + 1, 0, mmeta->last_pgno)) != 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/hash/
H A Dhash_upgrade.c58 /* Copy: max_bucket, high_mask, low-mask, ffactor, nelem, h_charkey */
59 newmeta.max_bucket = oldmeta->max_bucket;
74 maxb = newmeta.max_bucket;
197 newmeta->max_bucket = oldmeta->max_bucket;
H A Dhash_verify.c91 /* max_bucket must be less than the last pgno. */
92 if (m->max_bucket > vdp->last_pgno) {
94 "Page %lu: Impossible max_bucket %lu on meta page",
95 (u_long)pgno, (u_long)m->max_bucket));
97 * Most other fields depend somehow on max_bucket, so
106 * max_bucket, high_mask and low_mask: high_mask must be one
107 * less than the next power of two above max_bucket, and
110 pwr = (m->max_bucket == 0) ? 1 : 1 << __db_log2(m->max_bucket + 1);
436 for (bucket = 0; bucket <= m->max_bucket; bucke
[all...]
H A Dhash_stat.c68 sp->hash_buckets = hcp->hdr->max_bucket + 1;
410 * If look_past_max is not set, we can stop at max_bucket;
425 if (bucket > hcp->hdr->max_bucket)
435 * If we are cleaning up pages past the max_bucket,
H A Dhash.c576 if (hcp->bucket > hcp->hdr->max_bucket) {
977 if (cp->bucket > cp->hdr->max_bucket) {
1189 * We'd like to do this after we've upped max_bucket, but it's
1204 new_bucket = hcp->hdr->max_bucket + 1;
1207 new_double = hcp->hdr->max_bucket == hcp->hdr->high_mask;
1244 &lsn, 0, hcp->hdr->max_bucket, mpgno, &mmeta->lsn,
1264 pgno += hcp->hdr->max_bucket;
1271 (pgno - new_bucket) - hcp->hdr->max_bucket;
1288 hcp->hdr->max_bucket = new_bucket;
1333 if (bucket > hcp->hdr->max_bucket)
[all...]
H A Dhash_open.c288 meta->max_bucket = nbuckets - 1;
538 meta->max_bucket + 1, 0, mmeta->last_pgno)) != 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/hash/
H A Dhash_upgrade.c58 /* Copy: max_bucket, high_mask, low-mask, ffactor, nelem, h_charkey */
59 newmeta.max_bucket = oldmeta->max_bucket;
74 maxb = newmeta.max_bucket;
197 newmeta->max_bucket = oldmeta->max_bucket;
H A Dhash_verify.c91 /* max_bucket must be less than the last pgno. */
92 if (m->max_bucket > vdp->last_pgno) {
94 "Page %lu: Impossible max_bucket %lu on meta page",
95 (u_long)pgno, (u_long)m->max_bucket));
97 * Most other fields depend somehow on max_bucket, so
106 * max_bucket, high_mask and low_mask: high_mask must be one
107 * less than the next power of two above max_bucket, and
110 pwr = (m->max_bucket == 0) ? 1 : 1 << __db_log2(m->max_bucket + 1);
436 for (bucket = 0; bucket <= m->max_bucket; bucke
[all...]
H A Dhash_stat.c68 sp->hash_buckets = hcp->hdr->max_bucket + 1;
410 * If look_past_max is not set, we can stop at max_bucket;
425 if (bucket > hcp->hdr->max_bucket)
435 * If we are cleaning up pages past the max_bucket,
H A Dhash.c576 if (hcp->bucket > hcp->hdr->max_bucket) {
977 if (cp->bucket > cp->hdr->max_bucket) {
1189 * We'd like to do this after we've upped max_bucket, but it's
1204 new_bucket = hcp->hdr->max_bucket + 1;
1207 new_double = hcp->hdr->max_bucket == hcp->hdr->high_mask;
1244 &lsn, 0, hcp->hdr->max_bucket, mpgno, &mmeta->lsn,
1264 pgno += hcp->hdr->max_bucket;
1271 (pgno - new_bucket) - hcp->hdr->max_bucket;
1288 hcp->hdr->max_bucket = new_bucket;
1333 if (bucket > hcp->hdr->max_bucket)
[all...]
H A Dhash_open.c288 meta->max_bucket = nbuckets - 1;
538 meta->max_bucket + 1, 0, mmeta->last_pgno)) != 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/dbinc/
H A Ddb_upgrade.h60 u_int32_t max_bucket; /* 72-75: ID of Maximum bucket in use */ member in struct:_hashmeta31
149 u_int32_t max_bucket; /* 56-59: ID of Maximum bucket in use */ member in struct:_hashmeta30
227 u_int32_t max_bucket; /* 32-35: ID of Maximum bucket in use */ member in struct:hashhdr
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/dbinc/
H A Ddb_upgrade.h60 u_int32_t max_bucket; /* 72-75: ID of Maximum bucket in use */ member in struct:_hashmeta31
149 u_int32_t max_bucket; /* 56-59: ID of Maximum bucket in use */ member in struct:_hashmeta30
227 u_int32_t max_bucket; /* 32-35: ID of Maximum bucket in use */ member in struct:hashhdr
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/dbinc/
H A Ddb_upgrade.h60 u_int32_t max_bucket; /* 72-75: ID of Maximum bucket in use */ member in struct:_hashmeta31
149 u_int32_t max_bucket; /* 56-59: ID of Maximum bucket in use */ member in struct:_hashmeta30
227 u_int32_t max_bucket; /* 32-35: ID of Maximum bucket in use */ member in struct:hashhdr
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/db_dump185/
H A Ddb_dump185.c42 int max_bucket; /* ID of Maximum bucket in use */ member in struct:hashhdr185
62 int32_t max_bucket; /* ID of Maximum bucket in use */ member in struct:hashhdr186
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/db_dump185/
H A Ddb_dump185.c42 int max_bucket; /* ID of Maximum bucket in use */ member in struct:hashhdr185
62 int32_t max_bucket; /* ID of Maximum bucket in use */ member in struct:hashhdr186
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/db_dump185/
H A Ddb_dump185.c42 int max_bucket; /* ID of Maximum bucket in use */ member in struct:hashhdr185
62 int32_t max_bucket; /* ID of Maximum bucket in use */ member in struct:hashhdr186

Completed in 216 milliseconds

12