• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/BerkeleyDB-21/db/mp/

Lines Matching refs:hp

115 	DB_MPOOL_HASH *hp;
140 hp = NULL;
237 MP_GET_BUCKET(env, mfp, *pgnoaddr, &infop, hp, ret);
245 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) {
299 MUTEX_UNLOCK(env, hp->mtx_hash);
311 if (!F_ISSET(hp, IO_WAITER)) {
312 F_SET(hp, IO_WAITER);
313 MUTEX_LOCK(env, hp->mtx_io);
315 STAT(++hp->hash_io_wait);
318 MUTEX_UNLOCK(env, hp->mtx_hash);
321 MUTEX_LOCK(env, hp->mtx_io);
322 MUTEX_UNLOCK(env, hp->mtx_io);
325 MUTEX_LOCK(env, hp->mtx_hash);
337 MUTEX_UNLOCK(env, hp->mtx_hash);
359 MUTEX_UNLOCK(env, hp->mtx_hash);
421 --hp->hash_page_dirty;
439 MUTEX_UNLOCK(env, hp->mtx_hash);
443 dbmp, infop, hp, bhp, BH_FREE_FREEMEM));
480 oldest_bhp, hp->old_reader, vlsn) &&
482 &hp->old_reader)) != 0)
486 oldest_bhp, hp->old_reader, vlsn) &&
491 infop, hp, oldest_bhp,
496 infop, hp, oldest_bhp,
518 MUTEX_UNLOCK(env, hp->mtx_hash);
658 MUTEX_LOCK(env, hp->mtx_hash);
688 MUTEX_UNLOCK(env, hp->mtx_hash);
711 MUTEX_LOCK(env, hp->mtx_hash);
740 SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
745 ++hp->hash_page_dirty;
809 if ((ret = __memp_bh_thaw(dbmp, infop, hp,
823 MUTEX_UNLOCK(env, hp->mtx_hash);
844 hp, bhp, LF_ISSET(DB_MPOOL_CREATE) ? 1 : 0)) != 0)
889 SH_TAILQ_INSERT_BEFORE(&hp->hash_bucket,
891 SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
911 ++hp->hash_page_dirty;
924 if (bhp != SH_TAILQ_LAST(&hp->hash_bucket, hq, __bh)) {
925 SH_TAILQ_REMOVE(&hp->hash_bucket,
927 SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
953 MUTEX_UNLOCK(env, hp->mtx_hash);
1013 MUTEX_LOCK(env, hp->mtx_hash);
1022 MUTEX_UNLOCK(env, hp->mtx_hash);