Home
last modified time | relevance | path

Searched defs:vq (Results 1 – 25 of 98) sorted by relevance

1234

/drivers/virtio/
Dvirtio_ring.c53 #define START_USE(vq) argument
54 #define END_USE(vq) argument
59 struct virtqueue vq; member
131 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add() local
304 int virtqueue_add_outbuf(struct virtqueue *vq, in virtqueue_add_outbuf()
326 int virtqueue_add_inbuf(struct virtqueue *vq, in virtqueue_add_inbuf()
348 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare() local
390 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_notify() local
416 bool virtqueue_kick(struct virtqueue *vq) in virtqueue_kick()
424 static void detach_buf(struct vring_virtqueue *vq, unsigned int head) in detach_buf()
[all …]
Dvirtio_pci.c75 struct virtqueue *vq; member
197 static bool vp_notify(struct virtqueue *vq) in vp_notify()
385 void (*callback)(struct virtqueue *vq), in setup_vq()
391 struct virtqueue *vq; in setup_vq() local
464 static void vp_del_vq(struct virtqueue *vq) in vp_del_vq()
497 struct virtqueue *vq, *n; in vp_del_vqs() local
624 static int vp_set_vq_affinity(struct virtqueue *vq, int cpu) in vp_set_vq_affinity()
Dvirtio_mmio.c129 struct virtqueue *vq; member
222 static bool vm_notify(struct virtqueue *vq) in vm_notify()
262 static void vm_del_vq(struct virtqueue *vq) in vm_del_vq()
287 struct virtqueue *vq, *n; in vm_del_vqs() local
298 void (*callback)(struct virtqueue *vq), in vm_setup_vq()
303 struct virtqueue *vq; in vm_setup_vq() local
Dvirtio_balloon.c97 static void balloon_ack(struct virtqueue *vq) in balloon_ack()
104 static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq) in tell_host()
242 static void stats_request(struct virtqueue *vq) in stats_request()
252 struct virtqueue *vq; in stats_handle_request() local
/drivers/vhost/
Dvhost.c36 #define vhost_used_event(vq) ((u16 __user *)&vq->avail->ring[vq->num]) argument
37 #define vhost_avail_event(vq) ((u16 __user *)&vq->used->ring[vq->num]) argument
178 struct vhost_virtqueue *vq) in vhost_vq_reset()
253 static void vhost_vq_free_iovecs(struct vhost_virtqueue *vq) in vhost_vq_free_iovecs()
266 struct vhost_virtqueue *vq; in vhost_dev_alloc_iovecs() local
297 struct vhost_virtqueue *vq; in vhost_dev_init() local
549 static int vq_access_ok(struct vhost_virtqueue *vq, unsigned int num, in vq_access_ok()
572 static int vq_log_access_ok(struct vhost_virtqueue *vq, in vq_log_access_ok()
586 int vhost_vq_access_ok(struct vhost_virtqueue *vq) in vhost_vq_access_ok()
639 struct vhost_virtqueue *vq; in vhost_vring_ioctl() local
[all …]
Dnet.c81 struct vhost_virtqueue *vq; member
85 struct vhost_virtqueue vq; member
120 static void vhost_net_enable_zcopy(int vq) in vhost_net_enable_zcopy()
126 vhost_net_ubuf_alloc(struct vhost_virtqueue *vq, bool zcopy) in vhost_net_ubuf_alloc()
281 struct vhost_virtqueue *vq) in vhost_zerocopy_signal_used()
309 struct vhost_virtqueue *vq = ubufs->vq; in vhost_zerocopy_callback() local
337 struct vhost_virtqueue *vq = &nvq->vq; in handle_tx() local
490 static int get_rx_bufs(struct vhost_virtqueue *vq, in get_rx_bufs()
557 struct vhost_virtqueue *vq = &nvq->vq; in handle_rx() local
673 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_tx_kick() local
[all …]
Dtest.c40 struct vhost_virtqueue *vq = &n->vqs[VHOST_TEST_VQ]; in handle_vq() local
95 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_vq_kick() local
127 struct vhost_virtqueue *vq) in vhost_test_stop_vq()
171 struct vhost_virtqueue *vq; in vhost_test_run() local
244 struct vhost_virtqueue *vq; in vhost_test_set_features() local
Dscsi.c181 struct vhost_virtqueue vq; member
240 struct vhost_virtqueue *vq; in tcm_vhost_init_inflight() local
264 tcm_vhost_get_inflight(struct vhost_virtqueue *vq) in tcm_vhost_get_inflight()
565 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in tcm_vhost_allocate_evt() local
604 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in tcm_vhost_do_evt_work() local
655 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in tcm_vhost_evt_work() local
684 int ret, vq; in vhost_scsi_complete_cmd_work() local
724 vhost_scsi_get_tag(struct vhost_virtqueue *vq, struct tcm_vhost_tpg *tpg, in vhost_scsi_get_tag()
967 struct vhost_virtqueue *vq, in vhost_scsi_send_bad_target()
985 vhost_scsi_handle_vq(struct vhost_scsi *vs, struct vhost_virtqueue *vq) in vhost_scsi_handle_vq()
[all …]
/drivers/s390/kvm/
Dkvm_virtio.c169 static bool kvm_notify(struct virtqueue *vq) in kvm_notify()
186 void (*callback)(struct virtqueue *vq), in kvm_find_vq()
191 struct virtqueue *vq; in kvm_find_vq() local
232 static void kvm_del_vq(struct virtqueue *vq) in kvm_del_vq()
244 struct virtqueue *vq, *n; in kvm_del_vqs() local
394 struct virtqueue *vq; in kvm_extint_handler() local
Dvirtio_ccw.c91 struct virtqueue *vq; member
145 static void drop_airq_indicator(struct virtqueue *vq, struct airq_info *info) in drop_airq_indicator()
362 static bool virtio_ccw_kvm_notify(struct virtqueue *vq) in virtio_ccw_kvm_notify()
388 static void virtio_ccw_del_vq(struct virtqueue *vq, struct ccw1 *ccw) in virtio_ccw_del_vq()
430 struct virtqueue *vq, *n; in virtio_ccw_del_vqs() local
453 struct virtqueue *vq = NULL; in virtio_ccw_setup_vq() local
876 struct virtqueue *vq; in virtio_ccw_vq_by_ind() local
897 struct virtqueue *vq; in virtio_ccw_int_handler() local
/drivers/media/v4l2-core/
Dv4l2-mem2mem.c359 struct vb2_queue *vq; in v4l2_m2m_reqbufs() local
374 struct vb2_queue *vq; in v4l2_m2m_querybuf() local
403 struct vb2_queue *vq; in v4l2_m2m_qbuf() local
422 struct vb2_queue *vq; in v4l2_m2m_dqbuf() local
436 struct vb2_queue *vq; in v4l2_m2m_create_bufs() local
450 struct vb2_queue *vq; in v4l2_m2m_expbuf() local
462 struct vb2_queue *vq; in v4l2_m2m_streamon() local
616 struct vb2_queue *vq; in v4l2_m2m_mmap() local
/drivers/lguest/
Dlguest_device.c232 static bool lg_notify(struct virtqueue *vq) in lg_notify()
259 void (*callback)(struct virtqueue *vq), in lg_find_vq()
264 struct virtqueue *vq; in lg_find_vq() local
348 static void lg_del_vq(struct virtqueue *vq) in lg_del_vq()
364 struct virtqueue *vq, *n; in lg_del_vqs() local
/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c169 vbi_buffer_setup(struct videobuf_queue *vq, unsigned int *count, in vbi_buffer_setup()
190 static void free_buffer(struct videobuf_queue *vq, struct cx231xx_buffer *buf) in free_buffer()
217 vbi_buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, in vbi_buffer_prepare()
266 vbi_buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) in vbi_buffer_queue()
279 static void vbi_buffer_release(struct videobuf_queue *vq, in vbi_buffer_release()
/drivers/remoteproc/
Dremoteproc_virtio.c33 static bool rproc_virtio_notify(struct virtqueue *vq) in rproc_virtio_notify()
73 void (*callback)(struct virtqueue *vq), in rp_find_vq()
80 struct virtqueue *vq; in rp_find_vq() local
126 struct virtqueue *vq, *n; in __rproc_virtio_del_vqs() local
/drivers/misc/mic/card/
Dmic_virtio.c190 static bool mic_notify(struct virtqueue *vq) in mic_notify()
198 static void mic_del_vq(struct virtqueue *vq, int n) in mic_del_vq()
212 struct virtqueue *vq, *n; in mic_del_vqs() local
228 void (*callback)(struct virtqueue *vq), in mic_find_vq()
234 struct virtqueue *vq; in mic_find_vq() local
373 struct virtqueue *vq; in mic_virtio_intr_handler() local
/drivers/scsi/
Dvirtio_scsi.c65 struct virtqueue *vq; member
219 struct virtqueue *vq = virtscsi_vq->vq; in virtscsi_vq_done() local
233 static void virtscsi_req_done(struct virtqueue *vq) in virtscsi_req_done()
261 static void virtscsi_ctrl_done(struct virtqueue *vq) in virtscsi_ctrl_done()
405 static void virtscsi_event_done(struct virtqueue *vq) in virtscsi_event_done()
420 static int virtscsi_add_cmd(struct virtqueue *vq, in virtscsi_add_cmd()
465 static int virtscsi_kick_cmd(struct virtio_scsi_vq *vq, in virtscsi_kick_cmd()
567 struct virtio_scsi_vq *vq; in virtscsi_pick_vq() local
857 struct virtqueue *vq) in virtscsi_init_vq()
/drivers/media/platform/vivid/
Dvivid-vbi-out.c30 static int vbi_out_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vbi_out_queue_setup()
92 static int vbi_out_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_out_start_streaming()
117 static void vbi_out_stop_streaming(struct vb2_queue *vq) in vbi_out_stop_streaming()
Dvivid-vbi-cap.c138 static int vbi_cap_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in vbi_cap_queue_setup()
200 static int vbi_cap_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_cap_start_streaming()
225 static void vbi_cap_stop_streaming(struct vb2_queue *vq) in vbi_cap_stop_streaming()
Dvivid-sdr-cap.c193 static int sdr_cap_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in sdr_cap_queue_setup()
240 static int sdr_cap_start_streaming(struct vb2_queue *vq, unsigned count) in sdr_cap_start_streaming()
272 static void sdr_cap_stop_streaming(struct vb2_queue *vq) in sdr_cap_stop_streaming()
/drivers/media/usb/au0828/
Dau0828-vbi.c38 free_buffer(struct videobuf_queue *vq, struct au0828_buffer *buf) in free_buffer()
114 vbi_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) in vbi_queue()
/drivers/usb/gadget/function/
Duvc_queue.c44 static int uvc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in uvc_queue_setup()
107 static void uvc_wait_prepare(struct vb2_queue *vq) in uvc_wait_prepare()
114 static void uvc_wait_finish(struct vb2_queue *vq) in uvc_wait_finish()
/drivers/media/usb/uvc/
Duvc_queue.c43 static int uvc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in uvc_queue_setup()
120 static void uvc_wait_prepare(struct vb2_queue *vq) in uvc_wait_prepare()
127 static void uvc_wait_finish(struct vb2_queue *vq) in uvc_wait_finish()
/drivers/char/hw_random/
Dvirtio-rng.c32 struct virtqueue *vq; member
43 static void random_recv_done(struct virtqueue *vq) in random_recv_done()
/drivers/media/usb/pwc/
Dpwc-if.c574 static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, in queue_setup()
658 static int start_streaming(struct vb2_queue *vq, unsigned int count) in start_streaming()
685 static void stop_streaming(struct vb2_queue *vq) in stop_streaming()
/drivers/char/
Dvirtio_console.c324 struct virtqueue *vq) in find_port_by_vq()
420 static struct port_buffer *alloc_buf(struct virtqueue *vq, size_t buf_size, in alloc_buf()
503 static int add_inbuf(struct virtqueue *vq, struct port_buffer *buf) in add_inbuf()
564 struct virtqueue *vq; in __send_control_msg() local
1365 static unsigned int fill_queue(struct virtqueue *vq, spinlock_t *lock) in fill_queue()
1760 struct virtqueue *vq; in control_work_handler() local
1786 static void out_intr(struct virtqueue *vq) in out_intr()
1797 static void in_intr(struct virtqueue *vq) in in_intr()
1840 static void control_intr(struct virtqueue *vq) in control_intr()

1234