Lines Matching refs:flag

329 tid_t txBegin(struct super_block *sb, int flag)  in txBegin()  argument
335 jfs_info("txBegin: flag = 0x%x", flag); in txBegin()
343 if (!(flag & COMMIT_FORCE)) { in txBegin()
347 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBegin()
348 test_bit(log_QUIESCE, &log->flag)) { in txBegin()
354 if (flag == 0) { in txBegin()
379 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin()
399 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
442 if (test_bit(log_SYNCBARRIER, &log->flag) || in txBeginAnon()
443 test_bit(log_QUIESCE, &log->flag)) { in txBeginAnon()
494 if (tblk->flag & tblkGC_LAZY) { in txEnd()
499 tblk->flag |= tblkGC_UNLOCKED; in txEnd()
518 clear_bit(log_FLUSH, &log->flag); in txEnd()
523 if (test_bit(log_SYNCBARRIER, &log->flag)) { in txEnd()
530 clear_bit(log_SYNCBARRIER, &log->flag); in txEnd()
669 tlck->flag = tlckPAGELOCK; in txLock()
688 tlck->flag = tlckINODELOCK; in txLock()
730 linelock->flag = tlckLINELOCK; in txLock()
907 assert(!(tlck->flag & tlckFREEPAGE)); in txUnlock()
909 if (tlck->flag & tlckWRITEPAGE) { in txUnlock()
977 tlck->flag = tlckINODELOCK; in txMaplock()
1044 linelock->flag = tlckLINELOCK; in txLinelock()
1097 int flag) in txCommit() argument
1111 jfs_info("txCommit, tid = %d, flag = %d", tid, flag); in txCommit()
1136 tblk->xflag |= flag; in txCommit()
1138 if ((flag & (COMMIT_FORCE | COMMIT_SYNC)) == 0) in txCommit()
1178 ((tblk->flag & COMMIT_DELETE) == 0)) in txCommit()
1257 if (flag & COMMIT_FORCE) in txCommit()
1277 if ((tblk->flag & tblkGC_LAZY) == 0) in txCommit()
1330 tlck->flag |= tlckLOG; in txLog()
1403 tlck->flag |= tlckWRITEPAGE; in diLog()
1440 tlck->flag |= tlckUPDATEMAP; in diLog()
1443 tlck->flag |= tlckWRITEPAGE; in diLog()
1463 if (pxdlock->flag & mlckALLOCPXD) in diLog()
1476 tlck->flag |= tlckUPDATEMAP; in diLog()
1525 tlck->flag |= tlckWRITEPAGE; in dataLog()
1581 tlck->flag |= tlckUPDATEMAP; in dtLog()
1583 pxdlock->flag = mlckALLOCPXD; in dtLog()
1589 tlck->flag |= tlckWRITEPAGE; in dtLog()
1606 tlck->flag |= tlckWRITEPAGE; in dtLog()
1630 tlck->flag |= tlckUPDATEMAP; in dtLog()
1712 tlck->flag |= tlckUPDATEMAP; in xtLog()
1713 xadlock->flag = mlckALLOCXADLIST; in xtLog()
1727 p->xad[lwm + i].flag &= in xtLog()
1744 tlck->flag |= tlckWRITEPAGE; in xtLog()
1810 tlck->flag |= tlckUPDATEMAP; in xtLog()
1811 xadlock->flag = mlckFREEXADLIST; in xtLog()
1838 tlck->flag |= tlckFREEPAGE; in xtLog()
1947 tlck->flag |= tlckUPDATEMAP; in xtLog()
1948 xadlock->flag = mlckALLOCXADLIST; in xtLog()
1970 tlck->flag |= tlckUPDATEMAP; in xtLog()
1972 pxdlock->flag = mlckFREEPXD; in xtLog()
1990 tlck->flag |= tlckUPDATEMAP; in xtLog()
1991 xadlock->flag = mlckFREEXADLIST; in xtLog()
2002 tlck->flag |= tlckWRITEPAGE; in xtLog()
2056 tlck->flag |= tlckUPDATEMAP; in mapLog()
2074 if (pxdlock->flag & mlckALLOCPXD) in mapLog()
2090 tlck->flag |= tlckUPDATEMAP; in mapLog()
2114 if (newea->flag & DXD_EXTENT) { in txEA()
2118 pxdlock->flag = mlckALLOCPXD; in txEA()
2123 } else if (newea->flag & DXD_INLINE) { in txEA()
2133 if (!test_cflag(COMMIT_Nolink, ip) && oldea->flag & DXD_EXTENT) { in txEA()
2140 pxdlock->flag = mlckFREEPXD; in txEA()
2188 if (tlck->flag & tlckWRITEPAGE) { in txForce()
2189 tlck->flag &= ~tlckWRITEPAGE; in txForce()
2205 set_bit(META_dirty, &mp->flag); in txForce()
2206 set_bit(META_sync, &mp->flag); in txForce()
2253 if ((tlck->flag & tlckUPDATEMAP) == 0) in txUpdateMap()
2256 if (tlck->flag & tlckFREEPAGE) { in txUpdateMap()
2283 if (maplock->flag & mlckALLOC) { in txUpdateMap()
2310 if (tlck->flag & tlckFREEPAGE) { in txUpdateMap()
2311 if (!(tblk->flag & tblkGC_LAZY)) { in txUpdateMap()
2342 pxdlock.flag = mlckALLOCPXD; in txUpdateMap()
2392 if (maplock->flag & mlckALLOCXADLIST) { in txAllocPMap()
2396 if (xad->flag & (XAD_NEW | XAD_EXTENDED)) { in txAllocPMap()
2401 xad->flag &= ~(XAD_NEW | XAD_EXTENDED); in txAllocPMap()
2406 } else if (maplock->flag & mlckALLOCPXD) { in txAllocPMap()
2455 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2459 if (!(xad->flag & XAD_NEW)) { in txFreeMap()
2469 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2496 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2503 xad->flag = 0; in txFreeMap()
2507 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2548 if (tlck->flag & tlckFREELOCK) { in txFreelock()
2645 while (((tblk->flag & tblkGC_READY) == 0) && in txLazyCommit()
2646 ((tblk->flag & tblkGC_UNLOCKED) == 0)) { in txLazyCommit()
2661 tblk->flag |= tblkGC_COMMITTED; in txLazyCommit()
2663 if (tblk->flag & tblkGC_READY) in txLazyCommit()
2671 if (tblk->flag & tblkGC_LAZY) { in txLazyCommit()
2674 tblk->flag &= ~tblkGC_LAZY; in txLazyCommit()
2824 set_bit(log_QUIESCE, &log->flag); in txQuiesce()
2878 clear_bit(log_QUIESCE, &log->flag); in txResume()