Lines Matching refs:hp
46 DB_MPOOL_HASH *hp;
53 hp = R_ADDR(dbmp->reginfo, mp->ftab);
54 for (i = 0; i < MPOOL_FILE_BUCKETS; i++, hp++) {
55 MUTEX_LOCK(env, hp->mtx_hash);
56 SH_TAILQ_FOREACH(mfp, &hp->hash_bucket, q, __mpoolfile) {
63 MUTEX_UNLOCK(env, hp->mtx_hash);
259 DB_MPOOL_HASH *hp;
306 hp = R_ADDR(&dbmp->reginfo[n_cache], c_mp->htab);
307 for (i = 0; i < c_mp->htab_buckets; i++, hp++) {
316 if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) == NULL)
318 if (hp->hash_page_dirty == 0)
323 MUTEX_LOCK(env, hp->mtx_hash);
324 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) {
366 bharray[ar_cnt].track_hp = hp;
385 DB_ASSERT(env, dirty == hp->hash_page_dirty);
386 if (dirty != hp->hash_page_dirty) {
389 (u_long)hp->hash_page_dirty, (u_long)dirty);
390 hp->hash_page_dirty = dirty;
392 MUTEX_UNLOCK(env, hp->mtx_hash);
448 if ((hp = bharray[i].track_hp) == NULL)
452 mutex = hp->mtx_hash;
454 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh)
551 __memp_bhwrite(dbmp, hp, mfp, bhp, 1)) == 0) {
585 if (F_ISSET(hp, IO_WAITER)) {
586 F_CLR(hp, IO_WAITER);
587 MUTEX_UNLOCK(env, hp->mtx_io);
778 DB_MPOOL_HASH *hp;
797 hp = R_ADDR(dbmp->reginfo, mp->ftab);
798 for (i = 0; i < MPOOL_FILE_BUCKETS; i++, hp++) {
799 retry: MUTEX_LOCK(env, hp->mtx_hash);
800 for (mfp = SH_TAILQ_FIRST(&hp->hash_bucket,
815 MUTEX_UNLOCK(env, hp->mtx_hash);
821 MUTEX_UNLOCK(env, hp->mtx_hash);
839 DB_MPOOL_HASH *hp;
845 COMPQUIET(hp, NULL);
854 hp = R_ADDR(dbmp->reginfo, mp->ftab);
855 hp += FNBUCKET(
857 MUTEX_LOCK(env, hp->mtx_hash);
872 MUTEX_UNLOCK(env, hp->mtx_hash);