Lines Matching defs:model
836 * blk_queue_set_zoned - configure a disk queue zoned model.
838 * @model: the zoned model to set
840 * Set the zoned model of the request queue of @disk according to @model.
841 * When @model is BLK_ZONED_HM (host managed), this should be called only
843 * If @model specifies BLK_ZONED_HA (host aware), the effective model used
847 void blk_queue_set_zoned(struct gendisk *disk, enum blk_zoned_model model)
849 switch (model) {
868 model = BLK_ZONED_NONE;
872 if (WARN_ON_ONCE(model != BLK_ZONED_NONE))
873 model = BLK_ZONED_NONE;
877 disk->queue->limits.zoned = model;