Searched refs:sb_flags (Results 1 – 12 of 12) sorted by relevance
/drivers/md/ |
D | md.c | 857 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags); in super_written() 911 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in md_super_wait() 2474 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in set_in_sync() 2557 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2563 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb() 2565 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb() 2572 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb() 2598 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb() 2599 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2601 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb() [all …]
|
D | dm-cache-metadata.c | 470 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() 562 uint32_t sb_flags = mutator(le32_to_cpu(disk_super->flags)); in update_flags() local 563 disk_super->flags = cpu_to_le32(sb_flags); in update_flags()
|
D | raid10.c | 1331 set_mask_bits(&mddev->sb_flags, 0, in raid10_write_request() 1336 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in raid10_write_request() 1663 set_mask_bits(&mddev->sb_flags, 0, in raid10_error() 2723 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d() 2726 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d() 2779 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid10d() 4328 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid10_start_reshape() 4524 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request() 4526 wait_event(mddev->sb_wait, mddev->sb_flags == 0 || in reshape_request()
|
D | md-multipath.c | 204 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in multipath_error()
|
D | raid1.c | 1645 set_mask_bits(&mddev->sb_flags, 0, in raid1_error() 2534 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid1d() 2537 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) in raid1d() 2587 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid1d() 2809 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid1_sync_request()
|
D | md.h | 281 unsigned long sb_flags; member
|
D | raid5.c | 1068 conf->mddev->sb_flags) { in ops_run_io() 2698 set_mask_bits(&mddev->sb_flags, 0, in raid5_error() 4723 test_bit(MD_SB_CHANGE_PENDING, &conf->mddev->sb_flags)) { in handle_stripe() 5899 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request() 5901 wait_event(mddev->sb_wait, mddev->sb_flags == 0 || in reshape_request() 6005 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request() 6008 !test_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags) in reshape_request() 6256 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags), in raid5_do_work() 6331 if (mddev->sb_flags & ~(1 << MD_SB_CHANGE_PENDING)) { in raid5d() 7967 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid5_start_reshape() [all …]
|
D | raid5-cache.c | 698 (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags) && in r5c_disable_writeback_async() 1338 set_mask_bits(&mddev->sb_flags, 0, in r5l_write_super_and_discard_space() 2527 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in r5l_write_super()
|
D | md-bitmap.c | 1631 set_bit(MD_SB_CHANGE_CLEAN, &bitmap->mddev->sb_flags); in md_bitmap_cond_end_sync() 2360 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in location_store()
|
D | raid5-ppl.c | 1449 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in ppl_init_log()
|
D | dm-raid.c | 2206 set_bit(MD_SB_CHANGE_DEVS, &rdev->mddev->sb_flags); in super_load() 3875 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in rs_update_sbs()
|
/drivers/mtd/ |
D | mtdsuper.c | 189 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
|