Searched refs:vq (Results 1 – 5 of 5) sorted by relevance
/tools/virtio/linux/ |
D | virtio.h | 21 void (*callback)(struct virtqueue *vq); 30 int virtqueue_add_sgs(struct virtqueue *vq, 37 int virtqueue_add_outbuf(struct virtqueue *vq, 42 int virtqueue_add_inbuf(struct virtqueue *vq, 47 bool virtqueue_kick(struct virtqueue *vq); 49 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len); 51 void virtqueue_disable_cb(struct virtqueue *vq); 53 bool virtqueue_enable_cb(struct virtqueue *vq); 54 bool virtqueue_enable_cb_delayed(struct virtqueue *vq); 56 void *virtqueue_detach_unused_buf(struct virtqueue *vq); [all …]
|
/tools/testing/selftests/arm64/fp/ |
D | sve-probe-vls.c | 19 unsigned int vq; in main() local 33 for (vq = SVE_VQ_MAX; vq > 0; --vq) { in main() 34 vl = prctl(PR_SVE_SET_VL, vq * 16); in main() 43 vq = sve_vq_from_vl(vl); in main() 48 vqs[nvqs++] = vq; in main()
|
D | sve-ptrace.c | 118 unsigned int vq; in dump_sve_regs() local 127 vq = sve_vq_from_vl(sve->vl); in dump_sve_regs() 130 dump((const char *)sve + SVE_PT_SVE_ZREG_OFFSET(vq, i), in dump_sve_regs() 148 unsigned int vq; in do_parent() local 244 vq = sve_vq_from_vl(sve->vl); in do_parent() 246 newsvebufsz = SVE_PT_SVE_ZREG_OFFSET(vq, 1); in do_parent() 257 memset((char *)new_sve + SVE_PT_SVE_ZREG_OFFSET(vq, 0), in do_parent() 258 0, SVE_PT_SVE_ZREG_SIZE(vq)); in do_parent() 259 new_sve->size = SVE_PT_SVE_ZREG_OFFSET(vq, 1); in do_parent() 288 p = (unsigned char *)new_sve + SVE_PT_SVE_ZREG_OFFSET(vq, 1); in do_parent()
|
/tools/virtio/ |
D | virtio_test.c | 35 struct virtqueue *vq; member 53 bool vq_notify(struct virtqueue *vq) in vq_notify() argument 55 struct vq_info *info = vq->priv; in vq_notify() 63 void vq_callback(struct virtqueue *vq) in vq_callback() argument 100 if (info->vq) in vq_reset() 101 vring_del_virtqueue(info->vq); in vq_reset() 105 info->vq = __vring_new_virtqueue(info->idx, info->vring, vdev, true, in vq_reset() 107 assert(info->vq); in vq_reset() 108 info->vq->priv = info; in vq_reset() 169 static void run_test(struct vdev_info *dev, struct vq_info *vq, in run_test() argument [all …]
|
D | vringh_test.c | 27 static bool never_notify_host(struct virtqueue *vq) in never_notify_host() argument 32 static void never_callback_guest(struct virtqueue *vq) in never_callback_guest() argument 70 static bool parallel_notify_host(struct virtqueue *vq) in parallel_notify_host() argument 75 gvdev = container_of(vq->vdev, struct guest_virtio_device, vdev); in parallel_notify_host() 83 static bool no_notify_host(struct virtqueue *vq) in no_notify_host() argument 294 struct virtqueue *vq; in parallel_test() local 319 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &gvdev.vdev, true, in parallel_test() 336 while ((dbuf = virtqueue_get_buf(vq, &len)) != NULL) { in parallel_test() 382 err = virtqueue_add_outbuf(vq, sg, num_sg, dbuf, in parallel_test() 385 err = virtqueue_add_inbuf(vq, sg, num_sg, in parallel_test() [all …]
|