Home
last modified time | relevance | path

Searched refs:mdev_id (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/vdpa/virtio_pci/
H A Dvp_vdpa.c577 struct virtio_device_id *mdev_id = NULL; in vp_vdpa_probe() local
598 mdev_id = kcalloc(2, sizeof(struct virtio_device_id), GFP_KERNEL); in vp_vdpa_probe()
599 if (!mdev_id) { in vp_vdpa_probe()
618 mdev_id[0].device = mdev->id.device; in vp_vdpa_probe()
619 mdev_id[0].vendor = mdev->id.vendor; in vp_vdpa_probe()
620 mgtdev->id_table = mdev_id; in vp_vdpa_probe()
638 kfree(mdev_id); in vp_vdpa_probe()
/openbmc/linux/drivers/most/
H A Dcore.c28 static struct ida mdev_id; variable
1289 id = ida_simple_get(&mdev_id, 0, 0, GFP_KERNEL); in most_register_interface()
1297 ida_simple_remove(&mdev_id, id); in most_register_interface()
1311 ida_simple_remove(&mdev_id, id); in most_register_interface()
1369 ida_simple_remove(&mdev_id, id); in most_register_interface()
1400 ida_simple_remove(&mdev_id, iface->p->dev_id); in most_deregister_interface()
1457 ida_init(&mdev_id); in most_init()
1481 ida_destroy(&mdev_id); in most_exit()