Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jfs/
Djfs_txnmgr.c80 } TxAnchor; variable
113 #define LAZY_LOCK_INIT() spin_lock_init(&TxAnchor.LazyLock);
114 #define LAZY_LOCK(flags) spin_lock_irqsave(&TxAnchor.LazyLock, flags)
115 #define LAZY_UNLOCK(flags) spin_unlock_irqrestore(&TxAnchor.LazyLock, flags)
204 if (!TxAnchor.freelock) { in txLockAlloc()
208 while (!(lid = TxAnchor.freelock)) in txLockAlloc()
209 TXN_SLEEP(&TxAnchor.freelockwait); in txLockAlloc()
210 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc()
212 if ((++TxAnchor.tlocksInUse > TxLockHWM) && (TxAnchor.TlocksLow == 0)) { in txLockAlloc()
214 TxAnchor.TlocksLow = 1; in txLockAlloc()
[all …]