Lines Matching defs:next

141 /* XXX next prototype should be from libsa/stdlib.h> but conflicts libkern */
516 transaction *tr, *next;
527 for(; tr; tr=next) {
536 next = tr->next;
554 transaction *ctr, *prev=NULL, *next;
644 for (ctr = jnl->completed_trs; ctr; prev=ctr, ctr=next) {
648 prev->next = ctr->next;
651 jnl->completed_trs = ctr->next;
654 next = jnl->completed_trs; // this starts us over again
655 ctr->next = jnl->tr_freeme;
660 next = jnl->completed_trs; // this starts us over again
665 next = ctr->next;
667 } else if (ctr->next && ctr->journal_end == ctr->next->journal_start) {
668 // coalesce the next entry with this one and link the next
670 next = ctr->next; // temporarily use the "next" variable
671 ctr->journal_end = next->journal_end;
672 ctr->next = next->next;
673 next->next = jnl->tr_freeme; // link in the next guy at the head of the tr_freeme list
674 jnl->tr_freeme = next;
676 next = jnl->completed_trs; // this starts us over again
679 next = ctr->next;
692 for (ctr = jnl->completed_trs; ctr && tr->journal_start > ctr->journal_start; prev=ctr, ctr=ctr->next) {
698 tr->next = NULL;
700 tr->next = jnl->completed_trs;
703 tr->next = prev->next;
704 prev->next = tr;
709 tr->next = jnl->tr_freeme;
2301 for (ctr = jnl->completed_trs; ctr; ctr = ctr->next) {
2362 // entries until there is enough space for the next transaction.
3536 * and will be reused for the next transaction that is started (group commit).
3566 block_list_header *blhdr=NULL, *next=NULL;
3648 * next transaction group which may overlap the current journal flush...
3703 for (blhdr = tr->blhdr; blhdr; blhdr = next) {
3794 next = (block_list_header *)((long)blhdr->binfo[0].bnum);
3874 block_list_header *blhdr=NULL, *next=NULL;
3953 * to fire this buffer off in the next pass
4046 for (blhdr = tr->blhdr; blhdr; blhdr = next) {
4054 * grab the next blhdr pointer...
4056 next = (block_list_header *)((long)blhdr->binfo[0].bnum);
4099 tr->next = jnl->tr_freeme;
4191 block_list_header *blhdr, *next;
4205 for (blhdr = tr->blhdr; blhdr; blhdr = next) {
4265 next = (block_list_header *)((long)blhdr->binfo[0].bnum);