Searched refs:simdev (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_offload.py | 691 def test_multi_prog(simdev, sim, obj, modename, modeid): argument 745 simdev.remove() 747 simdev = NetdevSimDev() 748 sim, = simdev.nsims 750 return [simdev, sim] 812 simdev = NetdevSimDev() variable 813 sim, = simdev.nsims 815 simdev.remove() 818 simdev = NetdevSimDev() variable 819 sim, = simdev.nsims [all …]
|
/linux-6.6.21/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_blk.c | 414 struct vdpasim *simdev; in vdpasim_blk_dev_add() local 430 simdev = vdpasim_create(&dev_attr, config); in vdpasim_blk_dev_add() 431 if (IS_ERR(simdev)) in vdpasim_blk_dev_add() 432 return PTR_ERR(simdev); in vdpasim_blk_dev_add() 434 blk = sim_to_blk(simdev); in vdpasim_blk_dev_add() 448 ret = _vdpa_register_device(&simdev->vdpa, VDPASIM_BLK_VQ_NUM); in vdpasim_blk_dev_add() 455 put_device(&simdev->vdpa.dev); in vdpasim_blk_dev_add() 462 struct vdpasim *simdev = container_of(dev, struct vdpasim, vdpa); in vdpasim_blk_dev_del() local 464 _vdpa_unregister_device(&simdev->vdpa); in vdpasim_blk_dev_del()
|
D | vdpa_sim_net.c | 452 struct vdpasim *simdev; in vdpasim_net_dev_add() local 469 simdev = vdpasim_create(&dev_attr, config); in vdpasim_net_dev_add() 470 if (IS_ERR(simdev)) in vdpasim_net_dev_add() 471 return PTR_ERR(simdev); in vdpasim_net_dev_add() 473 vdpasim_net_setup_config(simdev, config); in vdpasim_net_dev_add() 475 net = sim_to_net(simdev); in vdpasim_net_dev_add() 492 ret = _vdpa_register_device(&simdev->vdpa, VDPASIM_NET_VQ_NUM); in vdpasim_net_dev_add() 499 put_device(&simdev->vdpa.dev); in vdpasim_net_dev_add() 506 struct vdpasim *simdev = container_of(dev, struct vdpasim, vdpa); in vdpasim_net_dev_del() local 508 _vdpa_unregister_device(&simdev->vdpa); in vdpasim_net_dev_del()
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-sim.c | 519 struct gpio_sim_device *simdev = container_of(nb, in gpio_sim_bus_notifier_call() local 525 snprintf(devname, sizeof(devname), "gpio-sim.%u", simdev->id); in gpio_sim_bus_notifier_call() 529 simdev->driver_bound = true; in gpio_sim_bus_notifier_call() 531 simdev->driver_bound = false; in gpio_sim_bus_notifier_call() 535 complete(&simdev->probe_completion); in gpio_sim_bus_notifier_call()
|