Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c56 struct vdpasim_virtqueue *vq = in vdpasim_vq_notify()
57 container_of(vring, struct vdpasim_virtqueue, vring); in vdpasim_vq_notify()
67 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_queue_ready()
81 struct vdpasim_virtqueue *vq) in vdpasim_vq_reset()
283 vdpasim->vqs = kcalloc(dev_attr->nvqs, sizeof(struct vdpasim_virtqueue), in vdpasim_create()
327 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_address()
339 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_num()
347 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_kick_vq()
357 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_cb()
366 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()
75 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; in vdpasim_handle_ctrl_mac()
95 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; in vdpasim_handle_cvq()
149 struct vdpasim_virtqueue *txq = &vdpasim->vqs[1]; in vdpasim_net_work()
150 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.c66 struct vdpasim_virtqueue *vq) in vdpasim_blk_handle_req()
212 struct vdpasim_virtqueue *vq = &vdpasim->vqs[i]; in vdpasim_blk_work()