Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_txnmgr.c182 lid_t lid; in txLockAlloc() local
189 while (!(lid = TxAnchor.freelock)) in txLockAlloc()
191 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc()
192 HIGHWATERMARK(stattx.maxlid, lid); in txLockAlloc()
199 return lid; in txLockAlloc()
202 static void txLockFree(lid_t lid) in txLockFree() argument
204 TxLock[lid].tid = 0; in txLockFree()
205 TxLock[lid].next = TxAnchor.freelock; in txLockFree()
206 TxAnchor.freelock = lid; in txLockFree()
587 lid_t lid; in txLock() local
[all …]
Djfs_xtree.c2484 if (mp->lid) in xtTruncate()
2485 lid_to_tlock(mp->lid)->flag |= tlckFREELOCK; in xtTruncate()
2571 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
2572 lid_to_tlock(mp->lid)->tid) { in xtTruncate()
2573 lid_t lid = mp->lid; in xtTruncate() local
2576 tlck = lid_to_tlock(lid); in xtTruncate()
2578 if (tblk->next == lid) in xtTruncate()
2582 prev->next != lid; in xtTruncate()
2588 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
2590 tblk->last = lid; in xtTruncate()
[all …]
Djfs_txnmgr.h15 #define lid_to_tlock(lid) (&TxLock[lid]) argument
Djfs_metapage.h15 lid_t lid; member
Djfs_logmgr.h468 lid_t lid; /* lock id */ member
Djfs_imap.c597 lid_t lid; in diWrite() local
671 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()
680 tlck = lid_to_tlock(lid); in diWrite()
705 if ((lid = jfs_ip->blid) == 0) in diWrite()
709 tlck = lid_to_tlock(lid); in diWrite()
Djfs_metapage.c179 mp->lid = 0; in alloc_metapage()