• 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()
1384 for (lid = tblk->next; lid; lid = tlck->next) { in txLog()
1703 int next, lwm, hwm; in xtLog() local
1722 next = le16_to_cpu(p->header.nextindex); in xtLog()
1756 if (lwm == next) in xtLog()
1758 if (lwm > next) { in xtLog()
1764 xadlock->count = next - lwm; in xtLog()
1960 if (twm == next - 1) { in xtLog()
1980 if (hwm >= next) { in xtLog()
1991 cpu_to_le16(hwm - next + 1); in xtLog()
1993 xtlck->header.offset = next; in xtLog()
1994 xtlck->header.length = hwm - next + 1; in xtLog()
2008 if (lwm < next) { in xtLog()
2016 xadlock->count = next - lwm; in xtLog()
2020 tlck->ip, mp, xadlock->count, lwm, next); in xtLog()
2028 if (twm == next - 1) { in xtLog()
2049 if (hwm >= next) { in xtLog()
2056 xadlock->count = hwm - next + 1; in xtLog()
2057 xadlock->xdlist = &p->xad[next]; in xtLog()
2060 tlck->ip, mp, xadlock->count, next, hwm); in xtLog()
2217 lid_t lid, next; in txForce() local
2225 tlck = lid_to_tlock(tblk->next); in txForce()
2226 lid = tlck->next; in txForce()
2227 tlck->next = 0; in txForce()
2230 next = tlck->next; in txForce()
2231 tlck->next = tblk->next; in txForce()
2232 tblk->next = lid; in txForce()
2233 lid = next; in txForce()
2240 for (lid = tblk->next; lid; lid = next) { in txForce()
2242 next = tlck->next; in txForce()
2311 for (lid = tblk->next; lid; lid = tlck->next) { in txUpdateMap()
2596 while ((lid = xtlck->next) != 0) { in txFreelock()
2599 xtlck->next = tlck->next; in txFreelock()
2632 lid_t lid, next; in txAbort() local
2640 for (lid = tblk->next; lid; lid = next) { in txAbort()
2642 next = tlck->next; in txAbort()
2668 tblk->next = tblk->last = 0; in txAbort()
2859 jfs_ip = list_entry(TxAnchor.anon_list.next, in txQuiesce()
2930 jfs_ip = list_entry(TxAnchor.anon_list.next, in jfs_sync()