Home
last modified time | relevance | path

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

/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim.c84 struct vdpasim_virtqueue *vq = in vdpasim_vq_notify()
85 container_of(vring, struct vdpasim_virtqueue, vring); in vdpasim_vq_notify()
95 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_queue_ready()
128 struct vdpasim_virtqueue *vq) in vdpasim_vq_reset()
249 vdpasim->vqs = kcalloc(dev_attr->nvqs, sizeof(struct vdpasim_virtqueue), in vdpasim_create()
297 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_address()
309 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_num()
317 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_get_vq_size()
328 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_kick_vq()
344 struct vdpasim_virtqueue *vq = &vdpasim->vqs[idx]; in vdpasim_set_vq_cb()
[all …]
H A Dvdpa_sim.h22 struct vdpasim_virtqueue { struct
59 struct vdpasim_virtqueue *vqs;
H A Dvdpa_sim_net.c69 static void vdpasim_net_complete(struct vdpasim_virtqueue *vq, size_t len) in vdpasim_net_complete()
109 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; in vdpasim_handle_ctrl_mac()
129 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; in vdpasim_handle_cvq()
198 struct vdpasim_virtqueue *txq = &vdpasim->vqs[1]; in vdpasim_net_work()
199 struct vdpasim_virtqueue *rxq = &vdpasim->vqs[0]; in vdpasim_net_work()
H A Dvdpa_sim_blk.c110 struct vdpasim_virtqueue *vq) in vdpasim_blk_handle_req()
338 struct vdpasim_virtqueue *vq = &vdpasim->vqs[i]; in vdpasim_blk_work()