Lines Matching refs:cqueue
523 list_add_tail(&tblk->cqueue, &log->cqueue); in lmWriteRecord()
581 if (list_empty(&log->cqueue)) in lmNextPage()
584 tblk = list_entry(log->cqueue.prev, struct tblock, cqueue); in lmNextPage()
685 if ((!(log->cflag & logGC_PAGEOUT)) && (!list_empty(&log->cqueue)) && in lmGroupCommit()
760 gcpn = list_entry(log->cqueue.next, struct tblock, cqueue)->pn; in lmGCwrite()
762 list_for_each_entry(tblk, &log->cqueue, cqueue) { in lmGCwrite()
825 list_for_each_entry_safe(tblk, temp, &log->cqueue, cqueue) { in lmPostGC()
837 list_del(&tblk->cqueue); in lmPostGC()
891 if ((!list_empty(&log->cqueue)) && in lmPostGC()
1270 INIT_LIST_HEAD(&log->cqueue); in lmLogInit()
1530 if (!list_empty(&log->cqueue)) { in jfs_flush_journal()
1535 target = list_entry(log->cqueue.prev, struct tblock, cqueue); in jfs_flush_journal()
1587 if ((!list_empty(&log->cqueue)) || !list_empty(&log->synclist)) { in jfs_flush_journal()
1591 if (list_empty(&log->cqueue) && in jfs_flush_journal()
1596 assert(list_empty(&log->cqueue)); in jfs_flush_journal()