Lines Matching refs:cqueue
536 list_add_tail(&tblk->cqueue, &log->cqueue); in lmWriteRecord()
594 if (list_empty(&log->cqueue)) in lmNextPage()
597 tblk = list_entry(log->cqueue.prev, struct tblock, cqueue); in lmNextPage()
698 if ((!(log->cflag & logGC_PAGEOUT)) && (!list_empty(&log->cqueue)) && in lmGroupCommit()
773 gcpn = list_entry(log->cqueue.next, struct tblock, cqueue)->pn; in lmGCwrite()
775 list_for_each_entry(tblk, &log->cqueue, cqueue) { in lmGCwrite()
838 list_for_each_entry_safe(tblk, temp, &log->cqueue, cqueue) { in lmPostGC()
850 list_del(&tblk->cqueue); in lmPostGC()
904 if ((!list_empty(&log->cqueue)) && in lmPostGC()
1284 INIT_LIST_HEAD(&log->cqueue); in lmLogInit()
1544 if (!list_empty(&log->cqueue)) { in jfs_flush_journal()
1549 target = list_entry(log->cqueue.prev, struct tblock, cqueue); in jfs_flush_journal()
1601 if ((!list_empty(&log->cqueue)) || !list_empty(&log->synclist)) { in jfs_flush_journal()
1605 if (list_empty(&log->cqueue) && in jfs_flush_journal()
1610 assert(list_empty(&log->cqueue)); in jfs_flush_journal()