Home
last modified time | relevance | path

Searched refs:simdev (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/vdpa/vdpa_sim/
A Dvdpa_sim_net.c140 struct vdpasim *simdev; in vdpasim_net_dev_add() local
153 simdev = vdpasim_create(&dev_attr); in vdpasim_net_dev_add()
154 if (IS_ERR(simdev)) in vdpasim_net_dev_add()
155 return PTR_ERR(simdev); in vdpasim_net_dev_add()
157 vdpasim_net_setup_config(simdev, config); in vdpasim_net_dev_add()
159 ret = _vdpa_register_device(&simdev->vdpa, VDPASIM_NET_VQ_NUM); in vdpasim_net_dev_add()
166 put_device(&simdev->vdpa.dev); in vdpasim_net_dev_add()
173 struct vdpasim *simdev = container_of(dev, struct vdpasim, vdpa); in vdpasim_net_dev_del() local
175 _vdpa_unregister_device(&simdev->vdpa); in vdpasim_net_dev_del()
A Dvdpa_sim_blk.c255 struct vdpasim *simdev; in vdpasim_blk_dev_add() local
268 simdev = vdpasim_create(&dev_attr); in vdpasim_blk_dev_add()
269 if (IS_ERR(simdev)) in vdpasim_blk_dev_add()
270 return PTR_ERR(simdev); in vdpasim_blk_dev_add()
272 ret = _vdpa_register_device(&simdev->vdpa, VDPASIM_BLK_VQ_NUM); in vdpasim_blk_dev_add()
279 put_device(&simdev->vdpa.dev); in vdpasim_blk_dev_add()
286 struct vdpasim *simdev = container_of(dev, struct vdpasim, vdpa); in vdpasim_blk_dev_del() local
288 _vdpa_unregister_device(&simdev->vdpa); in vdpasim_blk_dev_del()
/linux/tools/testing/selftests/bpf/
A Dtest_offload.py745 simdev.remove()
813 simdev.remove()
965 simdev.remove()
974 simdev.remove()
1098 simdev, sim = test_multi_prog(simdev, sim, obj, "", 1) variable
1099 simdev, sim = test_multi_prog(simdev, sim, obj, "drv", 1) variable
1100 simdev, sim = test_multi_prog(simdev, sim, obj, "generic", 2) variable
1155 simdev.remove()
1193 simdev.remove()
1284 simdev.remove()
[all …]

Completed in 11 milliseconds