Home
last modified time | relevance | path

Searched refs:sb_flags (Results 1 – 12 of 12) sorted by relevance

/drivers/md/
Dmd.c947 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags); in super_written()
1003 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in md_super_wait()
2646 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in set_in_sync()
2731 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2737 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb()
2739 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb()
2746 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
2772 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb()
2773 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2775 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb()
[all …]
Ddm-cache-metadata.c470 unsigned long sb_flags; in __open_metadata() local
505 sb_flags = le32_to_cpu(disk_super->flags); in __open_metadata()
506 cmd->clean_when_opened = test_bit(CLEAN_SHUTDOWN, &sb_flags); in __open_metadata()
568 uint32_t sb_flags = mutator(le32_to_cpu(disk_super->flags)); in update_flags() local
569 disk_super->flags = cpu_to_le32(sb_flags); in update_flags()
Draid5-cache.c696 (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags) && in r5c_disable_writeback_async()
1336 set_mask_bits(&mddev->sb_flags, 0, in r5l_write_super_and_discard_space()
2436 if (test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in r5c_recovery_flush_data_only_stripes()
2438 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
2455 set_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
2532 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in r5l_write_super()
Draid10.c1444 set_mask_bits(&mddev->sb_flags, 0, in raid10_write_request()
1454 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in raid10_write_request()
2050 set_mask_bits(&mddev->sb_flags, 0, in raid10_error()
3120 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
3123 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d()
3176 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid10d()
4710 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid10_start_reshape()
4906 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request()
4908 wait_event(mddev->sb_wait, mddev->sb_flags == 0 || in reshape_request()
Dmd-multipath.c182 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in multipath_error()
Draid1.c1657 set_mask_bits(&mddev->sb_flags, 0, in raid1_error()
2549 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid1d()
2552 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in raid1d()
2602 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid1d()
2824 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid1_sync_request()
Dmd.h298 unsigned long sb_flags; member
Draid5.c1147 conf->mddev->sb_flags) { in ops_run_io()
2904 set_mask_bits(&mddev->sb_flags, 0, in raid5_error()
4936 test_bit(MD_SB_CHANGE_PENDING, &conf->mddev->sb_flags)) { in handle_stripe()
6088 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request()
6090 wait_event(mddev->sb_wait, mddev->sb_flags == 0 || in reshape_request()
6194 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request()
6197 !test_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags) in reshape_request()
6446 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5_do_work()
6521 if (mddev->sb_flags & ~(1 << MD_SB_CHANGE_PENDING)) { in raid5d()
6535 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5d()
[all …]
Dmd-bitmap.c1630 set_bit(MD_SB_CHANGE_CLEAN, &bitmap->mddev->sb_flags); in md_bitmap_cond_end_sync()
2367 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in location_store()
Draid5-ppl.c1450 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in ppl_init_log()
Ddm-raid.c2191 set_bit(MD_SB_CHANGE_DEVS, &rdev->mddev->sb_flags); in super_load()
3913 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in rs_update_sbs()
/drivers/mtd/
Dmtdsuper.c184 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()