Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/virtio/
Dvirtio_ring.c54 #define START_USE(vq) argument
55 #define END_USE(vq) argument
64 struct virtqueue vq; member
169 static inline struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev()
175 static dma_addr_t vring_map_one_sg(const struct vring_virtqueue *vq, in vring_map_one_sg()
192 static dma_addr_t vring_map_single(const struct vring_virtqueue *vq, in vring_map_single()
203 static void vring_unmap_one(const struct vring_virtqueue *vq, in vring_unmap_one()
228 static int vring_mapping_error(const struct vring_virtqueue *vq, in vring_mapping_error()
268 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add() local
484 int virtqueue_add_outbuf(struct virtqueue *vq, in virtqueue_add_outbuf()
[all …]
Dvirtio_pci_common.c44 bool vp_notify(struct virtqueue *vq) in vp_notify()
178 void (*callback)(struct virtqueue *vq), in vp_setup_vq()
185 struct virtqueue *vq; in vp_setup_vq() local
214 static void vp_del_vq(struct virtqueue *vq) in vp_del_vq()
232 struct virtqueue *vq, *n; in vp_del_vqs() local
424 int vp_set_vq_affinity(struct virtqueue *vq, const struct cpumask *cpu_mask) in vp_set_vq_affinity()
Dvirtio_pci_legacy.c117 void (*callback)(struct virtqueue *vq), in setup_vq()
122 struct virtqueue *vq; in setup_vq() local
179 struct virtqueue *vq = info->vq; in del_vq() local
Dvirtio_mmio.c101 struct virtqueue *vq; member
276 static bool vm_notify(struct virtqueue *vq) in vm_notify()
316 static void vm_del_vq(struct virtqueue *vq) in vm_del_vq()
344 struct virtqueue *vq, *n; in vm_del_vqs() local
353 void (*callback)(struct virtqueue *vq), in vm_setup_vq()
358 struct virtqueue *vq; in vm_setup_vq() local
/Linux-v4.19/drivers/vhost/
Dvhost.c49 #define vhost_used_event(vq) ((__virtio16 __user *)&vq->avail->ring[vq->num]) argument
50 #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num]) argument
57 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian()
62 static void vhost_enable_cross_endian_big(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_big()
67 static void vhost_enable_cross_endian_little(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_little()
72 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian()
94 static long vhost_get_vring_endian(struct vhost_virtqueue *vq, u32 idx, in vhost_get_vring_endian()
108 static void vhost_init_is_le(struct vhost_virtqueue *vq) in vhost_init_is_le()
118 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian()
122 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian()
[all …]
Dnet.c98 struct vhost_virtqueue *vq; member
109 struct vhost_virtqueue vq; member
221 static void vhost_net_enable_zcopy(int vq) in vhost_net_enable_zcopy()
227 vhost_net_ubuf_alloc(struct vhost_virtqueue *vq, bool zcopy) in vhost_net_ubuf_alloc()
347 struct vhost_virtqueue *vq) in vhost_zerocopy_signal_used()
375 struct vhost_virtqueue *vq = ubufs->vq; in vhost_zerocopy_callback() local
410 struct vhost_virtqueue *vq) in vhost_net_disable_vq()
421 struct vhost_virtqueue *vq) in vhost_net_enable_vq()
437 struct vhost_virtqueue *vq = &nvq->vq; in vhost_net_signal_used() local
452 struct vhost_virtqueue *vq = &nvq->vq; in vhost_net_tx_get_vq_desc() local
[all …]
Dvhost.h155 struct vhost_virtqueue *vq; member
225 #define vq_err(vq, fmt, ...) do { \ argument
240 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature()
245 static inline bool vhost_backend_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_backend_has_feature()
251 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian()
256 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian()
263 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu()
268 static inline __virtio16 cpu_to_vhost16(struct vhost_virtqueue *vq, u16 val) in cpu_to_vhost16()
273 static inline u32 vhost32_to_cpu(struct vhost_virtqueue *vq, __virtio32 val) in vhost32_to_cpu()
278 static inline __virtio32 cpu_to_vhost32(struct vhost_virtqueue *vq, u32 val) in cpu_to_vhost32()
[all …]
Dvsock.c85 struct vhost_virtqueue *vq) in vhost_transport_do_send_pkt()
198 struct vhost_virtqueue *vq; in vhost_transport_send_pkt_work() local
272 vhost_vsock_alloc_pkt(struct vhost_virtqueue *vq, in vhost_vsock_alloc_pkt()
333 struct vhost_virtqueue *vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_vsock_more_replies() local
344 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_tx_kick() local
414 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_rx_kick() local
424 struct vhost_virtqueue *vq; in vhost_vsock_start() local
485 struct vhost_virtqueue *vq = &vsock->vqs[i]; in vhost_vsock_stop() local
636 struct vhost_virtqueue *vq; in vhost_vsock_set_features() local
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.c174 struct vhost_virtqueue vq; member
224 struct vhost_virtqueue *vq; in vhost_scsi_init_inflight() local
248 vhost_scsi_get_inflight(struct vhost_virtqueue *vq) in vhost_scsi_get_inflight()
401 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_allocate_evt() local
440 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_do_evt_work() local
491 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_evt_work() local
519 int ret, vq; in vhost_scsi_complete_cmd_work() local
560 vhost_scsi_get_tag(struct vhost_virtqueue *vq, struct vhost_scsi_tpg *tpg, in vhost_scsi_get_tag()
786 struct vhost_virtqueue *vq, in vhost_scsi_send_bad_target()
804 vhost_scsi_handle_vq(struct vhost_scsi *vs, struct vhost_virtqueue *vq) in vhost_scsi_handle_vq()
[all …]
/Linux-v4.19/arch/arm64/include/uapi/asm/
Dsigcontext.h155 #define sve_vl_from_vq(vq) ((vq) * SVE_VQ_BYTES) argument
208 #define SVE_SIG_ZREG_SIZE(vq) ((__u32)(vq) * SVE_VQ_BYTES) argument
209 #define SVE_SIG_PREG_SIZE(vq) ((__u32)(vq) * (SVE_VQ_BYTES / 8)) argument
210 #define SVE_SIG_FFR_SIZE(vq) SVE_SIG_PREG_SIZE(vq) argument
217 #define SVE_SIG_ZREG_OFFSET(vq, n) \ argument
219 #define SVE_SIG_ZREGS_SIZE(vq) \ argument
222 #define SVE_SIG_PREGS_OFFSET(vq) \ argument
224 #define SVE_SIG_PREG_OFFSET(vq, n) \ argument
226 #define SVE_SIG_PREGS_SIZE(vq) \ argument
229 #define SVE_SIG_FFR_OFFSET(vq) \ argument
[all …]
Dptrace.h153 #define SVE_PT_FPSIMD_SIZE(vq, flags) (sizeof(struct user_fpsimd_state)) argument
180 #define SVE_PT_SVE_ZREG_SIZE(vq) SVE_SIG_ZREG_SIZE(vq) argument
181 #define SVE_PT_SVE_PREG_SIZE(vq) SVE_SIG_PREG_SIZE(vq) argument
182 #define SVE_PT_SVE_FFR_SIZE(vq) SVE_SIG_FFR_SIZE(vq) argument
193 #define SVE_PT_SVE_ZREG_OFFSET(vq, n) \ argument
195 #define SVE_PT_SVE_ZREGS_SIZE(vq) \ argument
198 #define SVE_PT_SVE_PREGS_OFFSET(vq) \ argument
200 #define SVE_PT_SVE_PREG_OFFSET(vq, n) \ argument
202 #define SVE_PT_SVE_PREGS_SIZE(vq) \ argument
206 #define SVE_PT_SVE_FFR_OFFSET(vq) \ argument
[all …]
/Linux-v4.19/net/vmw_vsock/
Dvirtio_transport.c122 struct virtqueue *vq; in virtio_transport_send_pkt_work() local
264 struct virtqueue *vq; in virtio_vsock_rx_fill() local
303 struct virtqueue *vq; in virtio_transport_tx_work() local
327 struct virtqueue *vq = vsock->vqs[VSOCK_VQ_RX]; in virtio_transport_more_replies() local
340 struct virtqueue *vq; in virtio_transport_rx_work() local
391 struct virtqueue *vq; in virtio_vsock_event_fill_one() local
449 struct virtqueue *vq; in virtio_transport_event_work() local
473 static void virtio_vsock_event_done(struct virtqueue *vq) in virtio_vsock_event_done()
482 static void virtio_vsock_tx_done(struct virtqueue *vq) in virtio_vsock_tx_done()
491 static void virtio_vsock_rx_done(struct virtqueue *vq) in virtio_vsock_rx_done()
/Linux-v4.19/tools/virtio/
Dvringh_test.c27 static bool never_notify_host(struct virtqueue *vq) in never_notify_host()
32 static void never_callback_guest(struct virtqueue *vq) in never_callback_guest()
70 static bool parallel_notify_host(struct virtqueue *vq) in parallel_notify_host()
83 static bool no_notify_host(struct virtqueue *vq) in no_notify_host()
294 struct virtqueue *vq; in parallel_test() local
440 struct virtqueue *vq; in main() local
Dvirtio_test.c32 struct virtqueue *vq; member
46 bool vq_notify(struct virtqueue *vq) in vq_notify()
56 void vq_callback(struct virtqueue *vq) in vq_callback()
154 static void run_test(struct vdev_info *dev, struct vq_info *vq, in run_test()
/Linux-v4.19/drivers/media/dvb-core/
Ddvb_vb2.c33 static int _queue_setup(struct vb2_queue *vq, in _queue_setup()
84 static int _start_streaming(struct vb2_queue *vq, unsigned int count) in _start_streaming()
92 static void _stop_streaming(struct vb2_queue *vq) in _stop_streaming()
110 static void _dmxdev_lock(struct vb2_queue *vq) in _dmxdev_lock()
118 static void _dmxdev_unlock(struct vb2_queue *vq) in _dmxdev_unlock()
/Linux-v4.19/include/linux/
Dvirtio.h97 static inline void *virtqueue_get_desc(struct virtqueue *vq) in virtqueue_get_desc()
101 static inline void *virtqueue_get_avail(struct virtqueue *vq) in virtqueue_get_avail()
105 static inline void *virtqueue_get_used(struct virtqueue *vq) in virtqueue_get_used()
160 #define virtio_device_for_each_vq(vdev, vq) \ argument
/Linux-v4.19/drivers/staging/media/imx/
Dimx-media-capture.c371 static int capture_queue_setup(struct vb2_queue *vq, in capture_queue_setup()
415 struct vb2_queue *vq = vb->vb2_queue; in capture_buf_prepare() local
444 static int capture_start_streaming(struct vb2_queue *vq, unsigned int count) in capture_start_streaming()
472 static void capture_stop_streaming(struct vb2_queue *vq) in capture_stop_streaming()
538 struct vb2_queue *vq = &priv->q; in capture_release() local
612 struct vb2_queue *vq = &priv->q; in imx_media_capture_device_error() local
629 struct vb2_queue *vq = &priv->q; in imx_media_capture_device_register() local
/Linux-v4.19/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()
216 vbi_buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, in vbi_buffer_prepare()
265 vbi_buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) in vbi_buffer_queue()
278 static void vbi_buffer_release(struct videobuf_queue *vq, in vbi_buffer_release()
/Linux-v4.19/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
122 struct virtqueue *vq, *n; in __rproc_virtio_del_vqs() local
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-mem2mem.c434 struct vb2_queue *vq; in v4l2_m2m_reqbufs() local
451 struct vb2_queue *vq; in v4l2_m2m_querybuf() local
476 struct vb2_queue *vq; in v4l2_m2m_qbuf() local
491 struct vb2_queue *vq; in v4l2_m2m_dqbuf() local
501 struct vb2_queue *vq; in v4l2_m2m_prepare_buf() local
516 struct vb2_queue *vq; in v4l2_m2m_create_bufs() local
526 struct vb2_queue *vq; in v4l2_m2m_expbuf() local
536 struct vb2_queue *vq; in v4l2_m2m_streamon() local
670 struct vb2_queue *vq; in v4l2_m2m_mmap() local
/Linux-v4.19/arch/arm64/kernel/
Dfpsimd.c267 static unsigned int vq_to_bit(unsigned int vq) in vq_to_bit()
355 #define ZREG(sve_state, vq, n) ((char *)(sve_state) + \ argument
371 unsigned int vq; in fpsimd_to_sve() local
397 unsigned int vq; in sve_to_fpsimd() local
493 unsigned int vq; in sve_sync_from_fpsimd_zeropad() local
635 unsigned int vq, vl; in sve_probe_vqs() local
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-vbi-out.c18 static int vbi_out_queue_setup(struct vb2_queue *vq, in vbi_out_queue_setup()
81 static int vbi_out_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_out_start_streaming()
107 static void vbi_out_stop_streaming(struct vb2_queue *vq) in vbi_out_stop_streaming()
/Linux-v4.19/drivers/scsi/
Dvirtio_scsi.c68 struct virtqueue *vq; member
217 struct virtqueue *vq = virtscsi_vq->vq; in virtscsi_vq_done() local
231 static void virtscsi_req_done(struct virtqueue *vq) in virtscsi_req_done()
259 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()
772 struct virtqueue *vq) in virtscsi_init_vq()
/Linux-v4.19/drivers/misc/mic/vop/
Dvop_main.c238 static bool vop_notify(struct virtqueue *vq) in vop_notify()
247 static void vop_del_vq(struct virtqueue *vq, int n) in vop_del_vq()
264 struct virtqueue *vq, *n; in vop_del_vqs() local
280 void (*callback)(struct virtqueue *vq), in vop_find_vq()
287 struct virtqueue *vq; in vop_find_vq() local
444 struct virtqueue *vq; in vop_virtio_intr_handler() local

123456