Lines Matching refs:tp
407 TM *gp, *mp, *tp;
422 tp = (TM *)(tm_addr + id * sizeof(TM));
474 if (tp->id != 0 && tp->id != id) {
477 progname, id, tp->id);
480 tp->id = id;
483 id, (u_long)tp->mutex);
484 if (tp->wakeme) {
490 tp->wakeme = 1;
497 if ((err = dbenv->mutex_lock(dbenv, tp->mutex)) != 0) {
503 if (tp->wakeme) {
578 TM *gp, *tp;
605 tp = (TM *)(tm_addr + check_id * sizeof(TM));
606 if (!tp->wakeme)
611 id, tp->id, (u_long)tp->mutex);
622 tp->wakeme = 0;
623 if ((err = dbenv->mutex_unlock(dbenv, tp->mutex)) != 0) {