Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_txnmgr.c196 lid_t lid; in txLockAlloc() local
203 while (!(lid = TxAnchor.freelock)) in txLockAlloc()
205 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc()
206 HIGHWATERMARK(stattx.maxlid, lid); in txLockAlloc()
213 return lid; in txLockAlloc()
216 static void txLockFree(lid_t lid) in txLockFree() argument
218 TxLock[lid].tid = 0; in txLockFree()
219 TxLock[lid].next = TxAnchor.freelock; in txLockFree()
220 TxAnchor.freelock = lid; in txLockFree()
596 lid_t lid; in txLock() local
[all …]
Djfs_txnmgr.h28 #define lid_to_tlock(lid) (&TxLock[lid]) argument
Djfs_xtree.c3459 if (mp->lid) in xtTruncate()
3460 lid_to_tlock(mp->lid)->flag |= tlckFREELOCK; in xtTruncate()
3546 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
3547 lid_to_tlock(mp->lid)->tid) { in xtTruncate()
3548 lid_t lid = mp->lid; in xtTruncate() local
3551 tlck = lid_to_tlock(lid); in xtTruncate()
3553 if (tblk->next == lid) in xtTruncate()
3557 prev->next != lid; in xtTruncate()
3563 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
3565 tblk->last = lid; in xtTruncate()
[all …]
Djfs_metapage.h28 lid_t lid; member
Djfs_logmgr.h481 lid_t lid; /* lock id */ member
Djfs_imap.c615 lid_t lid; in diWrite() local
689 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()
698 tlck = lid_to_tlock(lid); in diWrite()
723 if ((lid = jfs_ip->blid) == 0) in diWrite()
727 tlck = lid_to_tlock(lid); in diWrite()
Djfs_metapage.c190 mp->lid = 0; in init_once()