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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/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...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/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,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/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.c90 /* max_bucket must be less than the last pgno. */
91 if (m->max_bucket > vdp->last_pgno) {
93 "Page %lu: Impossible max_bucket %lu on meta page",
94 (u_long)pgno, (u_long)m->max_bucket));
96 * Most other fields depend somehow on max_bucket, so
105 * max_bucket, high_mask and low_mask: high_mask must be one
106 * less than the next power of two above max_bucket, and
109 pwr = (m->max_bucket == 0) ? 1 : 1 << __db_log2(m->max_bucket + 1);
431 for (bucket = 0; bucket <= m->max_bucket; bucke
[all...]
H A Dhash.c537 if (hcp->bucket > hcp->hdr->max_bucket) {
938 if (cp->bucket > cp->hdr->max_bucket) {
1149 * We'd like to do this after we've upped max_bucket, but it's
1164 new_bucket = hcp->hdr->max_bucket + 1;
1167 new_double = hcp->hdr->max_bucket == hcp->hdr->high_mask;
1204 &lsn, 0, hcp->hdr->max_bucket, mpgno, &mmeta->lsn,
1224 pgno += hcp->hdr->max_bucket;
1231 (pgno - new_bucket) - hcp->hdr->max_bucket;
1248 hcp->hdr->max_bucket = new_bucket;
1292 if (bucket > hcp->hdr->max_bucket)
[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_open.c282 meta->max_bucket = nbuckets - 1;
520 meta->max_bucket + 1, 0, mmeta->last_pgno)) != 0)
H A Dhash_rec.c729 ++hcp->hdr->max_bucket;
739 hcp->hdr->max_bucket = argp->bucket;
1295 ++hcp->hdr->max_bucket;
1305 hcp->hdr->max_bucket = argp->bucket;
H A Dhash_page.c227 hcp->bucket = hcp->hdr->max_bucket;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/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
H A Ddb_page.h130 u_int32_t max_bucket; /* 72-75: ID of Maximum bucket in use */ member in struct:_hashmeta33
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/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
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/tidspbridge/pmgr/
H A Ddbll.c188 static u16 name_hash(void *key, u16 max_bucket);
913 static u16 name_hash(void *key, u16 max_bucket) argument
928 ret = hash % max_bucket;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_pr.c390 __db_msg(env, "\tmax_bucket: %lu", (u_long)h->max_bucket);
H A Ddb_vrfy.c1741 for (bucket = 0; bucket <= hmeta->max_bucket; bucket++) {

Completed in 202 milliseconds