Lines Matching refs:txn
15 #include "dbinc/txn.h"
224 DB_TXN_ACTIVE *txn;
277 txn = &sp->st_txnarray[i];
280 (u_long)txn->txnid, __txn_status(txn),
281 dbenv->thread_id_string(dbenv, txn->pid, txn->tid, buf),
282 (u_long)txn->lsn.file, (u_long)txn->lsn.offset);
283 if (txn->parentid != 0)
285 "; parent: %lx", (u_long)txn->parentid);
286 if (!IS_MAX_LSN(txn->read_lsn))
288 (u_long)txn->read_lsn.file,
289 (u_long)txn->read_lsn.offset);
290 if (txn->mvcc_ref != 0)
292 "; mvcc refcount: %lu", (u_long)txn->mvcc_ref);
293 if (txn->name[0] != '\0')
294 __db_msgadd(env, &mb, "; \"%s\"", txn->name);
295 if (XID_FIELD_IS_SET(txn))
296 __txn_gid(env, &mb, txn);
367 __txn_status(txn)
368 DB_TXN_ACTIVE *txn;
370 switch (txn->xa_status) {
372 switch (txn->status) {
404 __txn_gid(env, mbp, txn)
407 DB_TXN_ACTIVE *txn;
414 for (cnt = 0, xp = (u_int32_t *)txn->xid, i = 0;;) {