Lines Matching refs:flag
362 tid_t txBegin(struct super_block *sb, int flag) in txBegin() argument
368 jfs_info("txBegin: flag = 0x%x", flag); in txBegin()
376 if (!(flag & COMMIT_FORCE)) { in txBegin()
380 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin()
381 test_bit(log_QUIESCE, &log->flag)) { in txBegin()
387 if (flag == 0) { in txBegin()
412 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
432 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
474 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBeginAnon()
475 test_bit(log_QUIESCE, &log->flag)) { in txBeginAnon()
525 if (tblk->flag & tblkGC_LAZY) { in txEnd()
530 tblk->flag |= tblkGC_UNLOCKED; in txEnd()
549 clear_bit(log_FLUSH, &log->flag); in txEnd()
554 if (test_bit(log_SYNCBARRIER, &log->flag)) { in txEnd()
563 clear_bit(log_SYNCBARRIER, &log->flag); in txEnd()
708 tlck->flag = tlckPAGELOCK; in txLock()
726 tlck->flag = tlckINODELOCK; in txLock()
729 tlck->flag |= tlckDIRECTORY; in txLock()
773 linelock->flag = tlckLINELOCK; in txLock()
954 assert(!(tlck->flag & tlckFREEPAGE)); in txUnlock()
1018 tlck->flag = tlckINODELOCK; in txMaplock()
1020 tlck->flag |= tlckDIRECTORY; in txMaplock()
1086 linelock->flag = tlckLINELOCK; in txLinelock()
1089 if (tlck->flag & tlckDIRECTORY) in txLinelock()
1090 linelock->flag |= tlckDIRECTORY; in txLinelock()
1139 int flag) in txCommit() argument
1152 jfs_info("txCommit, tid = %d, flag = %d", tid, flag); in txCommit()
1177 tblk->xflag |= flag; in txCommit()
1179 if ((flag & (COMMIT_FORCE | COMMIT_SYNC)) == 0) in txCommit()
1324 if (flag & COMMIT_FORCE) in txCommit()
1344 if ((tblk->flag & tblkGC_LAZY) == 0) in txCommit()
1396 tlck->flag |= tlckLOG; in txLog()
1467 tlck->flag |= tlckWRITEPAGE; in diLog()
1504 tlck->flag |= tlckUPDATEMAP; in diLog()
1507 tlck->flag |= tlckWRITEPAGE; in diLog()
1527 if (pxdlock->flag & mlckALLOCPXD) in diLog()
1540 tlck->flag |= tlckUPDATEMAP; in diLog()
1588 tlck->flag |= tlckWRITEPAGE; in dataLog()
1642 tlck->flag |= tlckUPDATEMAP; in dtLog()
1644 pxdlock->flag = mlckALLOCPXD; in dtLog()
1650 tlck->flag |= tlckWRITEPAGE; in dtLog()
1667 tlck->flag |= tlckWRITEPAGE; in dtLog()
1691 tlck->flag |= tlckUPDATEMAP; in dtLog()
1771 tlck->flag |= tlckUPDATEMAP; in xtLog()
1772 xadlock->flag = mlckALLOCXADLIST; in xtLog()
1784 xadlock->flag = mlckALLOCPXDLIST; in xtLog()
1789 p->xad[lwm + i].flag &= in xtLog()
1798 xadlock->flag = mlckALLOCXADLIST; in xtLog()
1809 tlck->flag |= tlckWRITEPAGE; in xtLog()
1875 tlck->flag |= tlckUPDATEMAP; in xtLog()
1887 xadlock->flag = mlckFREEPXDLIST; in xtLog()
1901 xadlock->flag = mlckFREEXADLIST; in xtLog()
1913 tlck->flag |= tlckFREEPAGE; in xtLog()
2024 tlck->flag |= tlckUPDATEMAP; in xtLog()
2025 xadlock->flag = mlckALLOCXADLIST; in xtLog()
2045 tlck->flag |= tlckUPDATEMAP; in xtLog()
2047 pxdlock->flag = mlckFREEPXD; in xtLog()
2065 tlck->flag |= tlckUPDATEMAP; in xtLog()
2066 xadlock->flag = mlckFREEXADLIST; in xtLog()
2077 tlck->flag |= tlckWRITEPAGE; in xtLog()
2130 tlck->flag |= tlckUPDATEMAP; in mapLog()
2148 if (pxdlock->flag & mlckALLOCPXD) in mapLog()
2164 tlck->flag |= tlckUPDATEMAP; in mapLog()
2187 if (newea->flag & DXD_EXTENT) { in txEA()
2191 pxdlock->flag = mlckALLOCPXD; in txEA()
2196 } else if (newea->flag & DXD_INLINE) { in txEA()
2206 if (!test_cflag(COMMIT_Nolink, ip) && oldea->flag & DXD_EXTENT) { in txEA()
2213 pxdlock->flag = mlckFREEPXD; in txEA()
2260 if (tlck->flag & tlckWRITEPAGE) { in txForce()
2261 tlck->flag &= ~tlckWRITEPAGE; in txForce()
2278 set_bit(META_dirty, &mp->flag); in txForce()
2279 set_bit(META_sync, &mp->flag); in txForce()
2326 if ((tlck->flag & tlckUPDATEMAP) == 0) in txUpdateMap()
2329 if (tlck->flag & tlckFREEPAGE) { in txUpdateMap()
2356 if (maplock->flag & mlckALLOC) { in txUpdateMap()
2375 if (tlck->flag & tlckDIRECTORY) in txUpdateMap()
2383 if (tlck->flag & tlckFREEPAGE) { in txUpdateMap()
2384 if (!(tblk->flag & tblkGC_LAZY)) { in txUpdateMap()
2409 pxdlock.flag = mlckALLOCPXD; in txUpdateMap()
2456 if (maplock->flag & mlckALLOCXADLIST) { in txAllocPMap()
2460 if (xad->flag & (XAD_NEW | XAD_EXTENDED)) { in txAllocPMap()
2465 xad->flag &= ~(XAD_NEW | XAD_EXTENDED); in txAllocPMap()
2470 } else if (maplock->flag & mlckALLOCPXD) { in txAllocPMap()
2518 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2522 if (!(xad->flag & XAD_NEW)) { in txFreeMap()
2532 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2559 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2566 xad->flag = 0; in txFreeMap()
2570 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2611 if (tlck->flag & tlckFREELOCK) { in txFreelock()
2704 while (((tblk->flag & tblkGC_READY) == 0) && in txLazyCommit()
2705 ((tblk->flag & tblkGC_UNLOCKED) == 0)) { in txLazyCommit()
2720 tblk->flag |= tblkGC_COMMITTED; in txLazyCommit()
2722 if (tblk->flag & tblkGC_READY) in txLazyCommit()
2730 if (tblk->flag & tblkGC_LAZY) { in txLazyCommit()
2733 tblk->flag &= ~tblkGC_LAZY; in txLazyCommit()
2868 set_bit(log_QUIESCE, &log->flag); in txQuiesce()
2922 clear_bit(log_QUIESCE, &log->flag); in txResume()