Lines Matching refs:journal_dev
250 struct journal_dev { struct
254 } journal_dev; member
787 if (rs->journal_dev.dev) { in raid_set_free()
788 md_rdev_clear(&rs->journal_dev.rdev); in raid_set_free()
789 dm_put_device(rs->ti, rs->journal_dev.dev); in raid_set_free()
901 if (rs->journal_dev.dev) in parse_dev_params()
902 list_add_tail(&rs->journal_dev.rdev.same_set, &rs->md.disks); in parse_dev_params()
1257 &rs->journal_dev.dev); in parse_raid_params()
1262 jdev = &rs->journal_dev.rdev; in parse_raid_params()
1265 jdev->bdev = rs->journal_dev.dev->bdev; in parse_raid_params()
1271 rs->journal_dev.mode = R5C_JOURNAL_MODE_WRITE_THROUGH; in parse_raid_params()
1293 rs->journal_dev.mode = r; in parse_raid_params()
2461 …mddev->bitmap_info.offset = (rt_is_raid0(rs->raid_type) || rs->journal_dev.dev) ? 0 : to_sector(40… in super_validate()
3263 r = r5c_journal_mode_set(&rs->md, rs->journal_dev.mode); in raid_ctr()
3411 return (rs->journal_dev.mode == R5C_JOURNAL_MODE_WRITE_THROUGH) ? "A" : "a"; in __raid_dev_status()
3596 __raid_dev_status(rs, &rs->journal_dev.rdev) : "-"); in raid_status()
3664 __get_dev_name(rs->journal_dev.dev)); in raid_status()
3667 md_journal_mode_to_dm_raid(rs->journal_dev.mode)); in raid_status()
3695 switch (rs->journal_dev.mode) { in raid_status()