/drivers/virtio/ |
D | virtio_ring.c | 55 #define START_USE(vq) argument 56 #define END_USE(vq) argument 65 struct virtqueue vq; member 170 static inline struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev() 176 static dma_addr_t vring_map_one_sg(const struct vring_virtqueue *vq, in vring_map_one_sg() 193 static dma_addr_t vring_map_single(const struct vring_virtqueue *vq, in vring_map_single() 204 static void vring_unmap_one(const struct vring_virtqueue *vq, in vring_unmap_one() 229 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 479 int virtqueue_add_outbuf(struct virtqueue *vq, in virtqueue_add_outbuf() [all …]
|
D | virtio_pci_common.c | 44 bool vp_notify(struct virtqueue *vq) in vp_notify() 226 void (*callback)(struct virtqueue *vq), in vp_setup_vq() 232 struct virtqueue *vq; in vp_setup_vq() local 260 static void vp_del_vq(struct virtqueue *vq) in vp_del_vq() 278 struct virtqueue *vq, *n; in vp_del_vqs() local 409 int vp_set_vq_affinity(struct virtqueue *vq, int cpu) in vp_set_vq_affinity()
|
D | virtio_mmio.c | 101 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
|
D | virtio_pci_legacy.c | 117 void (*callback)(struct virtqueue *vq), in setup_vq() 121 struct virtqueue *vq; in setup_vq() local 167 struct virtqueue *vq = info->vq; in del_vq() local
|
D | virtio_pci_modern.c | 298 void (*callback)(struct virtqueue *vq), in setup_vq() 303 struct virtqueue *vq; in setup_vq() local 395 struct virtqueue *vq; in vp_modern_find_vqs() local 414 struct virtqueue *vq = info->vq; in del_vq() local
|
D | virtio_balloon.c | 112 static void balloon_ack(struct virtqueue *vq) in balloon_ack() 119 static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq) in tell_host() 283 static void stats_request(struct virtqueue *vq) in stats_request() 295 struct virtqueue *vq; in stats_handle_request() local
|
/drivers/vhost/ |
D | vhost.c | 47 #define vhost_used_event(vq) ((__virtio16 __user *)&vq->avail->ring[vq->num]) argument 48 #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num]) argument 55 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian() 60 static void vhost_enable_cross_endian_big(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_big() 65 static void vhost_enable_cross_endian_little(struct vhost_virtqueue *vq) in vhost_enable_cross_endian_little() 70 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() 92 static long vhost_get_vring_endian(struct vhost_virtqueue *vq, u32 idx, in vhost_get_vring_endian() 106 static void vhost_init_is_le(struct vhost_virtqueue *vq) in vhost_init_is_le() 116 static void vhost_disable_cross_endian(struct vhost_virtqueue *vq) in vhost_disable_cross_endian() 120 static long vhost_set_vring_endian(struct vhost_virtqueue *vq, int __user *argp) in vhost_set_vring_endian() [all …]
|
D | vsock.c | 77 struct vhost_virtqueue *vq) in vhost_transport_do_send_pkt() 185 struct vhost_virtqueue *vq; in vhost_transport_send_pkt_work() local 198 struct vhost_virtqueue *vq; in vhost_transport_send_pkt() local 262 vhost_vsock_alloc_pkt(struct vhost_virtqueue *vq, in vhost_vsock_alloc_pkt() 323 struct vhost_virtqueue *vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_vsock_more_replies() local 334 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_tx_kick() local 401 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in vhost_vsock_handle_rx_kick() local 411 struct vhost_virtqueue *vq; in vhost_vsock_start() local 472 struct vhost_virtqueue *vq = &vsock->vqs[i]; in vhost_vsock_stop() local 623 struct vhost_virtqueue *vq; in vhost_vsock_set_features() local
|
D | net.c | 82 struct vhost_virtqueue *vq; member 86 struct vhost_virtqueue vq; member 117 static void vhost_net_enable_zcopy(int vq) in vhost_net_enable_zcopy() 123 vhost_net_ubuf_alloc(struct vhost_virtqueue *vq, bool zcopy) in vhost_net_ubuf_alloc() 240 struct vhost_virtqueue *vq) in vhost_zerocopy_signal_used() 268 struct vhost_virtqueue *vq = ubufs->vq; in vhost_zerocopy_callback() local 306 struct vhost_virtqueue *vq) in vhost_net_disable_vq() 317 struct vhost_virtqueue *vq) in vhost_net_enable_vq() 332 struct vhost_virtqueue *vq, in vhost_net_tx_get_vq_desc() 359 struct vhost_virtqueue *vq = &nvq->vq; in handle_tx() local [all …]
|
D | vhost.h | 148 struct vhost_virtqueue *vq; member 219 #define vq_err(vq, fmt, ...) do { \ argument 234 static inline bool vhost_has_feature(struct vhost_virtqueue *vq, int bit) in vhost_has_feature() 240 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() 245 static inline bool vhost_is_little_endian(struct vhost_virtqueue *vq) in vhost_is_little_endian() 252 static inline u16 vhost16_to_cpu(struct vhost_virtqueue *vq, __virtio16 val) in vhost16_to_cpu() 257 static inline __virtio16 cpu_to_vhost16(struct vhost_virtqueue *vq, u16 val) in cpu_to_vhost16() 262 static inline u32 vhost32_to_cpu(struct vhost_virtqueue *vq, __virtio32 val) in vhost32_to_cpu() 267 static inline __virtio32 cpu_to_vhost32(struct vhost_virtqueue *vq, u32 val) in cpu_to_vhost32() 272 static inline u64 vhost64_to_cpu(struct vhost_virtqueue *vq, __virtio64 val) in vhost64_to_cpu() [all …]
|
D | test.c | 40 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
|
D | scsi.c | 175 struct vhost_virtqueue vq; member 231 struct vhost_virtqueue *vq; in vhost_scsi_init_inflight() local 255 vhost_scsi_get_inflight(struct vhost_virtqueue *vq) in vhost_scsi_get_inflight() 408 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_allocate_evt() local 447 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in vhost_scsi_do_evt_work() local 498 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 572 vhost_scsi_get_tag(struct vhost_virtqueue *vq, struct vhost_scsi_tpg *tpg, in vhost_scsi_get_tag() 820 struct vhost_virtqueue *vq, in vhost_scsi_send_bad_target() 838 vhost_scsi_handle_vq(struct vhost_scsi *vs, struct vhost_virtqueue *vq) in vhost_scsi_handle_vq() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-mem2mem.c | 310 struct vb2_queue *vq; in v4l2_m2m_reqbufs() local 327 struct vb2_queue *vq; in v4l2_m2m_querybuf() local 352 struct vb2_queue *vq; in v4l2_m2m_qbuf() local 367 struct vb2_queue *vq; in v4l2_m2m_dqbuf() local 377 struct vb2_queue *vq; in v4l2_m2m_prepare_buf() local 392 struct vb2_queue *vq; in v4l2_m2m_create_bufs() local 402 struct vb2_queue *vq; in v4l2_m2m_expbuf() local 412 struct vb2_queue *vq; in v4l2_m2m_streamon() local 546 struct vb2_queue *vq; in v4l2_m2m_mmap() local
|
/drivers/s390/virtio/ |
D | kvm_virtio.c | 174 static bool kvm_notify(struct virtqueue *vq) in kvm_notify() 191 void (*callback)(struct virtqueue *vq), in kvm_find_vq() 196 struct virtqueue *vq; in kvm_find_vq() local 237 static void kvm_del_vq(struct virtqueue *vq) in kvm_del_vq() 249 struct virtqueue *vq, *n; in kvm_del_vqs() local 399 struct virtqueue *vq; in kvm_extint_handler() local
|
D | virtio_ccw.c | 111 struct virtqueue *vq; member 170 static void drop_airq_indicator(struct virtqueue *vq, struct airq_info *info) in drop_airq_indicator() 396 static bool virtio_ccw_kvm_notify(struct virtqueue *vq) in virtio_ccw_kvm_notify() 426 static void virtio_ccw_del_vq(struct virtqueue *vq, struct ccw1 *ccw) in virtio_ccw_del_vq() 477 struct virtqueue *vq, *n; in virtio_ccw_del_vqs() local 500 struct virtqueue *vq = NULL; in virtio_ccw_setup_vq() local 976 struct virtqueue *vq; in virtio_ccw_vq_by_ind() local 1027 struct virtqueue *vq; in virtio_ccw_int_handler() local
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-vbi.c | 169 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()
|
/drivers/remoteproc/ |
D | remoteproc_virtio.c | 33 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/scsi/ |
D | virtio_scsi.c | 66 struct virtqueue *vq; member 224 struct virtqueue *vq = virtscsi_vq->vq; in virtscsi_vq_done() local 238 static void virtscsi_req_done(struct virtqueue *vq) in virtscsi_req_done() 266 static void virtscsi_ctrl_done(struct virtqueue *vq) in virtscsi_ctrl_done() 412 static void virtscsi_event_done(struct virtqueue *vq) in virtscsi_event_done() 427 static int virtscsi_add_cmd(struct virtqueue *vq, in virtscsi_add_cmd() 472 static int virtscsi_kick_cmd(struct virtio_scsi_vq *vq, in virtscsi_kick_cmd() 603 struct virtio_scsi_vq *vq; in virtscsi_pick_vq() local 920 struct virtqueue *vq) in virtscsi_init_vq()
|
/drivers/media/platform/vivid/ |
D | vivid-vbi-out.c | 30 static int vbi_out_queue_setup(struct vb2_queue *vq, in vbi_out_queue_setup() 93 static int vbi_out_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_out_start_streaming() 119 static void vbi_out_stop_streaming(struct vb2_queue *vq) in vbi_out_stop_streaming()
|
D | vivid-vbi-cap.c | 138 static int vbi_cap_queue_setup(struct vb2_queue *vq, in vbi_cap_queue_setup() 201 static int vbi_cap_start_streaming(struct vb2_queue *vq, unsigned count) in vbi_cap_start_streaming() 227 static void vbi_cap_stop_streaming(struct vb2_queue *vq) in vbi_cap_stop_streaming()
|
D | vivid-sdr-cap.c | 214 static int sdr_cap_queue_setup(struct vb2_queue *vq, in sdr_cap_queue_setup() 262 static int sdr_cap_start_streaming(struct vb2_queue *vq, unsigned count) in sdr_cap_start_streaming() 295 static void sdr_cap_stop_streaming(struct vb2_queue *vq) in sdr_cap_stop_streaming()
|
/drivers/misc/mic/vop/ |
D | vop_main.c | 238 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 441 struct virtqueue *vq; in vop_virtio_intr_handler() local
|
/drivers/media/platform/sti/hva/ |
D | hva-v4l2.c | 433 struct vb2_queue *vq; in hva_s_fmt_stream() local 464 struct vb2_queue *vq; in hva_s_fmt_frame() local 546 struct vb2_queue *vq; in hva_qbuf() local 878 static int hva_queue_setup(struct vb2_queue *vq, in hva_queue_setup() 963 static int hva_start_streaming(struct vb2_queue *vq, unsigned int count) in hva_start_streaming() 1032 static void hva_stop_streaming(struct vb2_queue *vq) in hva_stop_streaming() 1095 static int queue_init(struct hva_ctx *ctx, struct vb2_queue *vq) in queue_init()
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_vq.c | 61 void virtio_gpu_ctrl_ack(struct virtqueue *vq) in virtio_gpu_ctrl_ack() 68 void virtio_gpu_cursor_ack(struct virtqueue *vq) in virtio_gpu_cursor_ack() 214 static void reclaim_vbufs(struct virtqueue *vq, struct list_head *reclaim_list) in reclaim_vbufs() 299 struct virtqueue *vq = vgdev->ctrlq.vq; in virtio_gpu_queue_ctrl_buffer_locked() local 355 struct virtqueue *vq = vgdev->ctrlq.vq; in virtio_gpu_queue_fenced_ctrl_buffer() local 385 struct virtqueue *vq = vgdev->cursorq.vq; in virtio_gpu_queue_cursor() local
|
/drivers/media/usb/uvc/ |
D | uvc_queue.c | 72 static int uvc_queue_setup(struct vb2_queue *vq, in uvc_queue_setup() 147 static int uvc_start_streaming(struct vb2_queue *vq, unsigned int count) in uvc_start_streaming() 167 static void uvc_stop_streaming(struct vb2_queue *vq) in uvc_stop_streaming()
|