TxAnchor 66 fs/jfs/jfs_txnmgr.c } TxAnchor; TxAnchor 108 fs/jfs/jfs_txnmgr.c #define LAZY_LOCK_INIT() spin_lock_init(&TxAnchor.LazyLock); TxAnchor 109 fs/jfs/jfs_txnmgr.c #define LAZY_LOCK(flags) spin_lock_irqsave(&TxAnchor.LazyLock, flags) TxAnchor 110 fs/jfs/jfs_txnmgr.c #define LAZY_UNLOCK(flags) spin_unlock_irqrestore(&TxAnchor.LazyLock, flags) TxAnchor 185 fs/jfs/jfs_txnmgr.c if (!TxAnchor.freelock) { TxAnchor 189 fs/jfs/jfs_txnmgr.c while (!(lid = TxAnchor.freelock)) TxAnchor 190 fs/jfs/jfs_txnmgr.c TXN_SLEEP(&TxAnchor.freelockwait); TxAnchor 191 fs/jfs/jfs_txnmgr.c TxAnchor.freelock = TxLock[lid].next; TxAnchor 193 fs/jfs/jfs_txnmgr.c if ((++TxAnchor.tlocksInUse > TxLockHWM) && (jfs_tlocks_low == 0)) { TxAnchor 205 fs/jfs/jfs_txnmgr.c TxLock[lid].next = TxAnchor.freelock; TxAnchor 206 fs/jfs/jfs_txnmgr.c TxAnchor.freelock = lid; TxAnchor 207 fs/jfs/jfs_txnmgr.c TxAnchor.tlocksInUse--; TxAnchor 208 fs/jfs/jfs_txnmgr.c if (jfs_tlocks_low && (TxAnchor.tlocksInUse < TxLockLWM)) { TxAnchor 211 fs/jfs/jfs_txnmgr.c TXN_WAKEUP(&TxAnchor.lowlockwait); TxAnchor 213 fs/jfs/jfs_txnmgr.c TXN_WAKEUP(&TxAnchor.freelockwait); TxAnchor 284 fs/jfs/jfs_txnmgr.c TxAnchor.freetid = 1; TxAnchor 285 fs/jfs/jfs_txnmgr.c init_waitqueue_head(&TxAnchor.freewait); TxAnchor 306 fs/jfs/jfs_txnmgr.c init_waitqueue_head(&TxAnchor.freelockwait); TxAnchor 307 fs/jfs/jfs_txnmgr.c init_waitqueue_head(&TxAnchor.lowlockwait); TxAnchor 309 fs/jfs/jfs_txnmgr.c TxAnchor.freelock = 1; TxAnchor 310 fs/jfs/jfs_txnmgr.c TxAnchor.tlocksInUse = 0; TxAnchor 311 fs/jfs/jfs_txnmgr.c INIT_LIST_HEAD(&TxAnchor.anon_list); TxAnchor 312 fs/jfs/jfs_txnmgr.c INIT_LIST_HEAD(&TxAnchor.anon_list2); TxAnchor 315 fs/jfs/jfs_txnmgr.c INIT_LIST_HEAD(&TxAnchor.unlock_queue); TxAnchor 379 fs/jfs/jfs_txnmgr.c if (TxAnchor.tlocksInUse > TxLockVHWM) { TxAnchor 381 fs/jfs/jfs_txnmgr.c TXN_SLEEP(&TxAnchor.lowlockwait); TxAnchor 389 fs/jfs/jfs_txnmgr.c if ((t = TxAnchor.freetid) == 0) { TxAnchor 392 fs/jfs/jfs_txnmgr.c TXN_SLEEP(&TxAnchor.freewait); TxAnchor 402 fs/jfs/jfs_txnmgr.c TXN_SLEEP(&TxAnchor.freewait); TxAnchor 406 fs/jfs/jfs_txnmgr.c TxAnchor.freetid = tblk->next; TxAnchor 470 fs/jfs/jfs_txnmgr.c if (TxAnchor.tlocksInUse > TxLockVHWM) { TxAnchor 472 fs/jfs/jfs_txnmgr.c TXN_SLEEP(&TxAnchor.lowlockwait); TxAnchor 528 fs/jfs/jfs_txnmgr.c tblk->next = TxAnchor.freetid; TxAnchor 529 fs/jfs/jfs_txnmgr.c TxAnchor.freetid = tid; TxAnchor 563 fs/jfs/jfs_txnmgr.c TXN_WAKEUP(&TxAnchor.freewait); TxAnchor 751 fs/jfs/jfs_txnmgr.c &TxAnchor.anon_list); TxAnchor 1035 fs/jfs/jfs_txnmgr.c &TxAnchor.anon_list); TxAnchor 2740 fs/jfs/jfs_txnmgr.c while (!list_empty(&TxAnchor.unlock_queue)) { TxAnchor 2742 fs/jfs/jfs_txnmgr.c list_for_each_entry(tblk, &TxAnchor.unlock_queue, TxAnchor 2797 fs/jfs/jfs_txnmgr.c if (!list_empty(&TxAnchor.unlock_queue)) TxAnchor 2810 fs/jfs/jfs_txnmgr.c list_add_tail(&tblk->cqueue, &TxAnchor.unlock_queue); TxAnchor 2853 fs/jfs/jfs_txnmgr.c while (!list_empty(&TxAnchor.anon_list)) { TxAnchor 2854 fs/jfs/jfs_txnmgr.c jfs_ip = list_entry(TxAnchor.anon_list.next, TxAnchor 2881 fs/jfs/jfs_txnmgr.c if (!list_empty(&TxAnchor.anon_list2)) { TxAnchor 2882 fs/jfs/jfs_txnmgr.c list_splice_init(&TxAnchor.anon_list2, &TxAnchor.anon_list); TxAnchor 2924 fs/jfs/jfs_txnmgr.c while (jfs_tlocks_low && !list_empty(&TxAnchor.anon_list)) { TxAnchor 2925 fs/jfs/jfs_txnmgr.c jfs_ip = list_entry(TxAnchor.anon_list.next, TxAnchor 2962 fs/jfs/jfs_txnmgr.c &TxAnchor.anon_list2); TxAnchor 2970 fs/jfs/jfs_txnmgr.c list_splice_init(&TxAnchor.anon_list2, &TxAnchor.anon_list); TxAnchor 2994 fs/jfs/jfs_txnmgr.c waitqueue_active(&TxAnchor.freewait) ? "active" : "empty"; TxAnchor 2996 fs/jfs/jfs_txnmgr.c waitqueue_active(&TxAnchor.freelockwait) ? "active" : "empty"; TxAnchor 2998 fs/jfs/jfs_txnmgr.c waitqueue_active(&TxAnchor.lowlockwait) ? "active" : "empty"; TxAnchor 3011 fs/jfs/jfs_txnmgr.c TxAnchor.freetid, TxAnchor 3013 fs/jfs/jfs_txnmgr.c TxAnchor.freelock, TxAnchor 3016 fs/jfs/jfs_txnmgr.c TxAnchor.tlocksInUse, TxAnchor 3018 fs/jfs/jfs_txnmgr.c list_empty(&TxAnchor.unlock_queue) ? "" : "not ");