Lines Matching refs:host_features
479 if (!virtio_has_feature(s->host_features, VIRTIO_BLK_F_ZONED)) { in check_zoned_request()
1181 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_DISCARD)) { in virtio_blk_update_config()
1197 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_WRITE_ZEROES)) { in virtio_blk_update_config()
1246 features |= s->host_features; in virtio_blk_get_features()
1746 virtio_add_feature(&s->host_features, VIRTIO_BLK_F_ZONED); in virtio_blk_device_realize()
1748 virtio_clear_feature(&s->host_features, VIRTIO_BLK_F_DISCARD); in virtio_blk_device_realize()
1752 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_DISCARD) && in virtio_blk_device_realize()
1761 if (virtio_has_feature(s->host_features, VIRTIO_BLK_F_WRITE_ZEROES) && in virtio_blk_device_realize()
1772 s->host_features); in virtio_blk_device_realize()
1864 DEFINE_PROP_BIT64("config-wce", VirtIOBlock, host_features,
1876 DEFINE_PROP_BIT64("discard", VirtIOBlock, host_features,
1880 DEFINE_PROP_BIT64("write-zeroes", VirtIOBlock, host_features,