Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/arch/arm64/include/uapi/asm/
Dsve_context.h31 #define __sve_vl_from_vq(vq) ((vq) * __SVE_VQ_BYTES) argument
33 #define __SVE_ZREG_SIZE(vq) ((__u32)(vq) * __SVE_VQ_BYTES) argument
34 #define __SVE_PREG_SIZE(vq) ((__u32)(vq) * (__SVE_VQ_BYTES / 8)) argument
35 #define __SVE_FFR_SIZE(vq) __SVE_PREG_SIZE(vq) argument
38 #define __SVE_ZREG_OFFSET(vq, n) \ argument
40 #define __SVE_ZREGS_SIZE(vq) \ argument
43 #define __SVE_PREGS_OFFSET(vq) \ argument
45 #define __SVE_PREG_OFFSET(vq, n) \ argument
47 #define __SVE_PREGS_SIZE(vq) \ argument
50 #define __SVE_FFR_OFFSET(vq) \ argument
Dsigcontext.h165 #define sve_vl_from_vq(vq) __sve_vl_from_vq(vq) argument
223 #define SVE_SIG_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument
224 #define SVE_SIG_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument
225 #define SVE_SIG_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument
233 #define SVE_SIG_ZREG_OFFSET(vq, n) \ argument
235 #define SVE_SIG_ZREGS_SIZE(vq) __SVE_ZREGS_SIZE(vq) argument
237 #define SVE_SIG_PREGS_OFFSET(vq) \ argument
239 #define SVE_SIG_PREG_OFFSET(vq, n) \ argument
241 #define SVE_SIG_PREGS_SIZE(vq) __SVE_PREGS_SIZE(vq) argument
243 #define SVE_SIG_FFR_OFFSET(vq) \ argument
[all …]
Dptrace.h155 #define SVE_PT_FPSIMD_SIZE(vq, flags) (sizeof(struct user_fpsimd_state)) argument
186 #define SVE_PT_SVE_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument
187 #define SVE_PT_SVE_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument
188 #define SVE_PT_SVE_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument
196 #define SVE_PT_SVE_ZREG_OFFSET(vq, n) \ argument
198 #define SVE_PT_SVE_ZREGS_SIZE(vq) \ argument
201 #define SVE_PT_SVE_PREGS_OFFSET(vq) \ argument
203 #define SVE_PT_SVE_PREG_OFFSET(vq, n) \ argument
205 #define SVE_PT_SVE_PREGS_SIZE(vq) \ argument
209 #define SVE_PT_SVE_FFR_OFFSET(vq) \ argument
[all …]
/Linux-v5.4/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.c97 struct vhost_virtqueue *vq; member
108 struct vhost_virtqueue vq; member
228 static void vhost_net_enable_zcopy(int vq) in vhost_net_enable_zcopy()
234 vhost_net_ubuf_alloc(struct vhost_virtqueue *vq, bool zcopy) in vhost_net_ubuf_alloc()
359 struct vhost_virtqueue *vq) in vhost_zerocopy_signal_used()
387 struct vhost_virtqueue *vq = ubufs->vq; in vhost_zerocopy_callback() local
422 struct vhost_virtqueue *vq) in vhost_net_disable_vq()
433 struct vhost_virtqueue *vq) in vhost_net_enable_vq()
449 struct vhost_virtqueue *vq = &nvq->vq; in vhost_net_signal_used() local
498 struct vhost_virtqueue *vq) in vhost_net_busy_poll_try_queue()
[all …]
Dvhost.h155 struct vhost_virtqueue *vq; member
231 #define vq_err(vq, fmt, ...) do { \ argument
246 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature()
251 static inline bool vhost_backend_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_backend_has_feature()
257 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian()
262 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian()
269 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu()
274 static inline __virtio16 cpu_to_vhost16(struct vhost_virtqueue *vq, u16 val) in cpu_to_vhost16()
279 static inline u32 vhost32_to_cpu(struct vhost_virtqueue *vq, __virtio32 val) in vhost32_to_cpu()
284 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()
230 struct vhost_virtqueue *vq; in vhost_transport_send_pkt_work() local
315 vhost_vsock_alloc_pkt(struct vhost_virtqueue *vq, in vhost_vsock_alloc_pkt()
378 struct vhost_virtqueue *vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_vsock_more_replies() local
389 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_tx_kick() local
461 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_rx_kick() local
471 struct vhost_virtqueue *vq; in vhost_vsock_start() local
532 struct vhost_virtqueue *vq = &vsock->vqs[i]; in vhost_vsock_stop() local
698 struct vhost_virtqueue *vq; in vhost_vsock_set_features() local
Dscsi.c180 struct vhost_virtqueue vq; member
243 struct vhost_virtqueue *vq; in vhost_scsi_init_inflight() local
267 vhost_scsi_get_inflight(struct vhost_virtqueue *vq) in vhost_scsi_get_inflight()
410 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_allocate_evt() local
449 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_do_evt_work() local
500 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_evt_work() local
528 int ret, vq; in vhost_scsi_complete_cmd_work() local
569 vhost_scsi_get_tag(struct vhost_virtqueue *vq, struct vhost_scsi_tpg *tpg, in vhost_scsi_get_tag()
795 struct vhost_virtqueue *vq, in vhost_scsi_send_bad_target()
813 vhost_scsi_get_desc(struct vhost_scsi *vs, struct vhost_virtqueue *vq, in vhost_scsi_get_desc()
[all …]
Dtest.c45 struct vhost_virtqueue *vq = &n->vqs[VHOST_TEST_VQ]; in handle_vq() local
98 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_vq_kick() local
131 struct vhost_virtqueue *vq) in vhost_test_stop_vq()
176 struct vhost_virtqueue *vq; in vhost_test_run() local
250 struct vhost_virtqueue *vq; in vhost_test_set_features() local
/Linux-v5.4/drivers/virtio/
Dvirtio_ring.c61 #define START_USE(vq) argument
62 #define END_USE(vq) argument
63 #define LAST_ADD_TIME_UPDATE(vq) argument
64 #define LAST_ADD_TIME_CHECK(vq) argument
65 #define LAST_ADD_TIME_INVALID(vq) argument
88 struct virtqueue vq; member
206 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_use_indirect() local
319 static inline struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev()
325 static dma_addr_t vring_map_one_sg(const struct vring_virtqueue *vq, in vring_map_one_sg()
342 static dma_addr_t vring_map_single(const struct vring_virtqueue *vq, in vring_map_single()
[all …]
Dvirtio_pci_common.c41 bool vp_notify(struct virtqueue *vq) in vp_notify()
175 void (*callback)(struct virtqueue *vq), in vp_setup_vq()
182 struct virtqueue *vq; in vp_setup_vq() local
211 static void vp_del_vq(struct virtqueue *vq) in vp_del_vq()
229 struct virtqueue *vq, *n; in vp_del_vqs() local
423 int vp_set_vq_affinity(struct virtqueue *vq, const struct cpumask *cpu_mask) in vp_set_vq_affinity()
Dvirtio_pci_legacy.c116 void (*callback)(struct virtqueue *vq), in setup_vq()
121 struct virtqueue *vq; in setup_vq() local
178 struct virtqueue *vq = info->vq; in del_vq() local
Dvirtio_mmio.c97 struct virtqueue *vq; member
272 static bool vm_notify(struct virtqueue *vq) in vm_notify()
312 static void vm_del_vq(struct virtqueue *vq) in vm_del_vq()
340 struct virtqueue *vq, *n; in vm_del_vqs() local
349 void (*callback)(struct virtqueue *vq), in vm_setup_vq()
354 struct virtqueue *vq; in vm_setup_vq() local
/Linux-v5.4/net/vmw_vsock/
Dvirtio_transport.c135 struct virtqueue *vq; in virtio_transport_send_pkt_work() local
294 struct virtqueue *vq; in virtio_vsock_rx_fill() local
334 struct virtqueue *vq; in virtio_transport_tx_work() local
364 struct virtqueue *vq = vsock->vqs[VSOCK_VQ_RX]; in virtio_transport_more_replies() local
377 struct virtqueue *vq; in virtio_transport_rx_work() local
431 struct virtqueue *vq; in virtio_vsock_event_fill_one() local
489 struct virtqueue *vq; in virtio_transport_event_work() local
516 static void virtio_vsock_event_done(struct virtqueue *vq) in virtio_vsock_event_done()
525 static void virtio_vsock_tx_done(struct virtqueue *vq) in virtio_vsock_tx_done()
534 static void virtio_vsock_rx_done(struct virtqueue *vq) in virtio_vsock_rx_done()
/Linux-v5.4/drivers/staging/media/sunxi/cedrus/
Dcedrus_video.c290 struct vb2_queue *vq; in cedrus_s_fmt_vid_cap() local
312 struct vb2_queue *vq; in cedrus_s_fmt_vid_out() local
362 static int cedrus_queue_setup(struct vb2_queue *vq, unsigned int *nbufs, in cedrus_queue_setup()
394 static void cedrus_queue_cleanup(struct vb2_queue *vq, u32 state) in cedrus_queue_cleanup()
424 struct vb2_queue *vq = vb->vb2_queue; in cedrus_buf_prepare() local
441 static int cedrus_start_streaming(struct vb2_queue *vq, unsigned int count) in cedrus_start_streaming()
470 static void cedrus_stop_streaming(struct vb2_queue *vq) in cedrus_stop_streaming()
/Linux-v5.4/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-v5.4/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-v5.4/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
278 bool (*notify)(struct virtqueue *vq), in vop_new_virtqueue()
279 void (*callback)(struct virtqueue *vq), in vop_new_virtqueue()
300 void (*callback)(struct virtqueue *vq), in vop_find_vq()
307 struct virtqueue *vq; in vop_find_vq() local
457 struct virtqueue *vq; in vop_virtio_intr_handler() local
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c157 vbi_buffer_setup(struct videobuf_queue *vq, unsigned int *count, in vbi_buffer_setup()
178 static void free_buffer(struct videobuf_queue *vq, struct cx231xx_buffer *buf) in free_buffer()
204 vbi_buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, in vbi_buffer_prepare()
253 vbi_buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb) in vbi_buffer_queue()
266 static void vbi_buffer_release(struct videobuf_queue *vq, in vbi_buffer_release()
/Linux-v5.4/drivers/scsi/
Dvirtio_scsi.c67 struct virtqueue *vq; member
178 struct virtqueue *vq = virtscsi_vq->vq; in virtscsi_vq_done() local
192 static void virtscsi_req_done(struct virtqueue *vq) in virtscsi_req_done()
220 static void virtscsi_ctrl_done(struct virtqueue *vq) in virtscsi_ctrl_done()
397 static void virtscsi_event_done(struct virtqueue *vq) in virtscsi_event_done()
405 static int __virtscsi_add_cmd(struct virtqueue *vq, in __virtscsi_add_cmd()
450 static void virtscsi_kick_vq(struct virtio_scsi_vq *vq) in virtscsi_kick_vq()
471 static int virtscsi_add_cmd(struct virtio_scsi_vq *vq, in virtscsi_add_cmd()
762 struct virtqueue *vq) in virtscsi_init_vq()
/Linux-v5.4/fs/fuse/
Dvirtio_fs.c30 struct virtqueue *vq; /* protected by ->lock */ member
61 static inline struct virtio_fs_vq *vq_to_fsvq(struct virtqueue *vq) in vq_to_fsvq()
68 static inline struct fuse_pqueue *vq_to_fpq(struct virtqueue *vq) in vq_to_fpq()
242 struct virtqueue *vq = fsvq->vq; in virtio_fs_hiprio_done_work() local
321 struct virtqueue *vq = fsvq->vq; in virtio_fs_hiprio_dispatch_work() local
452 struct virtqueue *vq = fsvq->vq; in virtio_fs_requests_done_work() local
512 static void virtio_fs_vq_done(struct virtqueue *vq) in virtio_fs_vq_done()
716 struct virtqueue *vq; in virtio_fs_wake_forget_and_unlock() local
883 struct virtqueue *vq; in virtio_fs_enqueue_req() local
/Linux-v5.4/drivers/remoteproc/
Dremoteproc_virtio.c27 static bool rproc_virtio_notify(struct virtqueue *vq) in rproc_virtio_notify()
67 void (*callback)(struct virtqueue *vq), in rp_find_vq()
76 struct virtqueue *vq; in rp_find_vq() local
128 struct virtqueue *vq, *n; in __rproc_virtio_del_vqs() local
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-mem2mem.c449 struct vb2_queue *vq; in v4l2_m2m_reqbufs() local
466 struct vb2_queue *vq; in v4l2_m2m_querybuf() local
492 struct vb2_queue *vq; in v4l2_m2m_qbuf() local
513 struct vb2_queue *vq; in v4l2_m2m_dqbuf() local
524 struct vb2_queue *vq; in v4l2_m2m_prepare_buf() local
534 struct vb2_queue *vq; in v4l2_m2m_create_bufs() local
544 struct vb2_queue *vq; in v4l2_m2m_expbuf() local
554 struct vb2_queue *vq; in v4l2_m2m_streamon() local
692 struct vb2_queue *vq; in v4l2_m2m_mmap() local
/Linux-v5.4/drivers/staging/media/imx/
Dimx-media-capture.c457 static int capture_queue_setup(struct vb2_queue *vq, in capture_queue_setup()
501 struct vb2_queue *vq = vb->vb2_queue; in capture_buf_prepare() local
557 static int capture_start_streaming(struct vb2_queue *vq, unsigned int count) in capture_start_streaming()
591 static void capture_stop_streaming(struct vb2_queue *vq) in capture_stop_streaming()
656 struct vb2_queue *vq = &priv->q; in capture_release() local
716 struct vb2_queue *vq = &priv->q; in imx_media_capture_device_error() local
734 struct vb2_queue *vq = &priv->q; in imx_media_capture_device_register() local

1234567