Home
last modified time | relevance | path

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

/linux-5.19.10/fs/jfs/
Djfs_txnmgr.c66 } TxAnchor; variable
108 #define LAZY_LOCK_INIT() spin_lock_init(&TxAnchor.LazyLock)
109 #define LAZY_LOCK(flags) spin_lock_irqsave(&TxAnchor.LazyLock, flags)
110 #define LAZY_UNLOCK(flags) spin_unlock_irqrestore(&TxAnchor.LazyLock, flags)
185 if (!TxAnchor.freelock) { in txLockAlloc()
189 while (!(lid = TxAnchor.freelock)) in txLockAlloc()
190 TXN_SLEEP(&TxAnchor.freelockwait); in txLockAlloc()
191 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc()
193 if ((++TxAnchor.tlocksInUse > TxLockHWM) && (jfs_tlocks_low == 0)) { in txLockAlloc()
205 TxLock[lid].next = TxAnchor.freelock; in txLockFree()
[all …]