Home
last modified time | relevance | path

Searched refs:dmz_dev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/md/
Ddm-zoned-target.c46 struct dmz_dev *dev;
572 bool dmz_bdev_is_dying(struct dmz_dev *dmz_dev) in dmz_bdev_is_dying() argument
576 if (!(dmz_dev->flags & DMZ_BDEV_DYING)) { in dmz_bdev_is_dying()
577 disk = dmz_dev->bdev->bd_disk; in dmz_bdev_is_dying()
578 if (blk_queue_dying(bdev_get_queue(dmz_dev->bdev))) { in dmz_bdev_is_dying()
579 dmz_dev_warn(dmz_dev, "Backing device queue dying"); in dmz_bdev_is_dying()
580 dmz_dev->flags |= DMZ_BDEV_DYING; in dmz_bdev_is_dying()
584 dmz_dev_warn(dmz_dev, "Backing device offline"); in dmz_bdev_is_dying()
585 dmz_dev->flags |= DMZ_BDEV_DYING; in dmz_bdev_is_dying()
590 return dmz_dev->flags & DMZ_BDEV_DYING; in dmz_bdev_is_dying()
[all …]
Ddm-zoned.h51 struct dmz_dev { struct
166 int dmz_ctr_metadata(struct dmz_dev *dev, struct dmz_metadata **zmd);
246 int dmz_ctr_reclaim(struct dmz_dev *dev, struct dmz_metadata *zmd,
257 bool dmz_bdev_is_dying(struct dmz_dev *dmz_dev);
Ddm-zoned-reclaim.c16 struct dmz_dev *dev;
118 struct dmz_dev *dev = zrc->dev; in dmz_reclaim_copy()
507 int dmz_ctr_reclaim(struct dmz_dev *dev, struct dmz_metadata *zmd, in dmz_ctr_reclaim()
Ddm-zoned-metadata.c133 struct dmz_dev *dev;
826 struct dmz_dev *dev = zmd->dev; in dmz_check_sb()
1086 struct dmz_dev *dev = zmd->dev; in dmz_init_zone()
1153 struct dmz_dev *dev = zmd->dev; in dmz_init_zones()
1313 struct dmz_dev *dev = zmd->dev; in dmz_reset_zone()
1339 struct dmz_dev *dev = zmd->dev; in dmz_load_mapping()
2385 int dmz_ctr_metadata(struct dmz_dev *dev, struct dmz_metadata **metadata) in dmz_ctr_metadata()
2513 struct dmz_dev *dev = zmd->dev; in dmz_resume_metadata()