• Home
  • Raw
  • Download

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()
1700 int next, lwm, hwm; in xtLog() local
1719 next = le16_to_cpu(p->header.nextindex); in xtLog()
1753 if (lwm == next) in xtLog()
1755 if (lwm > next) { in xtLog()
1761 xadlock->count = next - lwm; in xtLog()
1957 if (twm == next - 1) { in xtLog()
1977 if (hwm >= next) { in xtLog()
1988 cpu_to_le16(hwm - next + 1); in xtLog()
1990 xtlck->header.offset = next; in xtLog()
1991 xtlck->header.length = hwm - next + 1; in xtLog()
2005 if (lwm < next) { in xtLog()
2013 xadlock->count = next - lwm; in xtLog()
2017 tlck->ip, mp, xadlock->count, lwm, next); in xtLog()
2025 if (twm == next - 1) { in xtLog()
2046 if (hwm >= next) { in xtLog()
2053 xadlock->count = hwm - next + 1; in xtLog()
2054 xadlock->xdlist = &p->xad[next]; in xtLog()
2057 tlck->ip, mp, xadlock->count, next, hwm); in xtLog()
2214 lid_t lid, next; in txForce() local
2222 tlck = lid_to_tlock(tblk->next); in txForce()
2223 lid = tlck->next; in txForce()
2224 tlck->next = 0; in txForce()
2227 next = tlck->next; in txForce()
2228 tlck->next = tblk->next; in txForce()
2229 tblk->next = lid; in txForce()
2230 lid = next; in txForce()
2237 for (lid = tblk->next; lid; lid = next) { in txForce()
2239 next = tlck->next; in txForce()
2308 for (lid = tblk->next; lid; lid = tlck->next) { in txUpdateMap()
2593 while ((lid = xtlck->next) != 0) { in txFreelock()
2596 xtlck->next = tlck->next; in txFreelock()
2629 lid_t lid, next; in txAbort() local
2637 for (lid = tblk->next; lid; lid = next) { in txAbort()
2639 next = tlck->next; in txAbort()
2665 tblk->next = tblk->last = 0; in txAbort()
2856 jfs_ip = list_entry(TxAnchor.anon_list.next, in txQuiesce()
2927 jfs_ip = list_entry(TxAnchor.anon_list.next, in jfs_sync()