Home
last modified time | relevance | path

Searched refs:queue_size (Results 1 – 18 of 18) sorted by relevance

/openbmc/qemu/block/export/
H A Dvduse-blk.c275 uint16_t queue_size = VDUSE_DEFAULT_QUEUE_SIZE; in vduse_blk_exp_create() local
289 queue_size = vblk_opts->queue_size; in vduse_blk_exp_create()
290 if (queue_size <= 2 || !is_power_of_2(queue_size) || in vduse_blk_exp_create()
291 queue_size > VIRTQUEUE_MAX_SIZE) { in vduse_blk_exp_create()
313 config.seg_max = cpu_to_le32(queue_size - 2); in vduse_blk_exp_create()
361 vduse_dev_setup_queue(vblk_exp->dev, i, queue_size); in vduse_blk_exp_create()
/openbmc/qemu/hw/virtio/
H A Dvhost-user-fs.c229 if (!is_power_of_2(fs->conf.queue_size)) { in vuf_device_realize()
234 if (fs->conf.queue_size > VIRTQUEUE_MAX_SIZE) { in vuf_device_realize()
247 fs->hiprio_vq = virtio_add_queue(vdev, fs->conf.queue_size, vuf_handle_output); in vuf_device_realize()
252 fs->req_vqs[i] = virtio_add_queue(vdev, fs->conf.queue_size, vuf_handle_output); in vuf_device_realize()
415 DEFINE_PROP_UINT16("queue-size", VHostUserFS, conf.queue_size, 128),
/openbmc/qemu/include/hw/virtio/
H A Dvdpa-dev.h38 uint16_t queue_size; member
H A Dvirtio-blk.h45 uint16_t queue_size; member
/openbmc/qemu/tests/qtest/
H A Dpnv-xive2-common.c162 uint8_t queue_size; in set_end() local
169 queue_size = ctz16(XIVE_QUEUE_SIZE) - 12; in set_end()
182 end.w3 = xive_set_field32(END2_W3_QSIZE, end.w3, queue_size); in set_end()
/openbmc/qemu/hw/i386/
H A Dvmmouse.c67 int32_t queue_size; member
281 VMSTATE_INT32_EQUAL(queue_size, VMMouseState, NULL),
294 s->queue_size = VMMOUSE_QUEUE_SIZE; in vmmouse_reset()
/openbmc/qemu/hw/block/
H A Dvhost-user-blk.c166 ret = vhost_dev_get_inflight(&s->dev, s->queue_size, s->inflight); in vhost_user_blk_start()
472 if (!s->queue_size) { in vhost_user_blk_device_realize()
476 if (s->queue_size > VIRTQUEUE_MAX_SIZE) { in vhost_user_blk_device_realize()
492 s->virtqs[i] = virtio_add_queue(vdev, s->queue_size, in vhost_user_blk_device_realize()
585 DEFINE_PROP_UINT32("queue-size", VHostUserBlk, queue_size, 128),
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_pci.h122 __le16 queue_size; /* read-write, power of 2 */ member
H A Dvirtio_pci_modern.c273 num = ioread16(&cfg->queue_size); in virtio_pci_setup_vq()
290 iowrite16(virtqueue_get_vring_size(vq), &cfg->queue_size); in virtio_pci_setup_vq()
/openbmc/qemu/include/hw/ppc/
H A Dopenpic.h62 int32_t queue_size; /* Only used for VMSTATE_BITMAP */ member
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c1872 vu_inflight_queue_size(uint16_t queue_size) in vu_inflight_queue_size() argument
1874 return ALIGN_UP(sizeof(VuDescStateSplit) * queue_size + in vu_inflight_queue_size()
1918 uint16_t num_queues, queue_size; in vu_get_inflight_fd() local
1927 queue_size = vmsg->payload.inflight.queue_size; in vu_get_inflight_fd()
1930 DPRINT("set_inflight_fd queue_size: %"PRId16"\n", queue_size); in vu_get_inflight_fd()
1932 mmap_size = vu_inflight_queue_size(queue_size) * num_queues; in vu_get_inflight_fd()
1969 uint16_t num_queues, queue_size; in vu_set_inflight_fd() local
1983 queue_size = vmsg->payload.inflight.queue_size; in vu_set_inflight_fd()
1988 DPRINT("set_inflight_fd queue_size: %"PRId16"\n", queue_size); in vu_set_inflight_fd()
2012 dev->vq[i].inflight->desc_num = queue_size; in vu_set_inflight_fd()
[all …]
H A Dlibvhost-user.h180 uint16_t queue_size; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_pci.h172 uint16_t queue_size; /* read-write, power of 2. */ member
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py1209 queue_size = buf_[0]
1210 if queue_size < self._threshold:
1212 'fixed to %d bytes', self._fd, queue_size,
1218 r = os.read(self._fd, queue_size)
1221 log.debug('Event queue size: %d', queue_size)
1223 while rsum < queue_size:
/openbmc/qemu/subprojects/libvduse/
H A Dlibvduse.c129 uint16_t queue_size; member
138 static inline size_t vduse_vq_log_size(uint16_t queue_size) in vduse_vq_log_size() argument
140 return ALIGN_UP(sizeof(VduseDescStateSplit) * queue_size + in vduse_vq_log_size()
/openbmc/qemu/hw/intc/
H A Dopenpic.c1395 VMSTATE_BITMAP(queue, IRQQueue, 0, queue_size),
1599 opp->dst[i].raised.queue_size = IRQQUEUE_SIZE_BITS; in openpic_realize()
1601 opp->dst[i].servicing.queue_size = IRQQUEUE_SIZE_BITS; in openpic_realize()
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-pci-modern.c197 offsetof(struct virtio_pci_common_cfg, queue_size)); in get_queue_size()
/openbmc/qemu/docs/devel/migration/
H A Dcompatibility.rst208 DEFINE_PROP_UINT16("queue-size", VirtIOBlock, conf.queue_size, 256),