Lines Matching defs:next

191 	TxAnchor.freelock = TxLock[lid].next;
205 TxLock[lid].next = TxAnchor.freelock;
276 TxBlock[k].next = k + 1;
280 TxBlock[k].next = 0;
304 TxLock[k].next = k + 1;
305 TxLock[k].next = 0;
403 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) {
411 TxAnchor.freetid = tblk->next;
423 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0;
528 assert(tblk->next == 0);
533 tblk->next = TxAnchor.freetid;
655 jfs_ip->atlhead = tlck->next;
659 lid_to_tlock(last)->next != lid;
660 last = lid_to_tlock(last)->next) {
663 lid_to_tlock(last)->next = tlck->next;
670 if (tblk->next)
671 lid_to_tlock(tblk->last)->next = lid;
673 tblk->next = lid;
674 tlck->next = 0;
738 if (tblk->next)
739 lid_to_tlock(tblk->last)->next = lid;
741 tblk->next = lid;
742 tlck->next = 0;
749 tlck->next = jfs_ip->atlhead;
751 if (tlck->next == 0) {
763 linelock->next = 0;
876 for (lid = tblk->next; lid; lid = tlck->next) {
904 lid_t lid, next, llid, k;
916 for (lid = tblk->next; lid; lid = next) {
918 next = tlck->next;
955 llid = ((struct linelock *) & tlck->lock)->next;
958 k = linelock->next;
966 tblk->next = tblk->last = 0;
1023 if (tblk->next)
1024 lid_to_tlock(tblk->last)->next = lid;
1026 tblk->next = lid;
1027 tlck->next = 0;
1034 tlck->next = jfs_ip->atlhead;
1036 if (tlck->next == 0) {
1048 maplock->next = 0;
1076 linelock->next = 0;
1084 linelock->next = tlock->next;
1085 tlock->next = lid;
1241 lid_to_tlock(jfs_ip->atltail)->next = tblk->next;
1242 tblk->next = jfs_ip->atlhead;
1384 for (lid = tblk->next; lid; lid = tlck->next) {
1703 int next, lwm, hwm;
1722 next = le16_to_cpu(p->header.nextindex);
1736 * extents (XAD_NEW|XAD_EXTEND) of XAD[lwm:next) from
1748 * for alloc of new/extended extents of XAD[lwm:next)
1756 if (lwm == next)
1758 if (lwm > next) {
1759 jfs_err("xtLog: lwm > next");
1764 xadlock->count = next - lwm;
1918 * | next - truncation point
1946 * extents (XAD_NEW|XAD_EXTEND) of XAD[lwm:next) from
1958 * truncate entry XAD[twm == next - 1]:
1960 if (twm == next - 1) {
1963 * entry XAD[next - 1]:
1978 * free entries XAD[next:hwm]:
1980 if (hwm >= next) {
1982 * XAD[next:hwm] from the deleted page itself
1991 cpu_to_le16(hwm - next + 1);
1993 xtlck->header.offset = next;
1994 xtlck->header.length = hwm - next + 1;
2006 * allocate entries XAD[lwm:next):
2008 if (lwm < next) {
2010 * for alloc of new/extended extents of XAD[lwm:next)
2016 xadlock->count = next - lwm;
2019 jfs_info("xtLog: alloc ip:0x%p mp:0x%p count:%d lwm:%d next:%d",
2020 tlck->ip, mp, xadlock->count, lwm, next);
2026 * truncate entry XAD[twm == next - 1]:
2028 if (twm == next - 1) {
2031 * entry XAD[next - 1];
2047 * free entries XAD[next:hwm]:
2049 if (hwm >= next) {
2051 * to free extents of XAD[next:hwm] from thedeleted
2056 xadlock->count = hwm - next + 1;
2057 xadlock->xdlist = &p->xad[next];
2059 jfs_info("xtLog: free ip:0x%p mp:0x%p count:%d next:%d hwm:%d",
2060 tlck->ip, mp, xadlock->count, next, hwm);
2217 lid_t lid, next;
2225 tlck = lid_to_tlock(tblk->next);
2226 lid = tlck->next;
2227 tlck->next = 0;
2230 next = tlck->next;
2231 tlck->next = tblk->next;
2232 tblk->next = lid;
2233 lid = next;
2240 for (lid = tblk->next; lid; lid = next) {
2242 next = tlck->next;
2311 for (lid = tblk->next; lid; lid = tlck->next) {
2596 while ((lid = xtlck->next) != 0) {
2599 xtlck->next = tlck->next;
2632 lid_t lid, next;
2640 for (lid = tblk->next; lid; lid = next) {
2642 next = tlck->next;
2668 tblk->next = tblk->last = 0;
2859 jfs_ip = list_entry(TxAnchor.anon_list.next,
2930 jfs_ip = list_entry(TxAnchor.anon_list.next,