Lines Matching defs:model
910 * disk_set_zoned - configure the zoned model for a disk
912 * @model: the zoned model to set
914 * Set the zoned model of @disk to @model.
916 * When @model is BLK_ZONED_HM (host managed), this should be called only
918 * If @model specifies BLK_ZONED_HA (host aware), the effective model used
922 void disk_set_zoned(struct gendisk *disk, enum blk_zoned_model model)
927 switch (model) {
946 model = BLK_ZONED_NONE;
950 if (WARN_ON_ONCE(model != BLK_ZONED_NONE))
951 model = BLK_ZONED_NONE;
955 q->limits.zoned = model;
956 if (model != BLK_ZONED_NONE) {