Home
last modified time | relevance | path

Searched refs:virtio_blk_config (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/hw/block/
H A Dvirtio-blk-common.c20 #define VIRTIO_BLK_CFG_SIZE offsetof(struct virtio_blk_config, \
29 .end = endof(struct virtio_blk_config, discard_sector_alignment)},
31 .end = endof(struct virtio_blk_config, write_zeroes_may_unmap)},
33 .end = endof(struct virtio_blk_config, zoned)},
39 .max_size = sizeof(struct virtio_blk_config),
H A Dvhost-user-blk.c74 struct virtio_blk_config *blkcfg = (struct virtio_blk_config *)config; in vhost_user_blk_set_config()
82 offsetof(struct virtio_blk_config, wce), in vhost_user_blk_set_config()
H A Dvirtio-blk.c1138 struct virtio_blk_config blkcfg; in virtio_blk_update_config()
1227 struct virtio_blk_config blkcfg; in virtio_blk_set_config()
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c727 virtio_cread(vblk->vdev, struct virtio_blk_config, in virtblk_revalidate_zones()
751 virtio_cread(vdev, struct virtio_blk_config, in virtblk_probe_zoned_device()
771 virtio_cread(vdev, struct virtio_blk_config, in virtblk_probe_zoned_device()
776 virtio_cread(vdev, struct virtio_blk_config, in virtblk_probe_zoned_device()
781 virtio_cread(vdev, struct virtio_blk_config, in virtblk_probe_zoned_device()
796 virtio_cread(vdev, struct virtio_blk_config, zoned.zone_sectors, in virtblk_probe_zoned_device()
813 virtio_cread(vdev, struct virtio_blk_config, in virtblk_probe_zoned_device()
849 virtio_cread(vdev, struct virtio_blk_config, zoned.model, &model); in virtblk_probe_zoned_device()
905 virtio_cread(vblk->vdev, struct virtio_blk_config, in virtblk_getgeo()
907 virtio_cread(vblk->vdev, struct virtio_blk_config, in virtblk_getgeo()
[all …]
/openbmc/qemu/block/export/
H A Dvhost-user-blk-server.c40 struct virtio_blk_config blkcfg;
153 if (len > sizeof(struct virtio_blk_config)) { in vu_blk_get_config()
174 if (offset != offsetof(struct virtio_blk_config, wce) || in vu_blk_set_config()
235 struct virtio_blk_config *config, in vu_blk_initialize_config()
H A Dvduse-blk.c208 struct virtio_blk_config config; in vduse_blk_resize()
213 offsetof(struct virtio_blk_config, capacity), in vduse_blk_resize()
276 struct virtio_blk_config config = { 0 }; in vduse_blk_exp_create()
343 sizeof(struct virtio_blk_config), in vduse_blk_exp_create()
/openbmc/qemu/include/hw/virtio/
H A Dvhost-user-blk.h34 struct virtio_blk_config blkcfg;
/openbmc/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c40 struct virtio_blk_config blkcfg;
404 if (len > sizeof(struct virtio_blk_config)) { in vub_get_config()
432 if (offset != offsetof(struct virtio_blk_config, wce) || in vub_set_config()
532 vub_initialize_config(int fd, struct virtio_blk_config *config) in vub_initialize_config()
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_blk.h35 struct __packed virtio_blk_config { struct
H A Dvirtio_blk.c117 virtio_cread(dev, struct virtio_blk_config, capacity, &cap); in virtio_blk_probe()
/openbmc/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_blk.c368 struct virtio_blk_config *blk_config = config; in vdpasim_blk_get_config()
370 memset(config, 0, sizeof(struct virtio_blk_config)); in vdpasim_blk_get_config()
425 dev_attr.config_size = sizeof(struct virtio_blk_config); in vdpasim_blk_dev_add()
/openbmc/linux/include/uapi/linux/
H A Dvirtio_blk.h60 struct virtio_blk_config { struct
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_blk.h58 struct virtio_blk_config { struct
/openbmc/linux/drivers/vdpa/ifcvf/
H A Difcvf_base.c265 u32 blk_config_size = sizeof(struct virtio_blk_config); in ifcvf_get_config_size()
/openbmc/qemu/tests/qtest/
H A Dvhost-user-blk-test.c757 offsetof(struct virtio_blk_config, num_queues)); in multiqueue()