Searched refs:mgmt_dev (Results 1 – 5 of 5) sorted by relevance
248 dev_attr.mgmt_dev = mdev; in vdpasim_net_dev_add()295 static struct vdpa_mgmt_dev mgmt_dev = { variable316 ret = vdpa_mgmtdev_register(&mgmt_dev); in vdpasim_net_init()328 vdpa_mgmtdev_unregister(&mgmt_dev); in vdpasim_net_exit()
374 dev_attr.mgmt_dev = mdev; in vdpasim_blk_dev_add()419 static struct vdpa_mgmt_dev mgmt_dev = { variable435 ret = vdpa_mgmtdev_register(&mgmt_dev); in vdpasim_blk_init()448 vdpa_mgmtdev_unregister(&mgmt_dev); in vdpasim_blk_exit()
37 struct vdpa_mgmt_dev *mgmt_dev; member
287 vdpasim->vdpa.mdev = dev_attr->mgmt_dev; in vdpasim_create()
1668 struct vdpa_mgmt_dev mgmt_dev; member1697 vdev->vdpa.mdev = &vduse_mgmt->mgmt_dev; in vduse_dev_init_vdpa()1745 struct vduse_mgmt_dev *mgmt_dev; in vduse_mgmtdev_release() local1747 mgmt_dev = container_of(dev, struct vduse_mgmt_dev, dev); in vduse_mgmtdev_release()1748 kfree(mgmt_dev); in vduse_mgmtdev_release()1771 vduse_mgmt->mgmt_dev.id_table = id_table; in vduse_mgmtdev_init()1772 vduse_mgmt->mgmt_dev.ops = &vdpa_dev_mgmtdev_ops; in vduse_mgmtdev_init()1773 vduse_mgmt->mgmt_dev.device = &vduse_mgmt->dev; in vduse_mgmtdev_init()1774 ret = vdpa_mgmtdev_register(&vduse_mgmt->mgmt_dev); in vduse_mgmtdev_init()1787 vdpa_mgmtdev_unregister(&vduse_mgmt->mgmt_dev); in vduse_mgmtdev_exit()