Searched refs:v_mdev (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/vdpa/virtio_pci/ |
H A D | vp_vdpa.c | 470 static int vp_vdpa_dev_add(struct vdpa_mgmt_dev *v_mdev, const char *name, in vp_vdpa_dev_add() argument 474 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_add() 554 static void vp_vdpa_dev_del(struct vdpa_mgmt_dev *v_mdev, in vp_vdpa_dev_del() argument 558 container_of(v_mdev, struct vp_vdpa_mgmtdev, mgtdev); in vp_vdpa_dev_del()
|
/openbmc/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 3354 static int mlx5_vdpa_dev_add(struct vdpa_mgmt_dev *v_mdev, const char *name, in mlx5_vdpa_dev_add() argument 3357 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_add() 3539 static void mlx5_vdpa_dev_del(struct vdpa_mgmt_dev *v_mdev, struct vdpa_device *dev) in mlx5_vdpa_dev_del() argument 3541 struct mlx5_vdpa_mgmtdev *mgtdev = container_of(v_mdev, struct mlx5_vdpa_mgmtdev, mgtdev); in mlx5_vdpa_dev_del()
|