• Home
  • Raw
  • Download

Lines Matching refs:flag

178 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block);
179 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag);
180 static int lbmIOWait(struct lbuf * bp, int flag);
379 if (tlck->flag & tlckPAGELOCK) { in lmWriteRecord()
384 else if (tlck->flag & tlckINODELOCK) { in lmWriteRecord()
392 else if (tlck->flag & tlckINLINELOCK) { in lmWriteRecord()
517 tblk->flag = tblkGC_QUEUE; in lmWriteRecord()
598 tblk->flag |= tblkGC_EOP; in lmNextPage()
673 if (tblk->flag & tblkGC_COMMITTED) { in lmGroupCommit()
674 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
683 tblk->flag |= tblkGC_LAZY; in lmGroupCommit()
686 (!(tblk->xflag & COMMIT_LAZY) || test_bit(log_FLUSH, &log->flag) in lmGroupCommit()
708 if (tblk->flag & tblkGC_COMMITTED) { in lmGroupCommit()
709 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
719 tblk->flag |= tblkGC_READY; in lmGroupCommit()
721 __SLEEP_COND(tblk->gcwait, (tblk->flag & tblkGC_COMMITTED), in lmGroupCommit()
725 if (tblk->flag & tblkGC_ERROR) in lmGroupCommit()
769 tblk->flag |= tblkGC_COMMIT; in lmGCwrite()
779 if (tblk->flag & tblkGC_EOP) { in lmGCwrite()
781 tblk->flag &= ~tblkGC_EOP; in lmGCwrite()
782 tblk->flag |= tblkGC_FREE; in lmGCwrite()
826 if (!(tblk->flag & tblkGC_COMMIT)) in lmPostGC()
834 tblk->flag |= tblkGC_ERROR; in lmPostGC()
838 tblk->flag &= ~tblkGC_QUEUE; in lmPostGC()
842 clear_bit(log_FLUSH, &log->flag); in lmPostGC()
847 tblk->flag); in lmPostGC()
856 tblk->flag |= tblkGC_COMMITTED; in lmPostGC()
858 if (tblk->flag & tblkGC_READY) in lmPostGC()
867 if (tblk->flag & tblkGC_FREE) in lmPostGC()
872 else if (tblk->flag & tblkGC_EOP) { in lmPostGC()
893 test_bit(log_FLUSH, &log->flag) || jfs_tlocks_low)) in lmPostGC()
1024 if (!test_bit(log_SYNCBARRIER, &log->flag) && in lmLogSync()
1026 set_bit(log_SYNCBARRIER, &log->flag); in lmLogSync()
1048 if (!test_bit(log_QUIESCE, &log->flag)) in jfs_syncpt()
1073 if (sbi->flag & JFS_NOINTEGRITY) in lmLogOpen()
1172 set_bit(log_INLINELOG, &log->flag); in open_inline_log()
1281 if (!test_bit(log_INLINELOG, &log->flag)) in lmLogInit()
1317 if (test_bit(log_INLINELOG,&log->flag)) { in lmLogInit()
1463 if (test_bit(log_INLINELOG, &log->flag)) { in lmLogClose()
1536 if (test_bit(log_FLUSH, &log->flag)) { in jfs_flush_journal()
1548 set_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
1559 if ((wait > 1) || test_bit(log_SYNCBARRIER, &log->flag)) { in jfs_flush_journal()
1561 set_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
1565 if (wait && target && !(target->flag & tblkGC_COMMITTED)) { in jfs_flush_journal()
1621 clear_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
2022 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, in lbmWrite() argument
2028 jfs_info("lbmWrite: bp:0x%p flag:0x%x pn:0x%x", bp, flag, bp->l_pn); in lbmWrite()
2039 bp->l_flag = flag; in lbmWrite()
2065 if ((bp != tail->l_wqnext) || !(flag & lbmWRITE)) { in lbmWrite()
2074 else if (flag & lbmSYNC) in lbmWrite()
2090 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag) in lbmDirectWrite() argument
2093 bp, flag, bp->l_pn); in lbmDirectWrite()
2098 bp->l_flag = flag | lbmDIRECT; in lbmDirectWrite()
2152 static int lbmIOWait(struct lbuf * bp, int flag) in lbmIOWait() argument
2157 jfs_info("lbmIOWait1: bp:0x%p flag:0x%x:0x%x", bp, bp->l_flag, flag); in lbmIOWait()
2165 if (flag & lbmFREE) in lbmIOWait()
2170 jfs_info("lbmIOWait2: bp:0x%p flag:0x%x:0x%x", bp, bp->l_flag, flag); in lbmIOWait()
2402 logsuper->flag = cpu_to_le32(sbi->mntflag); /* ? */ in lmLogFormat()