Searched refs:c_mp (Results 1 - 25 of 33) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/mp/
H A Dmp_alloc.c36 MPOOL *c_mp; local
47 c_mp = infop->primary;
48 dbht = R_ADDR(infop, c_mp->htab);
49 hp_end = &dbht[c_mp->htab_buckets];
56 STAT(c_mp->stat.st_alloc++);
77 high_priority = c_mp->lru_count - c_mp->stat.st_pages / 10;
103 c_mp->stat.st_pages++;
119 if (total_buckets > c_mp->stat.st_alloc_max_buckets)
120 c_mp
[all...]
H A Dmp_fput.c72 MPOOL *c_mp; local
123 c_mp = infop->primary;
124 hp = R_ADDR(infop, c_mp->htab);
139 ++c_mp->put_counter;
207 bhp->priority = c_mp->lru_count;
233 adjust = (int)c_mp->stat.st_pages / pfactor;
236 adjust += (int)c_mp->stat.st_pages / MPOOL_PRI_DIRTY;
259 if (++c_mp->lru_count == UINT32_MAX)
278 MPOOL *c_mp; local
281 c_mp
[all...]
H A Dmp_trickle.c53 MPOOL *c_mp, *mp; local
80 c_mp = dbmp->reginfo[i].primary;
81 total += c_mp->stat.st_pages;
82 __memp_stat_hash(&dbmp->reginfo[i], c_mp, &dtmp);
H A Dmp_stat.c85 MPOOL *c_mp, *mp; local
125 c_mp = dbmp->reginfo[i].primary;
127 sp->st_map += c_mp->stat.st_map;
128 sp->st_cache_hit += c_mp->stat.st_cache_hit;
129 sp->st_cache_miss += c_mp->stat.st_cache_miss;
130 sp->st_page_create += c_mp->stat.st_page_create;
131 sp->st_page_in += c_mp->stat.st_page_in;
132 sp->st_page_out += c_mp->stat.st_page_out;
133 sp->st_ro_evict += c_mp->stat.st_ro_evict;
134 sp->st_rw_evict += c_mp
710 MPOOL *c_mp; local
[all...]
H A Dmp_mvcc.c136 MPOOL *c_mp; local
146 c_mp = infop->primary;
157 frozen_bhp = SH_TAILQ_FIRST(&c_mp->free_frozen, __bh);
159 SH_TAILQ_REMOVE(&c_mp->free_frozen, frozen_bhp, hq, __bh);
160 *need_frozenp = SH_TAILQ_EMPTY(&c_mp->free_frozen);
170 SH_TAILQ_INSERT_TAIL(&c_mp->alloc_frozen,
192 nbucket = (u_int32_t)(hp - (DB_MPOOL_HASH *)R_ADDR(infop, c_mp->htab));
341 SH_TAILQ_INSERT_TAIL(&c_mp->free_frozen,
387 MPOOL *c_mp; local
401 c_mp
[all...]
H A Dmp_fset.c37 MPOOL *c_mp; local
108 c_mp = infop->primary;
109 hp = R_ADDR(infop, c_mp->htab);
H A Dmp_region.c468 MPOOL *mp, *c_mp; local
494 c_mp = infop->primary;
495 for (hp = R_ADDR(infop, c_mp->htab), bucket = 0;
496 bucket < c_mp->htab_buckets; ++hp, ++bucket) {
521 &c_mp->alloc_frozen, __bh_frozen_a)) != NULL) {
522 SH_TAILQ_REMOVE(&c_mp->alloc_frozen, frozen_alloc,
568 c_mp = infop->primary;
570 __memp_free(infop, R_ADDR(infop, c_mp->htab));
H A Dmp_fget.c116 MPOOL *c_mp; local
128 COMPQUIET(c_mp, NULL);
238 c_mp = infop->primary;
337 SH_TAILQ_INSERT_TAIL(&c_mp->free_frozen,
383 ++c_mp->stat.st_hash_searches;
384 if (st_hsearch > c_mp->stat.st_hash_longest)
385 c_mp->stat.st_hash_longest = st_hsearch;
386 c_mp->stat.st_hash_examined += st_hsearch;
601 * In the DB_MPOOL_NEW code path, hp, infop and c_mp have
610 c_mp
[all...]
H A Dmp_bh.c530 MPOOL *c_mp;
618 c_mp = infop->primary;
619 c_mp->stat.st_pages--;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/mp/
H A Dmp_alloc.c36 MPOOL *c_mp; local
47 c_mp = infop->primary;
48 dbht = R_ADDR(infop, c_mp->htab);
49 hp_end = &dbht[c_mp->htab_buckets];
56 STAT(c_mp->stat.st_alloc++);
77 high_priority = c_mp->lru_count - c_mp->stat.st_pages / 10;
103 c_mp->stat.st_pages++;
119 if (total_buckets > c_mp->stat.st_alloc_max_buckets)
120 c_mp
[all...]
H A Dmp_fput.c72 MPOOL *c_mp; local
123 c_mp = infop->primary;
124 hp = R_ADDR(infop, c_mp->htab);
139 ++c_mp->put_counter;
207 bhp->priority = c_mp->lru_count;
233 adjust = (int)c_mp->stat.st_pages / pfactor;
236 adjust += (int)c_mp->stat.st_pages / MPOOL_PRI_DIRTY;
259 if (++c_mp->lru_count == UINT32_MAX)
278 MPOOL *c_mp; local
281 c_mp
[all...]
H A Dmp_trickle.c53 MPOOL *c_mp, *mp; local
80 c_mp = dbmp->reginfo[i].primary;
81 total += c_mp->stat.st_pages;
82 __memp_stat_hash(&dbmp->reginfo[i], c_mp, &dtmp);
H A Dmp_stat.c85 MPOOL *c_mp, *mp; local
125 c_mp = dbmp->reginfo[i].primary;
127 sp->st_map += c_mp->stat.st_map;
128 sp->st_cache_hit += c_mp->stat.st_cache_hit;
129 sp->st_cache_miss += c_mp->stat.st_cache_miss;
130 sp->st_page_create += c_mp->stat.st_page_create;
131 sp->st_page_in += c_mp->stat.st_page_in;
132 sp->st_page_out += c_mp->stat.st_page_out;
133 sp->st_ro_evict += c_mp->stat.st_ro_evict;
134 sp->st_rw_evict += c_mp
710 MPOOL *c_mp; local
[all...]
H A Dmp_mvcc.c136 MPOOL *c_mp; local
146 c_mp = infop->primary;
157 frozen_bhp = SH_TAILQ_FIRST(&c_mp->free_frozen, __bh);
159 SH_TAILQ_REMOVE(&c_mp->free_frozen, frozen_bhp, hq, __bh);
160 *need_frozenp = SH_TAILQ_EMPTY(&c_mp->free_frozen);
170 SH_TAILQ_INSERT_TAIL(&c_mp->alloc_frozen,
192 nbucket = (u_int32_t)(hp - (DB_MPOOL_HASH *)R_ADDR(infop, c_mp->htab));
341 SH_TAILQ_INSERT_TAIL(&c_mp->free_frozen,
387 MPOOL *c_mp; local
401 c_mp
[all...]
H A Dmp_fset.c37 MPOOL *c_mp; local
108 c_mp = infop->primary;
109 hp = R_ADDR(infop, c_mp->htab);
H A Dmp_region.c468 MPOOL *mp, *c_mp; local
494 c_mp = infop->primary;
495 for (hp = R_ADDR(infop, c_mp->htab), bucket = 0;
496 bucket < c_mp->htab_buckets; ++hp, ++bucket) {
521 &c_mp->alloc_frozen, __bh_frozen_a)) != NULL) {
522 SH_TAILQ_REMOVE(&c_mp->alloc_frozen, frozen_alloc,
568 c_mp = infop->primary;
570 __memp_free(infop, R_ADDR(infop, c_mp->htab));
H A Dmp_fget.c116 MPOOL *c_mp; local
128 COMPQUIET(c_mp, NULL);
238 c_mp = infop->primary;
337 SH_TAILQ_INSERT_TAIL(&c_mp->free_frozen,
383 ++c_mp->stat.st_hash_searches;
384 if (st_hsearch > c_mp->stat.st_hash_longest)
385 c_mp->stat.st_hash_longest = st_hsearch;
386 c_mp->stat.st_hash_examined += st_hsearch;
601 * In the DB_MPOOL_NEW code path, hp, infop and c_mp have
610 c_mp
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/mp/
H A Dmp_alloc.c36 MPOOL *c_mp; local
47 c_mp = infop->primary;
48 dbht = R_ADDR(infop, c_mp->htab);
49 hp_end = &dbht[c_mp->htab_buckets];
56 STAT(c_mp->stat.st_alloc++);
77 high_priority = c_mp->lru_count - c_mp->stat.st_pages / 10;
103 c_mp->stat.st_pages++;
119 if (total_buckets > c_mp->stat.st_alloc_max_buckets)
120 c_mp
[all...]
H A Dmp_fput.c72 MPOOL *c_mp; local
123 c_mp = infop->primary;
124 hp = R_ADDR(infop, c_mp->htab);
139 ++c_mp->put_counter;
207 bhp->priority = c_mp->lru_count;
233 adjust = (int)c_mp->stat.st_pages / pfactor;
236 adjust += (int)c_mp->stat.st_pages / MPOOL_PRI_DIRTY;
259 if (++c_mp->lru_count == UINT32_MAX)
278 MPOOL *c_mp; local
281 c_mp
[all...]
H A Dmp_trickle.c53 MPOOL *c_mp, *mp; local
80 c_mp = dbmp->reginfo[i].primary;
81 total += c_mp->stat.st_pages;
82 __memp_stat_hash(&dbmp->reginfo[i], c_mp, &dtmp);
H A Dmp_stat.c85 MPOOL *c_mp, *mp; local
125 c_mp = dbmp->reginfo[i].primary;
127 sp->st_map += c_mp->stat.st_map;
128 sp->st_cache_hit += c_mp->stat.st_cache_hit;
129 sp->st_cache_miss += c_mp->stat.st_cache_miss;
130 sp->st_page_create += c_mp->stat.st_page_create;
131 sp->st_page_in += c_mp->stat.st_page_in;
132 sp->st_page_out += c_mp->stat.st_page_out;
133 sp->st_ro_evict += c_mp->stat.st_ro_evict;
134 sp->st_rw_evict += c_mp
710 MPOOL *c_mp; local
[all...]
H A Dmp_mvcc.c136 MPOOL *c_mp; local
146 c_mp = infop->primary;
157 frozen_bhp = SH_TAILQ_FIRST(&c_mp->free_frozen, __bh);
159 SH_TAILQ_REMOVE(&c_mp->free_frozen, frozen_bhp, hq, __bh);
160 *need_frozenp = SH_TAILQ_EMPTY(&c_mp->free_frozen);
170 SH_TAILQ_INSERT_TAIL(&c_mp->alloc_frozen,
192 nbucket = (u_int32_t)(hp - (DB_MPOOL_HASH *)R_ADDR(infop, c_mp->htab));
341 SH_TAILQ_INSERT_TAIL(&c_mp->free_frozen,
387 MPOOL *c_mp; local
401 c_mp
[all...]
H A Dmp_fset.c37 MPOOL *c_mp; local
108 c_mp = infop->primary;
109 hp = R_ADDR(infop, c_mp->htab);
H A Dmp_region.c468 MPOOL *mp, *c_mp; local
494 c_mp = infop->primary;
495 for (hp = R_ADDR(infop, c_mp->htab), bucket = 0;
496 bucket < c_mp->htab_buckets; ++hp, ++bucket) {
521 &c_mp->alloc_frozen, __bh_frozen_a)) != NULL) {
522 SH_TAILQ_REMOVE(&c_mp->alloc_frozen, frozen_alloc,
568 c_mp = infop->primary;
570 __memp_free(infop, R_ADDR(infop, c_mp->htab));
H A Dmp_fget.c116 MPOOL *c_mp; local
128 COMPQUIET(c_mp, NULL);
238 c_mp = infop->primary;
337 SH_TAILQ_INSERT_TAIL(&c_mp->free_frozen,
383 ++c_mp->stat.st_hash_searches;
384 if (st_hsearch > c_mp->stat.st_hash_longest)
385 c_mp->stat.st_hash_longest = st_hsearch;
386 c_mp->stat.st_hash_examined += st_hsearch;
601 * In the DB_MPOOL_NEW code path, hp, infop and c_mp have
610 c_mp
[all...]

Completed in 260 milliseconds

12