Lines Matching refs:flag
348 tid_t txBegin(struct super_block *sb, int flag) in txBegin() argument
354 jfs_info("txBegin: flag = 0x%x", flag); in txBegin()
367 if (!(flag & COMMIT_FORCE)) { in txBegin()
371 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin()
372 test_bit(log_QUIESCE, &log->flag)) { in txBegin()
378 if (flag == 0) { in txBegin()
403 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
423 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
465 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBeginAnon()
466 test_bit(log_QUIESCE, &log->flag)) { in txBeginAnon()
516 if (tblk->flag & tblkGC_LAZY) { in txEnd()
521 tblk->flag |= tblkGC_UNLOCKED; in txEnd()
540 clear_bit(log_FLUSH, &log->flag); in txEnd()
545 if (test_bit(log_SYNCBARRIER, &log->flag)) { in txEnd()
554 clear_bit(log_SYNCBARRIER, &log->flag); in txEnd()
699 tlck->flag = tlckPAGELOCK; in txLock()
717 tlck->flag = tlckINODELOCK; in txLock()
720 tlck->flag |= tlckDIRECTORY; in txLock()
764 linelock->flag = tlckLINELOCK; in txLock()
945 assert(!(tlck->flag & tlckFREEPAGE)); in txUnlock()
1009 tlck->flag = tlckINODELOCK; in txMaplock()
1011 tlck->flag |= tlckDIRECTORY; in txMaplock()
1077 linelock->flag = tlckLINELOCK; in txLinelock()
1080 if (tlck->flag & tlckDIRECTORY) in txLinelock()
1081 linelock->flag |= tlckDIRECTORY; in txLinelock()
1130 int flag) in txCommit() argument
1143 jfs_info("txCommit, tid = %d, flag = %d", tid, flag); in txCommit()
1168 tblk->xflag |= flag; in txCommit()
1170 if ((flag & (COMMIT_FORCE | COMMIT_SYNC)) == 0) in txCommit()
1314 if (flag & COMMIT_FORCE) in txCommit()
1334 if ((tblk->flag & tblkGC_LAZY) == 0) in txCommit()
1385 tlck->flag |= tlckLOG; in txLog()
1455 tlck->flag |= tlckWRITEPAGE; in diLog()
1492 tlck->flag |= tlckUPDATEMAP; in diLog()
1495 tlck->flag |= tlckWRITEPAGE; in diLog()
1542 tlck->flag |= tlckWRITEPAGE; in dataLog()
1596 tlck->flag |= tlckUPDATEMAP; in dtLog()
1598 pxdlock->flag = mlckALLOCPXD; in dtLog()
1604 tlck->flag |= tlckWRITEPAGE; in dtLog()
1621 tlck->flag |= tlckWRITEPAGE; in dtLog()
1645 tlck->flag |= tlckUPDATEMAP; in dtLog()
1725 tlck->flag |= tlckUPDATEMAP; in xtLog()
1726 xadlock->flag = mlckALLOCXADLIST; in xtLog()
1738 xadlock->flag = mlckALLOCPXDLIST; in xtLog()
1743 p->xad[lwm + i].flag &= in xtLog()
1752 xadlock->flag = mlckALLOCXADLIST; in xtLog()
1763 tlck->flag |= tlckWRITEPAGE; in xtLog()
1829 tlck->flag |= tlckUPDATEMAP; in xtLog()
1841 xadlock->flag = mlckFREEPXDLIST; in xtLog()
1855 xadlock->flag = mlckFREEXADLIST; in xtLog()
1867 tlck->flag |= tlckFREEPAGE; in xtLog()
1977 tlck->flag |= tlckUPDATEMAP; in xtLog()
1978 xadlock->flag = mlckALLOCXADLIST; in xtLog()
1997 tlck->flag |= tlckUPDATEMAP; in xtLog()
1999 pxdlock->flag = mlckFREEPXD; in xtLog()
2017 tlck->flag |= tlckUPDATEMAP; in xtLog()
2018 xadlock->flag = mlckFREEXADLIST; in xtLog()
2028 tlck->flag |= tlckWRITEPAGE; in xtLog()
2081 tlck->flag |= tlckUPDATEMAP; in mapLog()
2099 if (pxdlock->flag & mlckALLOCPXD) in mapLog()
2115 tlck->flag |= tlckUPDATEMAP; in mapLog()
2138 if (newea->flag & DXD_EXTENT) { in txEA()
2142 pxdlock->flag = mlckALLOCPXD; in txEA()
2147 } else if (newea->flag & DXD_INLINE) { in txEA()
2157 if (!test_cflag(COMMIT_Nolink, ip) && oldea->flag & DXD_EXTENT) { in txEA()
2164 pxdlock->flag = mlckFREEPXD; in txEA()
2211 if (tlck->flag & tlckWRITEPAGE) { in txForce()
2212 tlck->flag &= ~tlckWRITEPAGE; in txForce()
2229 set_bit(META_dirty, &mp->flag); in txForce()
2230 set_bit(META_sync, &mp->flag); in txForce()
2277 if ((tlck->flag & tlckUPDATEMAP) == 0) in txUpdateMap()
2280 if (tlck->flag & tlckFREEPAGE) { in txUpdateMap()
2307 if (maplock->flag & mlckALLOC) { in txUpdateMap()
2326 if (tlck->flag & tlckDIRECTORY) in txUpdateMap()
2334 if (tlck->flag & tlckFREEPAGE) { in txUpdateMap()
2335 if (!(tblk->flag & tblkGC_LAZY)) { in txUpdateMap()
2360 pxdlock.flag = mlckALLOCPXD; in txUpdateMap()
2407 if (maplock->flag & mlckALLOCXADLIST) { in txAllocPMap()
2411 if (xad->flag & (XAD_NEW | XAD_EXTENDED)) { in txAllocPMap()
2416 xad->flag &= ~(XAD_NEW | XAD_EXTENDED); in txAllocPMap()
2421 } else if (maplock->flag & mlckALLOCPXD) { in txAllocPMap()
2469 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2473 if (!(xad->flag & XAD_NEW)) { in txFreeMap()
2482 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2509 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2516 xad->flag = 0; in txFreeMap()
2520 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2561 if (tlck->flag & tlckFREELOCK) { in txFreelock()
2654 while (((tblk->flag & tblkGC_READY) == 0) && in txLazyCommit()
2655 ((tblk->flag & tblkGC_UNLOCKED) == 0)) { in txLazyCommit()
2670 tblk->flag |= tblkGC_COMMITTED; in txLazyCommit()
2672 if (tblk->flag & tblkGC_READY) in txLazyCommit()
2680 if (tblk->flag & tblkGC_LAZY) { in txLazyCommit()
2683 tblk->flag &= ~tblkGC_LAZY; in txLazyCommit()
2817 set_bit(log_QUIESCE, &log->flag); in txQuiesce()
2870 clear_bit(log_QUIESCE, &log->flag); in txResume()