Lines Matching refs:tid

204 	TxLock[lid].tid = 0;  in txLockFree()
492 void txEnd(tid_t tid) in txEnd() argument
494 struct tblock *tblk = tid_to_tblock(tid); in txEnd()
497 jfs_info("txEnd: tid = %d", tid); in txEnd()
517 jfs_info("txEnd called w/lazy tid: %d, tblk = 0x%p", tid, tblk); in txEnd()
526 jfs_info("txEnd: tid: %d, tblk = 0x%p", tid, tblk); in txEnd()
534 TxAnchor.freetid = tid; in txEnd()
582 struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp, in txLock() argument
612 jfs_info("txLock: tid:%d ip:0x%p mp:0x%p lid:%d", tid, ip, mp, lid); in txLock()
616 if ((xtid = tlck->tid) == tid) { in txLock()
633 tlck->tid = tid; in txLock()
635 tblk = tid_to_tblock(tid); in txLock()
692 tlck->tid = tid; in txLock()
705 mp, mp->nohomeok, tid, tlck); in txLock()
712 if ((tid == 0) && mp->lsn) in txLock()
736 if (tid) { in txLock()
737 tblk = tid_to_tblock(tid); in txLock()
830 DUMP_PREFIX_ADDRESS, 16, 4, tid_to_tblock(tid), in txLock()
840 xtid = tlck->tid; /* reacquire after dropping TXN_LOCK */ in txLock()
843 tid, xtid, lid); in txLock()
850 jfs_info("txLock: awakened tid = %d, lid = %d", tid, lid); in txLock()
987 struct tlock *txMaplock(tid_t tid, struct inode *ip, int type) in txMaplock() argument
1006 tlck->tid = tid; in txMaplock()
1021 if (tid) { in txMaplock()
1022 tblk = tid_to_tblock(tid); in txMaplock()
1127 int txCommit(tid_t tid, /* transaction identifier */ in txCommit() argument
1143 jfs_info("txCommit, tid = %d, flag = %d", tid, flag); in txCommit()
1151 cd.tid = tid; in txCommit()
1153 if (tid == 0) in txCommit()
1154 tid = txBegin(sb, 0); in txCommit()
1155 tblk = tid_to_tblock(tid); in txCommit()
1255 if (((rc = diWrite(tid, ip)))) in txCommit()
1354 txAbort(tid, 1); in txCommit()
1357 jfs_info("txCommit: tid = %d, returning %d", tid, rc); in txCommit()
2125 void txEA(tid_t tid, struct inode *ip, dxd_t * oldea, dxd_t * newea) in txEA() argument
2139 tlck = txMaplock(tid, ip, tlckMAP); in txEA()
2159 tlck = txMaplock(tid, ip, tlckMAP); in txEA()
2593 void txAbort(tid_t tid, int dirty) in txAbort() argument
2597 struct tblock *tblk = tid_to_tblock(tid); in txAbort()
2815 tid_t tid; in txQuiesce() local
2832 tid = txBegin(ip->i_sb, COMMIT_INODE | COMMIT_FORCE); in txQuiesce()
2834 txCommit(tid, 1, &ip, 0); in txQuiesce()
2835 txEnd(tid); in txQuiesce()
2885 tid_t tid; in jfs_sync() local
2909 tid = txBegin(ip->i_sb, COMMIT_INODE); in jfs_sync()
2910 txCommit(tid, 1, &ip, 0); in jfs_sync()
2911 txEnd(tid); in jfs_sync()