Lines Matching refs:oldest_bhp
111 BH *alloc_bhp, *bhp, *oldest_bhp;
137 alloc_bhp = bhp = oldest_bhp = NULL;
496 oldest_bhp = SH_CHAIN_PREVP(bhp, vc, __bh);
497 while (SH_CHAIN_HASPREV(oldest_bhp, vc))
498 oldest_bhp = SH_CHAIN_PREVP(
499 oldest_bhp, vc, __bh);
501 if (BH_REFCOUNT(oldest_bhp) == 0 &&
503 oldest_bhp, hp->old_reader, vlsn) &&
509 oldest_bhp, hp->old_reader, vlsn) &&
510 BH_REFCOUNT(oldest_bhp) == 0) {
512 !F_ISSET(oldest_bhp, BH_DIRTY));
513 atomic_inc(env, &oldest_bhp->ref);
514 if (F_ISSET(oldest_bhp, BH_FROZEN)) {
520 infop, hp, oldest_bhp,
528 infop, mfp, hp, oldest_bhp,
531 alloc_bhp = oldest_bhp;
981 if (alloc_bhp != oldest_bhp) {