Home
last modified time | relevance | path

Searched refs:vdpasim_virtqueue (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c57 struct vdpasim_virtqueue *vq = in vdpasim_vq_notify()
58 container_of(vring, struct vdpasim_virtqueue, vring); in vdpasim_vq_notify()
68 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_queue_ready()
81 struct vdpasim_virtqueue *vq) in vdpasim_vq_reset()
293 vdpasim->vqs = kcalloc(dev_attr->nvqs, sizeof(struct vdpasim_virtqueue), in vdpasim_create()
337 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_address()
349 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_num()
357 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_kick_vq()
367 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_cb()
376 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_ready()
[all …]
Dvdpa_sim_net.c39 static void vdpasim_net_complete(struct vdpasim_virtqueue *vq, size_t len) in vdpasim_net_complete()
78 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; in vdpasim_handle_ctrl_mac()
98 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; in vdpasim_handle_cvq()
152 struct vdpasim_virtqueue *txq = &vdpasim->vqs[1]; in vdpasim_net_work()
153 struct vdpasim_virtqueue *rxq = &vdpasim->vqs[0]; in vdpasim_net_work()
Dvdpa_sim.h22 struct vdpasim_virtqueue { struct
55 struct vdpasim_virtqueue *vqs; argument
Dvdpa_sim_blk.c80 struct vdpasim_virtqueue *vq) in vdpasim_blk_handle_req()
304 struct vdpasim_virtqueue *vq = &vdpasim->vqs[i]; in vdpasim_blk_work()