Home
last modified time | relevance | path

Searched refs:TxAnchor (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/fs/jfs/
Djfs_txnmgr.c79 } TxAnchor; variable
121 #define LAZY_LOCK_INIT() spin_lock_init(&TxAnchor.LazyLock);
122 #define LAZY_LOCK(flags) spin_lock_irqsave(&TxAnchor.LazyLock, flags)
123 #define LAZY_UNLOCK(flags) spin_unlock_irqrestore(&TxAnchor.LazyLock, flags)
198 if (!TxAnchor.freelock) { in txLockAlloc()
202 while (!(lid = TxAnchor.freelock)) in txLockAlloc()
203 TXN_SLEEP(&TxAnchor.freelockwait); in txLockAlloc()
204 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc()
206 if ((++TxAnchor.tlocksInUse > TxLockHWM) && (jfs_tlocks_low == 0)) { in txLockAlloc()
218 TxLock[lid].next = TxAnchor.freelock; in txLockFree()
[all …]