• Home
  • Raw
  • Download

Lines Matching refs:flag

191 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block);
192 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag);
193 static int lbmIOWait(struct lbuf * bp, int flag);
392 if (tlck->flag & tlckPAGELOCK) { in lmWriteRecord()
397 else if (tlck->flag & tlckINODELOCK) { in lmWriteRecord()
405 else if (tlck->flag & tlckINLINELOCK) { in lmWriteRecord()
530 tblk->flag = tblkGC_QUEUE; in lmWriteRecord()
611 tblk->flag |= tblkGC_EOP; in lmNextPage()
686 if (tblk->flag & tblkGC_COMMITTED) { in lmGroupCommit()
687 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
696 tblk->flag |= tblkGC_LAZY; in lmGroupCommit()
699 (!(tblk->xflag & COMMIT_LAZY) || test_bit(log_FLUSH, &log->flag) in lmGroupCommit()
721 if (tblk->flag & tblkGC_COMMITTED) { in lmGroupCommit()
722 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
732 tblk->flag |= tblkGC_READY; in lmGroupCommit()
734 __SLEEP_COND(tblk->gcwait, (tblk->flag & tblkGC_COMMITTED), in lmGroupCommit()
738 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
782 tblk->flag |= tblkGC_COMMIT; in lmGCwrite()
792 if (tblk->flag & tblkGC_EOP) { in lmGCwrite()
794 tblk->flag &= ~tblkGC_EOP; in lmGCwrite()
795 tblk->flag |= tblkGC_FREE; in lmGCwrite()
839 if (!(tblk->flag & tblkGC_COMMIT)) in lmPostGC()
847 tblk->flag |= tblkGC_ERROR; in lmPostGC()
851 tblk->flag &= ~tblkGC_QUEUE; in lmPostGC()
855 clear_bit(log_FLUSH, &log->flag); in lmPostGC()
860 tblk->flag); in lmPostGC()
869 tblk->flag |= tblkGC_COMMITTED; in lmPostGC()
871 if (tblk->flag & tblkGC_READY) in lmPostGC()
880 if (tblk->flag & tblkGC_FREE) in lmPostGC()
885 else if (tblk->flag & tblkGC_EOP) { in lmPostGC()
906 test_bit(log_FLUSH, &log->flag) || jfs_tlocks_low)) in lmPostGC()
1037 if (!test_bit(log_SYNCBARRIER, &log->flag) && in lmLogSync()
1039 set_bit(log_SYNCBARRIER, &log->flag); in lmLogSync()
1061 if (!test_bit(log_QUIESCE, &log->flag)) in jfs_syncpt()
1086 if (sbi->flag & JFS_NOINTEGRITY) in lmLogOpen()
1186 set_bit(log_INLINELOG, &log->flag); in open_inline_log()
1295 if (!test_bit(log_INLINELOG, &log->flag)) in lmLogInit()
1331 if (test_bit(log_INLINELOG,&log->flag)) { in lmLogInit()
1479 if (test_bit(log_INLINELOG, &log->flag)) { in lmLogClose()
1552 if (test_bit(log_FLUSH, &log->flag)) { in jfs_flush_journal()
1564 set_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
1575 if ((wait > 1) || test_bit(log_SYNCBARRIER, &log->flag)) { in jfs_flush_journal()
1577 set_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
1581 if (wait && target && !(target->flag & tblkGC_COMMITTED)) { in jfs_flush_journal()
1638 clear_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
2036 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, in lbmWrite() argument
2042 jfs_info("lbmWrite: bp:0x%p flag:0x%x pn:0x%x", bp, flag, bp->l_pn); in lbmWrite()
2053 bp->l_flag = flag; in lbmWrite()
2079 if ((bp != tail->l_wqnext) || !(flag & lbmWRITE)) { in lbmWrite()
2088 else if (flag & lbmSYNC) in lbmWrite()
2104 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag) in lbmDirectWrite() argument
2107 bp, flag, bp->l_pn); in lbmDirectWrite()
2112 bp->l_flag = flag | lbmDIRECT; in lbmDirectWrite()
2169 static int lbmIOWait(struct lbuf * bp, int flag) in lbmIOWait() argument
2174 jfs_info("lbmIOWait1: bp:0x%p flag:0x%x:0x%x", bp, bp->l_flag, flag); in lbmIOWait()
2182 if (flag & lbmFREE) in lbmIOWait()
2187 jfs_info("lbmIOWait2: bp:0x%p flag:0x%x:0x%x", bp, bp->l_flag, flag); in lbmIOWait()
2420 logsuper->flag = cpu_to_le32(sbi->mntflag); /* ? */ in lmLogFormat()