• Home
  • Raw
  • Download

Lines Matching refs:next

205 	TxAnchor.freelock = TxLock[lid].next;  in txLockAlloc()
219 TxLock[lid].next = TxAnchor.freelock; in txLockFree()
290 TxBlock[k].next = k + 1; in txInit()
294 TxBlock[k].next = 0; in txInit()
318 TxLock[k].next = k + 1; in txInit()
319 TxLock[k].next = 0; in txInit()
412 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
420 TxAnchor.freetid = tblk->next; in txBegin()
432 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
537 assert(tblk->next == 0); in txEnd()
542 tblk->next = TxAnchor.freetid; in txEnd()
664 jfs_ip->atlhead = tlck->next; in txLock()
668 lid_to_tlock(last)->next != lid; in txLock()
669 last = lid_to_tlock(last)->next) { in txLock()
672 lid_to_tlock(last)->next = tlck->next; in txLock()
679 if (tblk->next) in txLock()
680 lid_to_tlock(tblk->last)->next = lid; in txLock()
682 tblk->next = lid; in txLock()
683 tlck->next = 0; in txLock()
747 if (tblk->next) in txLock()
748 lid_to_tlock(tblk->last)->next = lid; in txLock()
750 tblk->next = lid; in txLock()
751 tlck->next = 0; in txLock()
758 tlck->next = jfs_ip->atlhead; in txLock()
760 if (tlck->next == 0) { in txLock()
772 linelock->next = 0; in txLock()
885 for (lid = tblk->next; lid; lid = tlck->next) { in txRelease()
913 lid_t lid, next, llid, k; in txUnlock() local
925 for (lid = tblk->next; lid; lid = next) { in txUnlock()
927 next = tlck->next; in txUnlock()
964 llid = ((struct linelock *) & tlck->lock)->next; in txUnlock()
967 k = linelock->next; in txUnlock()
975 tblk->next = tblk->last = 0; in txUnlock()
1032 if (tblk->next) in txMaplock()
1033 lid_to_tlock(tblk->last)->next = lid; in txMaplock()
1035 tblk->next = lid; in txMaplock()
1036 tlck->next = 0; in txMaplock()
1043 tlck->next = jfs_ip->atlhead; in txMaplock()
1045 if (tlck->next == 0) { in txMaplock()
1057 maplock->next = 0; in txMaplock()
1085 linelock->next = 0; in txLinelock()
1093 linelock->next = tlock->next; in txLinelock()
1094 tlock->next = lid; in txLinelock()
1251 lid_to_tlock(jfs_ip->atltail)->next = tblk->next; in txCommit()
1252 tblk->next = jfs_ip->atlhead; in txCommit()
1394 for (lid = tblk->next; lid; lid = tlck->next) { in txLog()
1713 int next, lwm, hwm; in xtLog() local
1732 next = le16_to_cpu(p->header.nextindex); in xtLog()
1766 if (lwm == next) in xtLog()
1768 if (lwm > next) { in xtLog()
1774 xadlock->count = next - lwm; in xtLog()
1971 if (twm == next - 1) { in xtLog()
1991 if (hwm >= next) { in xtLog()
2002 cpu_to_le16(hwm - next + 1); in xtLog()
2004 xtlck->header.offset = next; in xtLog()
2005 xtlck->header.length = hwm - next + 1; in xtLog()
2019 if (lwm < next) { in xtLog()
2027 xadlock->count = next - lwm; in xtLog()
2032 tlck->ip, mp, xadlock->count, lwm, next); in xtLog()
2040 if (twm == next - 1) { in xtLog()
2061 if (hwm >= next) { in xtLog()
2068 xadlock->count = hwm - next + 1; in xtLog()
2069 xadlock->xdlist = &p->xad[next]; in xtLog()
2073 tlck->ip, mp, xadlock->count, next, hwm); in xtLog()
2230 lid_t lid, next; in txForce() local
2238 tlck = lid_to_tlock(tblk->next); in txForce()
2239 lid = tlck->next; in txForce()
2240 tlck->next = 0; in txForce()
2243 next = tlck->next; in txForce()
2244 tlck->next = tblk->next; in txForce()
2245 tblk->next = lid; in txForce()
2246 lid = next; in txForce()
2253 for (lid = tblk->next; lid; lid = next) { in txForce()
2255 next = tlck->next; in txForce()
2324 for (lid = tblk->next; lid; lid = tlck->next) { in txUpdateMap()
2610 while ((lid = xtlck->next) != 0) { in txFreelock()
2613 xtlck->next = tlck->next; in txFreelock()
2646 lid_t lid, next; in txAbort() local
2654 for (lid = tblk->next; lid; lid = next) { in txAbort()
2656 next = tlck->next; in txAbort()
2682 tblk->next = tblk->last = 0; in txAbort()
2874 jfs_ip = list_entry(TxAnchor.anon_list.next, in txQuiesce()
2947 jfs_ip = list_entry(TxAnchor.anon_list.next, in jfs_sync()