Searched refs:mgmt_dev (Results 1 – 5 of 5) sorted by relevance
242 dev_attr.mgmt_dev = mdev; in vdpasim_net_dev_add()289 static struct vdpa_mgmt_dev mgmt_dev = { variable307 ret = vdpa_mgmtdev_register(&mgmt_dev); in vdpasim_net_init()319 vdpa_mgmtdev_unregister(&mgmt_dev); in vdpasim_net_exit()
262 dev_attr.mgmt_dev = mdev; in vdpasim_blk_dev_add()307 static struct vdpa_mgmt_dev mgmt_dev = { variable321 ret = vdpa_mgmtdev_register(&mgmt_dev); in vdpasim_blk_init()334 vdpa_mgmtdev_unregister(&mgmt_dev); in vdpasim_blk_exit()
37 struct vdpa_mgmt_dev *mgmt_dev; member
277 vdpasim->vdpa.mdev = dev_attr->mgmt_dev; in vdpasim_create()
1480 struct vdpa_mgmt_dev mgmt_dev; member1509 vdev->vdpa.mdev = &vduse_mgmt->mgmt_dev; in vduse_dev_init_vdpa()1557 struct vduse_mgmt_dev *mgmt_dev; in vduse_mgmtdev_release() local1559 mgmt_dev = container_of(dev, struct vduse_mgmt_dev, dev); in vduse_mgmtdev_release()1560 kfree(mgmt_dev); in vduse_mgmtdev_release()1583 vduse_mgmt->mgmt_dev.id_table = id_table; in vduse_mgmtdev_init()1584 vduse_mgmt->mgmt_dev.ops = &vdpa_dev_mgmtdev_ops; in vduse_mgmtdev_init()1585 vduse_mgmt->mgmt_dev.device = &vduse_mgmt->dev; in vduse_mgmtdev_init()1586 ret = vdpa_mgmtdev_register(&vduse_mgmt->mgmt_dev); in vduse_mgmtdev_init()1599 vdpa_mgmtdev_unregister(&vduse_mgmt->mgmt_dev); in vduse_mgmtdev_exit()