Searched refs:mdev_id (Results 1 – 2 of 2) sorted by relevance
601 struct virtio_device_id *mdev_id = NULL; in vp_vdpa_probe() 622 mdev_id = kzalloc_objs(struct virtio_device_id, 2); in vp_vdpa_probe() 623 if (!mdev_id) { in vp_vdpa_probe() 642 mdev_id[0].device = mdev->id.device; in vp_vdpa_probe() 643 mdev_id[0].vendor = mdev->id.vendor; in vp_vdpa_probe() 644 mgtdev->id_table = mdev_id; in vp_vdpa_probe() 662 kfree(mdev_id); in vp_vdpa_probe() 602 struct virtio_device_id *mdev_id = NULL; vp_vdpa_probe() local
28 static struct ida mdev_id; variable1296 id = ida_alloc(&mdev_id, GFP_KERNEL); in most_register_interface()1305 ida_free(&mdev_id, id); in most_register_interface()1320 ida_free(&mdev_id, id); in most_register_interface()1378 ida_free(&mdev_id, id); in most_register_interface()1409 ida_free(&mdev_id, iface->p->dev_id); in most_deregister_interface()1466 ida_init(&mdev_id); in most_init()1490 ida_destroy(&mdev_id); in most_exit()