/linux-6.1.9/drivers/vhost/ |
D | vhost.c | 49 #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 53 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian() 58 static void vhost_enable_cross_endian_big(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_big() 63 static void vhost_enable_cross_endian_little(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_little() 68 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() 90 static long vhost_get_vring_endian(struct vhost_virtqueue *vq, u32 idx, in vhost_get_vring_endian() 104 static void vhost_init_is_le(struct vhost_virtqueue *vq) in vhost_init_is_le() 114 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian() 118 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() [all …]
|
D | vhost.h | 140 struct vhost_virtqueue *vq; member 229 #define vq_err(vq, fmt, ...) do { \ argument 252 static inline void vhost_vq_set_backend(struct vhost_virtqueue *vq, in vhost_vq_set_backend() 266 static inline void *vhost_vq_get_backend(struct vhost_virtqueue *vq) in vhost_vq_get_backend() 271 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() 276 static inline bool vhost_backend_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_backend_has_feature() 282 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() 287 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() 294 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu() 299 static inline __virtio16 cpu_to_vhost16(struct vhost_virtqueue *vq, u16 val) in cpu_to_vhost16() [all …]
|
D | net.c | 97 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() 389 struct vhost_virtqueue *vq = ubufs->vq; in vhost_zerocopy_callback() local 424 struct vhost_virtqueue *vq) in vhost_net_disable_vq() 435 struct vhost_virtqueue *vq) in vhost_net_enable_vq() 451 struct vhost_virtqueue *vq = &nvq->vq; in vhost_net_signal_used() local 510 struct vhost_virtqueue *vq) in vhost_net_busy_poll_try_queue() [all …]
|
D | test.c | 45 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() 169 struct vhost_virtqueue *vq; in vhost_test_run() local 243 struct vhost_virtqueue *vq; in vhost_test_set_features() local 264 struct vhost_virtqueue *vq; in vhost_test_set_backend() local
|
D | scsi.c | 170 struct vhost_virtqueue vq; member 251 struct vhost_virtqueue *vq; in vhost_scsi_init_inflight() local 275 vhost_scsi_get_inflight(struct vhost_virtqueue *vq) in vhost_scsi_get_inflight() 439 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_allocate_evt() local 469 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_do_evt_work() local 520 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_evt_work() local 547 int ret, vq; in vhost_scsi_complete_cmd_work() local 588 vhost_scsi_get_cmd(struct vhost_virtqueue *vq, struct vhost_scsi_tpg *tpg, in vhost_scsi_get_cmd() 807 struct vhost_virtqueue *vq, in vhost_scsi_send_bad_target() 825 vhost_scsi_get_desc(struct vhost_scsi *vs, struct vhost_virtqueue *vq, in vhost_scsi_get_desc() [all …]
|
D | vsock.c | 92 struct vhost_virtqueue *vq) in vhost_transport_do_send_pkt() 271 struct vhost_virtqueue *vq; in vhost_transport_send_pkt_work() local 356 vhost_vsock_alloc_pkt(struct vhost_virtqueue *vq, in vhost_vsock_alloc_pkt() 418 struct vhost_virtqueue *vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_vsock_more_replies() local 495 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_tx_kick() local 568 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_rx_kick() local 578 struct vhost_virtqueue *vq; in vhost_vsock_start() local 646 struct vhost_virtqueue *vq = &vsock->vqs[i]; in vhost_vsock_stop() local 819 struct vhost_virtqueue *vq; in vhost_vsock_set_features() local
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_ring.c | 63 #define START_USE(vq) argument 64 #define END_USE(vq) argument 65 #define LAST_ADD_TIME_UPDATE(vq) argument 66 #define LAST_ADD_TIME_CHECK(vq) argument 67 #define LAST_ADD_TIME_INVALID(vq) argument 155 struct virtqueue vq; member 232 static inline bool virtqueue_use_indirect(struct vring_virtqueue *vq, in virtqueue_use_indirect() 346 static inline struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev() 352 static dma_addr_t vring_map_one_sg(const struct vring_virtqueue *vq, in vring_map_one_sg() 376 static dma_addr_t vring_map_single(const struct vring_virtqueue *vq, in vring_map_single() [all …]
|
D | virtio_pci_modern.c | 182 static int vp_active_vq(struct virtqueue *vq, u16 msix_vec) in vp_active_vq() 205 static int vp_modern_disable_vq_and_reset(struct virtqueue *vq) in vp_modern_disable_vq_and_reset() 244 static int vp_modern_enable_vq_after_reset(struct virtqueue *vq) in vp_modern_enable_vq_after_reset() 294 void (*callback)(struct virtqueue *vq), in setup_vq() 301 struct virtqueue *vq; in setup_vq() local 354 struct virtqueue *vq; in vp_modern_find_vqs() local 371 struct virtqueue *vq = info->vq; in del_vq() local
|
D | virtio_pci_common.c | 41 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() 235 struct virtqueue *vq, *n; in vp_del_vqs() local 431 int vp_set_vq_affinity(struct virtqueue *vq, const struct cpumask *cpu_mask) in vp_set_vq_affinity()
|
D | virtio_vdpa.c | 39 struct virtqueue *vq; member 105 static bool virtio_vdpa_notify(struct virtqueue *vq) in virtio_vdpa_notify() 133 void (*callback)(struct virtqueue *vq), in virtio_vdpa_setup_vq() 141 struct virtqueue *vq; in virtio_vdpa_setup_vq() local 239 static void virtio_vdpa_del_vq(struct virtqueue *vq) in virtio_vdpa_del_vq() 262 struct virtqueue *vq, *n; in virtio_vdpa_del_vqs() local
|
/linux-6.1.9/arch/arm64/include/uapi/asm/ |
D | sve_context.h | 31 #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
|
D | sigcontext.h | 176 #define sve_vl_from_vq(vq) __sve_vl_from_vq(vq) argument 241 #define SVE_SIG_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument 242 #define SVE_SIG_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument 243 #define SVE_SIG_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument 251 #define SVE_SIG_ZREG_OFFSET(vq, n) \ argument 253 #define SVE_SIG_ZREGS_SIZE(vq) __SVE_ZREGS_SIZE(vq) argument 255 #define SVE_SIG_PREGS_OFFSET(vq) \ argument 257 #define SVE_SIG_PREG_OFFSET(vq, n) \ argument 259 #define SVE_SIG_PREGS_SIZE(vq) __SVE_PREGS_SIZE(vq) argument 261 #define SVE_SIG_FFR_OFFSET(vq) \ argument [all …]
|
D | ptrace.h | 169 #define SVE_PT_FPSIMD_SIZE(vq, flags) (sizeof(struct user_fpsimd_state)) argument 200 #define SVE_PT_SVE_ZREG_SIZE(vq) __SVE_ZREG_SIZE(vq) argument 201 #define SVE_PT_SVE_PREG_SIZE(vq) __SVE_PREG_SIZE(vq) argument 202 #define SVE_PT_SVE_FFR_SIZE(vq) __SVE_FFR_SIZE(vq) argument 210 #define SVE_PT_SVE_ZREG_OFFSET(vq, n) \ argument 212 #define SVE_PT_SVE_ZREGS_SIZE(vq) \ argument 215 #define SVE_PT_SVE_PREGS_OFFSET(vq) \ argument 217 #define SVE_PT_SVE_PREG_OFFSET(vq, n) \ argument 219 #define SVE_PT_SVE_PREGS_SIZE(vq) \ argument 224 #define SVE_PT_SVE_FFR_OFFSET(vq) \ argument [all …]
|
/linux-6.1.9/net/vmw_vsock/ |
D | virtio_transport.c | 92 struct virtqueue *vq; in virtio_transport_send_pkt_work() local 252 struct virtqueue *vq; in virtio_vsock_rx_fill() local 292 struct virtqueue *vq; in virtio_transport_tx_work() local 322 struct virtqueue *vq = vsock->vqs[VSOCK_VQ_RX]; in virtio_transport_more_replies() local 336 struct virtqueue *vq; in virtio_vsock_event_fill_one() local 398 struct virtqueue *vq; in virtio_transport_event_work() local 425 static void virtio_vsock_event_done(struct virtqueue *vq) in virtio_vsock_event_done() 434 static void virtio_vsock_tx_done(struct virtqueue *vq) in virtio_vsock_tx_done() 443 static void virtio_vsock_rx_done(struct virtqueue *vq) in virtio_vsock_rx_done() 520 struct virtqueue *vq; in virtio_transport_rx_work() local
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-virtio.c | 31 struct virtqueue *vq; member 48 static void virtio_i2c_msg_done(struct virtqueue *vq) in virtio_i2c_msg_done() 57 static int virtio_i2c_prepare_reqs(struct virtqueue *vq, in virtio_i2c_prepare_reqs() 109 static int virtio_i2c_complete_reqs(struct virtqueue *vq, in virtio_i2c_complete_reqs() 137 struct virtqueue *vq = vi->vq; in virtio_i2c_xfer() local
|
/linux-6.1.9/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 57 struct vdpasim_virtqueue *vq = in vdpasim_vq_notify() local 68 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_queue_ready() local 81 struct vdpasim_virtqueue *vq) in vdpasim_vq_reset() 337 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_address() local 349 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_num() local 357 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_kick_vq() local 367 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_cb() local 376 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_ready() local 391 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_get_vq_ready() local 400 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_state() local [all …]
|
/linux-6.1.9/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 288 struct vb2_queue *vq; in cedrus_s_fmt_vid_cap() local 308 struct vb2_queue *vq; in cedrus_s_fmt_vid_out() local 396 static int cedrus_queue_setup(struct vb2_queue *vq, unsigned int *nbufs, in cedrus_queue_setup() 419 static void cedrus_queue_cleanup(struct vb2_queue *vq, u32 state) in cedrus_queue_cleanup() 449 struct vb2_queue *vq = vb->vb2_queue; in cedrus_buf_prepare() local 472 static int cedrus_start_streaming(struct vb2_queue *vq, unsigned int count) in cedrus_start_streaming() 521 static void cedrus_stop_streaming(struct vb2_queue *vq) in cedrus_stop_streaming()
|
/linux-6.1.9/tools/virtio/ |
D | vringh_test.c | 27 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 442 struct virtqueue *vq; in main() local
|
/linux-6.1.9/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i_rotate.c | 343 struct vb2_queue *vq; in rotate_s_fmt_vid_cap() local 363 struct vb2_queue *vq; in rotate_s_fmt_vid_out() local 424 static int rotate_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in rotate_queue_setup() 449 struct vb2_queue *vq = vb->vb2_queue; in rotate_buf_prepare() local 474 static void rotate_queue_cleanup(struct vb2_queue *vq, u32 state) in rotate_queue_cleanup() 490 static int rotate_start_streaming(struct vb2_queue *vq, unsigned int count) in rotate_start_streaming() 508 static void rotate_stop_streaming(struct vb2_queue *vq) in rotate_stop_streaming() 590 struct vb2_queue *vq; in rotate_s_ctrl() local
|
/linux-6.1.9/drivers/media/dvb-core/ |
D | dvb_vb2.c | 29 static int _queue_setup(struct vb2_queue *vq, in _queue_setup() 80 static int _start_streaming(struct vb2_queue *vq, unsigned int count) in _start_streaming() 88 static void _stop_streaming(struct vb2_queue *vq) in _stop_streaming() 106 static void _dmxdev_lock(struct vb2_queue *vq) in _dmxdev_lock() 114 static void _dmxdev_unlock(struct vb2_queue *vq) in _dmxdev_unlock()
|
/linux-6.1.9/drivers/media/platform/sunxi/sun8i-di/ |
D | sun8i-di.c | 447 struct vb2_queue *vq; in deinterlace_s_fmt_vid_cap() local 467 struct vb2_queue *vq; in deinterlace_s_fmt_vid_out() local 516 static int deinterlace_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in deinterlace_queue_setup() 541 struct vb2_queue *vq = vb->vb2_queue; in deinterlace_buf_prepare() local 566 static void deinterlace_queue_cleanup(struct vb2_queue *vq, u32 state) in deinterlace_queue_cleanup() 585 static int deinterlace_start_streaming(struct vb2_queue *vq, unsigned int count) in deinterlace_start_streaming() 638 static void deinterlace_stop_streaming(struct vb2_queue *vq) in deinterlace_stop_streaming()
|
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/ |
D | v4l2.c | 83 static int tegra_queue_setup(struct vb2_queue *vq, in tegra_queue_setup() 126 struct vb2_queue *vq = vb->vb2_queue; in __tegra_buf_cleanup() local 150 struct vb2_queue *vq = vb->vb2_queue; in tegra_buf_init() local 219 struct vb2_queue *vq = vb->vb2_queue; in tegra_buf_prepare() local 296 static int tegra_start_streaming(struct vb2_queue *vq, unsigned int count) in tegra_start_streaming() 301 static void tegra_stop_streaming(struct vb2_queue *vq) in tegra_stop_streaming() 577 struct vb2_queue *vq; in tegra_s_decoded_fmt() local 664 struct vb2_queue *peer_vq, *vq; in tegra_s_coded_fmt() local
|
/linux-6.1.9/drivers/media/test-drivers/vivid/ |
D | vivid-meta-out.c | 16 static int meta_out_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_out_queue_setup() 78 static int meta_out_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_out_start_streaming() 106 static void meta_out_stop_streaming(struct vb2_queue *vq) in meta_out_stop_streaming()
|
D | vivid-meta-cap.c | 16 static int meta_cap_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, in meta_cap_queue_setup() 78 static int meta_cap_start_streaming(struct vb2_queue *vq, unsigned int count) in meta_cap_start_streaming() 106 static void meta_cap_stop_streaming(struct vb2_queue *vq) in meta_cap_stop_streaming()
|
/linux-6.1.9/drivers/scsi/ |
D | virtio_scsi.c | 68 struct virtqueue *vq; member 177 struct virtqueue *vq = virtscsi_vq->vq; in virtscsi_vq_done() local 191 static void virtscsi_req_done(struct virtqueue *vq) in virtscsi_req_done() 219 static void virtscsi_ctrl_done(struct virtqueue *vq) in virtscsi_ctrl_done() 409 static void virtscsi_event_done(struct virtqueue *vq) in virtscsi_event_done() 417 static int __virtscsi_add_cmd(struct virtqueue *vq, in __virtscsi_add_cmd() 462 static void virtscsi_kick_vq(struct virtio_scsi_vq *vq) in virtscsi_kick_vq() 483 static int virtscsi_add_cmd(struct virtio_scsi_vq *vq, in virtscsi_add_cmd() 772 struct virtqueue *vq) in virtscsi_init_vq()
|