Lines Matching refs:flag
31 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag)
32 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag)
36 clear_bit_unlock(META_locked, &mp->flag); in unlock_metapage()
222 if (mp->count || mp->nohomeok || test_bit(META_dirty, &mp->flag) || in drop_metapage()
223 test_bit(META_io, &mp->flag)) in drop_metapage()
308 if (mp && test_bit(META_io, &mp->flag)) { in last_write_complete()
311 clear_bit(META_io, &mp->flag); in last_write_complete()
364 if (!mp || !test_bit(META_dirty, &mp->flag)) in metapage_writepage()
367 if (mp->nohomeok && !test_bit(META_forcewrite, &mp->flag)) { in metapage_writepage()
378 clear_bit(META_dirty, &mp->flag); in metapage_writepage()
379 set_bit(META_io, &mp->flag); in metapage_writepage()
542 test_bit(META_dirty, &mp->flag)) { in metapage_releasepage()
641 if (test_bit(META_discard, &mp->flag)) { in __get_metapage()
648 clear_bit(META_discard, &mp->flag); in __get_metapage()
657 mp->flag = 0; in __get_metapage()
699 set_bit(META_forcewrite, &mp->flag); in force_metapage()
700 clear_bit(META_sync, &mp->flag); in force_metapage()
706 clear_bit(META_forcewrite, &mp->flag); in force_metapage()
732 jfs_info("release_metapage: mp = 0x%p, flag = 0x%lx", mp, mp->flag); in release_metapage()
746 if (test_bit(META_dirty, &mp->flag)) { in release_metapage()
748 if (test_bit(META_sync, &mp->flag)) { in release_metapage()
749 clear_bit(META_sync, &mp->flag); in release_metapage()
794 clear_bit(META_dirty, &mp->flag); in __invalidate_metapages()
795 set_bit(META_discard, &mp->flag); in __invalidate_metapages()