Lines Matching refs:next
204 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc()
218 TxLock[lid].next = TxAnchor.freelock; in txLockFree()
289 TxBlock[k].next = k + 1; in txInit()
293 TxBlock[k].next = 0; in txInit()
317 TxLock[k].next = k + 1; in txInit()
318 TxLock[k].next = 0; in txInit()
411 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
419 TxAnchor.freetid = tblk->next; in txBegin()
431 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
536 assert(tblk->next == 0); in txEnd()
541 tblk->next = TxAnchor.freetid; in txEnd()
663 jfs_ip->atlhead = tlck->next; in txLock()
667 lid_to_tlock(last)->next != lid; in txLock()
668 last = lid_to_tlock(last)->next) { in txLock()
671 lid_to_tlock(last)->next = tlck->next; in txLock()
678 if (tblk->next) in txLock()
679 lid_to_tlock(tblk->last)->next = lid; in txLock()
681 tblk->next = lid; in txLock()
682 tlck->next = 0; in txLock()
746 if (tblk->next) in txLock()
747 lid_to_tlock(tblk->last)->next = lid; in txLock()
749 tblk->next = lid; in txLock()
750 tlck->next = 0; in txLock()
757 tlck->next = jfs_ip->atlhead; in txLock()
759 if (tlck->next == 0) { in txLock()
771 linelock->next = 0; in txLock()
884 for (lid = tblk->next; lid; lid = tlck->next) { in txRelease()
912 lid_t lid, next, llid, k; in txUnlock() local
924 for (lid = tblk->next; lid; lid = next) { in txUnlock()
926 next = tlck->next; in txUnlock()
963 llid = ((struct linelock *) & tlck->lock)->next; in txUnlock()
966 k = linelock->next; in txUnlock()
974 tblk->next = tblk->last = 0; in txUnlock()
1031 if (tblk->next) in txMaplock()
1032 lid_to_tlock(tblk->last)->next = lid; in txMaplock()
1034 tblk->next = lid; in txMaplock()
1035 tlck->next = 0; in txMaplock()
1042 tlck->next = jfs_ip->atlhead; in txMaplock()
1044 if (tlck->next == 0) { in txMaplock()
1056 maplock->next = 0; in txMaplock()
1084 linelock->next = 0; in txLinelock()
1092 linelock->next = tlock->next; in txLinelock()
1093 tlock->next = lid; in txLinelock()
1249 lid_to_tlock(jfs_ip->atltail)->next = tblk->next; in txCommit()
1250 tblk->next = jfs_ip->atlhead; in txCommit()
1392 for (lid = tblk->next; lid; lid = tlck->next) { in txLog()
1711 int next, lwm, hwm; in xtLog() local
1730 next = le16_to_cpu(p->header.nextindex); in xtLog()
1764 if (lwm == next) in xtLog()
1766 if (lwm > next) { in xtLog()
1772 xadlock->count = next - lwm; in xtLog()
1969 if (twm == next - 1) { in xtLog()
1989 if (hwm >= next) { in xtLog()
2000 cpu_to_le16(hwm - next + 1); in xtLog()
2002 xtlck->header.offset = next; in xtLog()
2003 xtlck->header.length = hwm - next + 1; in xtLog()
2017 if (lwm < next) { in xtLog()
2025 xadlock->count = next - lwm; in xtLog()
2029 tlck->ip, mp, xadlock->count, lwm, next); in xtLog()
2037 if (twm == next - 1) { in xtLog()
2058 if (hwm >= next) { in xtLog()
2065 xadlock->count = hwm - next + 1; in xtLog()
2066 xadlock->xdlist = &p->xad[next]; in xtLog()
2069 tlck->ip, mp, xadlock->count, next, hwm); in xtLog()
2226 lid_t lid, next; in txForce() local
2234 tlck = lid_to_tlock(tblk->next); in txForce()
2235 lid = tlck->next; in txForce()
2236 tlck->next = 0; in txForce()
2239 next = tlck->next; in txForce()
2240 tlck->next = tblk->next; in txForce()
2241 tblk->next = lid; in txForce()
2242 lid = next; in txForce()
2249 for (lid = tblk->next; lid; lid = next) { in txForce()
2251 next = tlck->next; in txForce()
2320 for (lid = tblk->next; lid; lid = tlck->next) { in txUpdateMap()
2605 while ((lid = xtlck->next) != 0) { in txFreelock()
2608 xtlck->next = tlck->next; in txFreelock()
2641 lid_t lid, next; in txAbort() local
2649 for (lid = tblk->next; lid; lid = next) { in txAbort()
2651 next = tlck->next; in txAbort()
2677 tblk->next = tblk->last = 0; in txAbort()
2868 jfs_ip = list_entry(TxAnchor.anon_list.next, in txQuiesce()
2939 jfs_ip = list_entry(TxAnchor.anon_list.next, in jfs_sync()