Lines Matching refs:cqueue
515 list_add_tail(&tblk->cqueue, &log->cqueue); in lmWriteRecord()
573 if (list_empty(&log->cqueue)) in lmNextPage()
576 tblk = list_entry(log->cqueue.prev, struct tblock, cqueue); in lmNextPage()
677 if ((!(log->cflag & logGC_PAGEOUT)) && (!list_empty(&log->cqueue)) && in lmGroupCommit()
752 gcpn = list_entry(log->cqueue.next, struct tblock, cqueue)->pn; in lmGCwrite()
754 list_for_each_entry(tblk, &log->cqueue, cqueue) { in lmGCwrite()
817 list_for_each_entry_safe(tblk, temp, &log->cqueue, cqueue) { in lmPostGC()
829 list_del(&tblk->cqueue); in lmPostGC()
883 if ((!list_empty(&log->cqueue)) && in lmPostGC()
1262 INIT_LIST_HEAD(&log->cqueue); in lmLogInit()
1522 if (!list_empty(&log->cqueue)) { in jfs_flush_journal()
1527 target = list_entry(log->cqueue.prev, struct tblock, cqueue); in jfs_flush_journal()
1579 if ((!list_empty(&log->cqueue)) || !list_empty(&log->synclist)) { in jfs_flush_journal()
1583 if (list_empty(&log->cqueue) && in jfs_flush_journal()
1588 assert(list_empty(&log->cqueue)); in jfs_flush_journal()