Lines Matching defs:td
168 TXN_DETAIL *td;
199 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
200 if (td->xa_status == TXN_XA_SUSPENDED && !LF_ISSET(TMRESUME))
202 if (td->xa_status == TXN_XA_DEADLOCKED)
204 if (td->xa_status == TXN_XA_ABORTED)
208 __xa_txn_init(env, td, off);
209 td->xa_status = TXN_XA_STARTED;
214 td = (TXN_DETAIL *)
216 td->xa_status = TXN_XA_STARTED;
233 TXN_DETAIL *td;
249 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
250 if (td->xa_status == TXN_XA_DEADLOCKED)
253 if (td->status == TXN_ABORTED)
256 if (td->xa_status != TXN_XA_STARTED)
260 td->last_lsn = txn->last_lsn;
267 td->xa_status = TXN_XA_SUSPENDED;
269 td->xa_status = TXN_XA_ENDED;
286 TXN_DETAIL *td;
306 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
308 if (td->xa_status == TXN_XA_DEADLOCKED)
311 if (td->xa_status != TXN_XA_ENDED && td->xa_status != TXN_XA_SUSPENDED)
315 __xa_txn_init(env, td, off);
320 td->xa_status = TXN_XA_PREPARED;
338 TXN_DETAIL *td;
358 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
360 if (td->xa_status == TXN_XA_DEADLOCKED)
363 if (td->xa_status == TXN_XA_ABORTED)
367 td->xa_status != TXN_XA_ENDED && td->xa_status != TXN_XA_SUSPENDED)
370 if (!LF_ISSET(TMONEPHASE) && td->xa_status != TXN_XA_PREPARED)
374 __xa_txn_init(env, td, off);
555 TXN_DETAIL *td;
569 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
571 if (td->xa_status == TXN_XA_DEADLOCKED)
574 if (td->xa_status == TXN_XA_ABORTED)
578 td->xa_status != TXN_XA_ENDED && td->xa_status != TXN_XA_SUSPENDED)
582 __xa_txn_init(env, td, off);
651 __xa_txn_init(env, td, off)
653 TXN_DETAIL *td;
661 txn->last_lsn = td->last_lsn;
662 txn->txnid = td->txnid;