Searched refs:vdpasim (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim.h20 struct vdpasim;
47 void (*work_fn)(struct vdpasim *vdpasim);
48 void (*get_config)(struct vdpasim *vdpasim, void *config);
49 void (*set_config)(struct vdpasim *vdpasim, const void *config);
50 int (*get_stats)(struct vdpasim *vdpasim, u16 idx,
53 void (*free)(struct vdpasim *vdpasi
57 struct vdpasim { struct
85 vdpasim_is_little_endian(struct vdpasim *vdpasim) argument
91 vdpasim16_to_cpu(struct vdpasim *vdpasim, __virtio16 val) argument
96 cpu_to_vdpasim16(struct vdpasim *vdpasim, u16 val) argument
101 vdpasim32_to_cpu(struct vdpasim *vdpasim, __virtio32 val) argument
106 cpu_to_vdpasim32(struct vdpasim *vdpasim, u32 val) argument
111 vdpasim64_to_cpu(struct vdpasim *vdpasim, __virtio64 val) argument
116 cpu_to_vdpasim64(struct vdpasim *vdpasim, u64 val) argument
[all...]
H A Dvdpa_sim.c49 struct vdpasim *vdpasim; member in struct:vdpasim_mm_work
58 struct vdpasim *vdpasim = mm_work->vdpasim; local
63 vdpasim->mm_bound = mm_work->mm_to_bind;
66 static void vdpasim_worker_change_mm_sync(struct vdpasim *vdpasim, argument
72 kthread_queue_work(vdpasim->worker, work);
77 static struct vdpasim *vdpa_to_si
93 vdpasim_queue_ready(struct vdpasim *vdpasim, unsigned int idx) argument
127 vdpasim_vq_reset(struct vdpasim *vdpasim, struct vdpasim_virtqueue *vq) argument
142 vdpasim_do_reset(struct vdpasim *vdpasim, u32 flags) argument
176 struct vdpasim *vdpasim = container_of(work, struct vdpasim, work); local
198 struct vdpasim *vdpasim; local
286 vdpasim_schedule_work(struct vdpasim *vdpasim) argument
296 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
308 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
316 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
327 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
343 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
352 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
367 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
376 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
390 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
402 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
426 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
438 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
451 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
469 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
481 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
493 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
503 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
520 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
531 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
552 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
560 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
574 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
587 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
605 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
632 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
665 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
684 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
697 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
710 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
731 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
750 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); local
[all...]
H A Dvdpa_sim_blk.c47 struct vdpasim vdpasim; member in struct:vdpasim_blk
52 static struct vdpasim_blk *sim_to_blk(struct vdpasim *vdpasim) argument
54 return container_of(vdpasim, struct vdpasim_blk, vdpasim);
79 static bool vdpasim_blk_check_range(struct vdpasim *vdpasim, u64 start_sector, argument
83 dev_dbg(&vdpasim->vdpa.dev,
89 dev_dbg(&vdpasim
109 vdpasim_blk_handle_req(struct vdpasim *vdpasim, struct vdpasim_virtqueue *vq) argument
324 vdpasim_blk_work(struct vdpasim *vdpasim) argument
366 vdpasim_blk_get_config(struct vdpasim *vdpasim, void *config) argument
392 vdpasim_blk_free(struct vdpasim *vdpasim) argument
[all...]
H A Dvdpa_sim_net.c57 struct vdpasim vdpasim; member in struct:vdpasim_net
64 static struct vdpasim_net *sim_to_net(struct vdpasim *vdpasim) argument
66 return container_of(vdpasim, struct vdpasim_net, vdpasim);
85 static bool receive_filter(struct vdpasim *vdpasim, size_t len) argument
87 bool modern = vdpasim->features & (1ULL << VIRTIO_F_VERSION_1);
90 struct virtio_net_config *vio_config = vdpasim
105 vdpasim_handle_ctrl_mac(struct vdpasim *vdpasim, u8 cmd) argument
127 vdpasim_handle_cvq(struct vdpasim *vdpasim) argument
196 vdpasim_net_work(struct vdpasim *vdpasim) argument
285 vdpasim_net_get_stats(struct vdpasim *vdpasim, u16 idx, struct sk_buff *msg, struct netlink_ext_ack *extack) argument
410 vdpasim_net_get_config(struct vdpasim *vdpasim, void *config) argument
417 vdpasim_net_setup_config(struct vdpasim *vdpasim, const struct vdpa_dev_set_config *config) argument
431 vdpasim_net_free(struct vdpasim *vdpasim) argument
[all...]

Completed in 285 milliseconds