Lines Matching refs:next

191 	TxAnchor.freelock = TxLock[lid].next;  in txLockAlloc()
205 TxLock[lid].next = TxAnchor.freelock; in txLockFree()
276 TxBlock[k].next = k + 1; in txInit()
280 TxBlock[k].next = 0; in txInit()
304 TxLock[k].next = k + 1; in txInit()
305 TxLock[k].next = 0; in txInit()
403 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
411 TxAnchor.freetid = tblk->next; in txBegin()
423 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
528 assert(tblk->next == 0); in txEnd()
533 tblk->next = TxAnchor.freetid; in txEnd()
655 jfs_ip->atlhead = tlck->next; in txLock()
659 lid_to_tlock(last)->next != lid; in txLock()
660 last = lid_to_tlock(last)->next) { in txLock()
663 lid_to_tlock(last)->next = tlck->next; in txLock()
670 if (tblk->next) in txLock()
671 lid_to_tlock(tblk->last)->next = lid; in txLock()
673 tblk->next = lid; in txLock()
674 tlck->next = 0; in txLock()
738 if (tblk->next) in txLock()
739 lid_to_tlock(tblk->last)->next = lid; in txLock()
741 tblk->next = lid; in txLock()
742 tlck->next = 0; in txLock()
749 tlck->next = jfs_ip->atlhead; in txLock()
751 if (tlck->next == 0) { in txLock()
763 linelock->next = 0; in txLock()
876 for (lid = tblk->next; lid; lid = tlck->next) { in txRelease()
904 lid_t lid, next, llid, k; in txUnlock() local
916 for (lid = tblk->next; lid; lid = next) { in txUnlock()
918 next = tlck->next; in txUnlock()
955 llid = ((struct linelock *) & tlck->lock)->next; in txUnlock()
958 k = linelock->next; in txUnlock()
966 tblk->next = tblk->last = 0; in txUnlock()
1023 if (tblk->next) in txMaplock()
1024 lid_to_tlock(tblk->last)->next = lid; in txMaplock()
1026 tblk->next = lid; in txMaplock()
1027 tlck->next = 0; in txMaplock()
1034 tlck->next = jfs_ip->atlhead; in txMaplock()
1036 if (tlck->next == 0) { in txMaplock()
1048 maplock->next = 0; in txMaplock()
1076 linelock->next = 0; in txLinelock()
1084 linelock->next = tlock->next; in txLinelock()
1085 tlock->next = lid; in txLinelock()
1241 lid_to_tlock(jfs_ip->atltail)->next = tblk->next; in txCommit()
1242 tblk->next = jfs_ip->atlhead; in txCommit()
1382 for (lid = tblk->next; lid; lid = tlck->next) { in txLog()
1666 int next, lwm, hwm; in xtLog() local
1685 next = le16_to_cpu(p->header.nextindex); in xtLog()
1719 if (lwm == next) in xtLog()
1721 if (lwm > next) { in xtLog()
1727 xadlock->count = next - lwm; in xtLog()
1923 if (twm == next - 1) { in xtLog()
1943 if (hwm >= next) { in xtLog()
1954 cpu_to_le16(hwm - next + 1); in xtLog()
1956 xtlck->header.offset = next; in xtLog()
1957 xtlck->header.length = hwm - next + 1; in xtLog()
1971 if (lwm < next) { in xtLog()
1979 xadlock->count = next - lwm; in xtLog()
1983 tlck->ip, mp, xadlock->count, lwm, next); in xtLog()
1991 if (twm == next - 1) { in xtLog()
2012 if (hwm >= next) { in xtLog()
2019 xadlock->count = hwm - next + 1; in xtLog()
2020 xadlock->xdlist = &p->xad[next]; in xtLog()
2023 tlck->ip, mp, xadlock->count, next, hwm); in xtLog()
2180 lid_t lid, next; in txForce() local
2188 tlck = lid_to_tlock(tblk->next); in txForce()
2189 lid = tlck->next; in txForce()
2190 tlck->next = 0; in txForce()
2193 next = tlck->next; in txForce()
2194 tlck->next = tblk->next; in txForce()
2195 tblk->next = lid; in txForce()
2196 lid = next; in txForce()
2203 for (lid = tblk->next; lid; lid = next) { in txForce()
2205 next = tlck->next; in txForce()
2274 for (lid = tblk->next; lid; lid = tlck->next) { in txUpdateMap()
2559 while ((lid = xtlck->next) != 0) { in txFreelock()
2562 xtlck->next = tlck->next; in txFreelock()
2595 lid_t lid, next; in txAbort() local
2603 for (lid = tblk->next; lid; lid = next) { in txAbort()
2605 next = tlck->next; in txAbort()
2631 tblk->next = tblk->last = 0; in txAbort()
2823 jfs_ip = list_entry(TxAnchor.anon_list.next, in txQuiesce()
2895 jfs_ip = list_entry(TxAnchor.anon_list.next, in jfs_sync()