Lines Matching refs:flag

51 	return test_bit(META_locked, &mp->flag);  in metapage_locked()
56 return test_and_set_bit(META_locked, &mp->flag); in trylock_metapage()
61 clear_bit(META_locked, &mp->flag); in unlock_metapage()
110 mp->flag = 0; in init_once()
114 set_bit(META_free, &mp->flag); in init_once()
152 mp->flag = 0; in __free_metapage()
153 set_bit(META_free, &mp->flag); in __free_metapage()
301 if (test_bit(META_stale, &mp->flag)) { in __get_metapage()
309 if (test_bit(META_discard, &mp->flag)) { in __get_metapage()
317 clear_bit(META_discard, &mp->flag); in __get_metapage()
368 mp->flag = 0; in __get_metapage()
371 set_bit(META_absolute, &mp->flag); in __get_metapage()
426 ASSERT (!(test_bit(META_forced, &mp->flag))); in hold_metapage()
428 set_bit(META_forced, &mp->flag); in hold_metapage()
445 if (test_bit(META_discard, &mp->flag)) { in __write_metapage()
449 clear_bit(META_dirty, &mp->flag); in __write_metapage()
466 clear_bit(META_dirty, &mp->flag); in __write_metapage()
477 clear_bit(META_dirty, &mp->flag); in __write_metapage()
503 jfs_info("release_metapage: mp = 0x%p, flag = 0x%lx", mp, mp->flag); in release_metapage()
506 if (test_bit(META_forced, &mp->flag)) { in release_metapage()
507 clear_bit(META_forced, &mp->flag); in release_metapage()
521 set_bit(META_stale, &mp->flag); in release_metapage()
525 if (test_bit(META_dirty, &mp->flag)) in release_metapage()
527 if (test_bit(META_sync, &mp->flag)) { in release_metapage()
529 clear_bit(META_sync, &mp->flag); in release_metapage()
532 if (test_bit(META_discard, &mp->flag)) { in release_metapage()
584 if (test_bit(META_stale, &mp->flag)) { in __invalidate_metapages()
590 set_bit(META_discard, &mp->flag); in __invalidate_metapages()