/macosx-10.9.5/BerkeleyDB-21/db/mp/ |
H A D | mp_bh.c | 28 __memp_bhwrite(dbmp, hp, mfp, bhp, open_extents) 32 BH *bhp; 48 return (__memp_pgwrite(env, NULL, hp, bhp)); 166 MVCC_MPROTECT(bhp->buf, mfp->stat.st_pagesize, 168 ret = __memp_pgwrite(env, dbmfp, hp, bhp); 193 __memp_pgread(dbmfp, hp, bhp, can_create) 196 BH *bhp; 210 DB_ASSERT(env, !F_ISSET(bhp, BH_DIRTY_CREATE | BH_LOCKED)); 211 DB_ASSERT(env, can_create || !F_ISSET(bhp, BH_DIRTY)); 214 F_SET(bhp, BH_LOCKE [all...] |
H A D | mp_alloc.c | 33 BH *bhp, *mvcc_bhp, *t1bhp, *t2bhp, *t3bhp; local 251 retry_search: bhp = mvcc_bhp = NULL; 264 (bhp == NULL || 265 bhp->priority > t1bhp->priority)) 266 bhp = t1bhp; 303 bhp = t3bhp; 316 * bhp is either NULL or the lowest-LRU singleton buffer. 322 if (bhp == NULL) { 325 bhp = mvcc_bhp; 329 priority = bhp 560 BH *bhp, *last_bhp; local [all...] |
H A D | mp_fget.c | 111 BH *alloc_bhp, *bhp, *frozen_bhp, *oldest_bhp; local 137 alloc_bhp = bhp = frozen_bhp = NULL; 245 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) { 247 if (bhp->pgno != *pgnoaddr || bhp->mf_offset != mf_offset) 252 while (bhp != NULL && 253 !BH_OWNED_BY(env, bhp, txn) && 254 !BH_VISIBLE(env, bhp, read_lsnp, vlsn)) 255 bhp = SH_CHAIN_PREV(bhp, v [all...] |
H A D | mp_fset.c | 32 BH *bhp; local 49 bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); 50 pgno = bhp->pgno; 68 (!BH_OWNED_BY(env, bhp, ancestor) || SH_CHAIN_HASNEXT(bhp, vc))) { 92 bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); 93 DB_ASSERT(env, pgno == bhp->pgno); 102 if (mvcc && txn != NULL && SH_CHAIN_HASNEXT(bhp, vc)) { 108 if (!F_ISSET(bhp, BH_DIRTY)) { 110 F_SET(bhp, BH_DIRT [all...] |
H A D | mp_fput.c | 67 BH *bhp; local 85 bhp = (BH *)((u_int8_t *)pgaddr - SSZA(BH, buf)); 123 MP_GET_BUCKET(env, mfp, bhp->pgno, &infop, hp, ret); 132 if (bhp->ref == 0) { 134 __memp_fn(dbmfp), (u_long)bhp->pgno); 135 DB_ASSERT(env, bhp->ref != 0); 147 b_ref = R_OFFSET(infop, bhp); 169 if (F_ISSET(bhp, BH_DIRTY)) { 172 DB_ASSERT(env, !SH_CHAIN_HASNEXT(bhp, vc)); 180 if (--bhp 271 BH *bhp, *tbhp; local 336 BH *bhp; local [all...] |
H A D | mp_mvcc.c | 25 __memp_bh_priority(bhp) 26 BH *bhp; 30 while (SH_CHAIN_HASNEXT(bhp, vc)) 31 bhp = SH_CHAIN_NEXT(bhp, vc, __bh); 33 priority = bhp->priority; 35 while ((bhp = SH_CHAIN_PREV(bhp, vc, __bh)) != NULL) 36 if (bhp->priority < priority) 37 priority = bhp 89 BH *bhp; local [all...] |
H A D | mp_sync.c | 256 BH *bhp; local 324 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) { 326 if (!F_ISSET(bhp, BH_DIRTY)) 330 mfp = R_ADDR(dbmp->reginfo, bhp->mf_offset); 367 bharray[ar_cnt].track_pgno = bhp->pgno; 368 bharray[ar_cnt].track_off = bhp->mf_offset; 454 SH_TAILQ_FOREACH(bhp, &hp->hash_bucket, hq, __bh) 455 if (bhp->pgno == bharray[i].track_pgno && 456 bhp->mf_offset == bharray[i].track_off) 466 if (bhp [all...] |
H A D | mp_resize.c | 118 BH *alloc_bhp, *bhp, *current_bhp, *new_bhp, *next_bhp; local 153 SH_TAILQ_FOREACH(bhp, &new_hp->hash_bucket, hq, __bh) { 154 MP_BUCKET(bhp->mf_offset, bhp->pgno, mp->nbuckets, bucket); 162 DB_ASSERT(env, !F_ISSET(bhp, BH_LOCKED | BH_DIRTY) && 163 bhp->ref == 0); 165 new_infop, new_hp, bhp, BH_FREE_FREEMEM)) != 0) { 185 SH_TAILQ_FOREACH(bhp, &old_hp->hash_bucket, hq, __bh) { 186 MP_HASH_BUCKET(MP_HASH(bhp->mf_offset, bhp [all...] |
H A D | mp_stat.c | 699 BH *bhp, *vbhp; local 717 if ((bhp = SH_TAILQ_FIRST(&hp->hash_bucket, __bh)) != NULL) { 731 for (; bhp != NULL; bhp = SH_TAILQ_NEXT(bhp, hq, __bh)) { 732 __memp_print_bh(env, dbmp, NULL, bhp, fmap); 735 for (vbhp = SH_CHAIN_PREV(bhp, vc, __bh); 753 __memp_print_bh(env, dbmp, prefix, bhp, fmap) 757 BH *bhp; 782 if (fmap[i] == INVALID_ROFF || fmap[i] == bhp [all...] |
H A D | mp_region.c | 450 BH *bhp; local 485 while ((bhp = SH_TAILQ_FIRST( 487 if (F_ISSET(bhp, BH_FROZEN)) 489 &hp->hash_bucket, bhp, 492 if (F_ISSET(bhp, BH_DIRTY)) { 494 F_CLR(bhp, 498 dbmp, infop, hp, bhp,
|
/macosx-10.9.5/BerkeleyDB-21/db/dbinc/ |
H A D | mp.h | 545 #define BH_OWNER(env, bhp) \ 546 ((TXN_DETAIL *)R_ADDR(&env->tx_handle->reginfo, bhp->td_off)) 548 #define BH_OWNED_BY(env, bhp, txn) ((txn) != NULL && \ 549 (bhp)->td_off != INVALID_ROFF && \ 550 (txn)->td == BH_OWNER(env, bhp)) 552 #define BH_PRIORITY(bhp) \ 553 (SH_CHAIN_SINGLETON(bhp, vc) ? (bhp)->priority : \ 554 __memp_bh_priority(bhp)) 556 #define VISIBLE_LSN(env, bhp) \ [all...] |
/macosx-10.9.5/libpcap-42/libpcap/ |
H A D | pcap-win32.c | 206 #define bhp ((struct bpf_hdr *)bp) macro 233 caplen = bhp->bh_caplen; 234 hdrlen = bhp->bh_hdrlen; 247 #undef bhp macro
|
H A D | pcap-bpf.c | 1029 #define bhp ((struct bpf_hdr *)bp) macro 1079 caplen = bhp->bh_caplen; 1080 hdrlen = bhp->bh_hdrlen; 1081 datalen = bhp->bh_datalen; 1105 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec; 1111 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000; 1117 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec; 1164 #undef bhp macro
|
/macosx-10.9.5/BerkeleyDB-21/db/env/ |
H A D | env_stat.c | 517 BH *bhp; local 561 bhp = R_ADDR( 564 "\t\tpins: %lu", (u_long)bhp->pgno);
|
/macosx-10.9.5/network_cmds-433/rarpd.tproj/ |
H A D | rarpd.c | 460 #define bhp ((struct bpf_hdr *)bp) macro 466 caplen = bhp->bh_caplen; 467 hdrlen = bhp->bh_hdrlen;
|