/openbmc/qemu/hw/block/ |
H A D | virtio-blk-common.c | 20 #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 D | vhost-user-blk.c | 74 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 D | virtio-blk.c | 1138 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 D | virtio_blk.c | 727 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 D | vhost-user-blk-server.c | 40 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 D | vduse-blk.c | 208 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 D | vhost-user-blk.h | 34 struct virtio_blk_config blkcfg;
|
/openbmc/qemu/contrib/vhost-user-blk/ |
H A D | vhost-user-blk.c | 40 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 D | virtio_blk.h | 35 struct __packed virtio_blk_config { struct
|
H A D | virtio_blk.c | 117 virtio_cread(dev, struct virtio_blk_config, capacity, &cap); in virtio_blk_probe()
|
/openbmc/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_blk.c | 368 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 D | virtio_blk.h | 60 struct virtio_blk_config { struct
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_blk.h | 58 struct virtio_blk_config { struct
|
/openbmc/linux/drivers/vdpa/ifcvf/ |
H A D | ifcvf_base.c | 265 u32 blk_config_size = sizeof(struct virtio_blk_config); in ifcvf_get_config_size()
|
/openbmc/qemu/tests/qtest/ |
H A D | vhost-user-blk-test.c | 757 offsetof(struct virtio_blk_config, num_queues)); in multiqueue()
|