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()
582 lid_t lid; in txLock() local
[all …]
Djfs_txnmgr.h15 #define lid_to_tlock(lid) (&TxLock[lid]) argument
Djfs_xtree.c3445 if (mp->lid) in xtTruncate()
3446 lid_to_tlock(mp->lid)->flag |= tlckFREELOCK; in xtTruncate()
3532 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
3533 lid_to_tlock(mp->lid)->tid) { in xtTruncate()
3534 lid_t lid = mp->lid; in xtTruncate() local
3537 tlck = lid_to_tlock(lid); in xtTruncate()
3539 if (tblk->next == lid) in xtTruncate()
3543 prev->next != lid; in xtTruncate()
3549 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
3551 tblk->last = lid; in xtTruncate()
[all …]
Djfs_metapage.h15 lid_t lid; member
Djfs_logmgr.h468 lid_t lid; /* lock id */ member
Djfs_imap.c595 lid_t lid; in diWrite() local
669 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()
678 tlck = lid_to_tlock(lid); in diWrite()
703 if ((lid = jfs_ip->blid) == 0) in diWrite()
707 tlck = lid_to_tlock(lid); in diWrite()
Djfs_metapage.c178 mp->lid = 0; in alloc_metapage()