Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmain.c2708 work->dev = container_of(nb, struct mlx5_ib_dev, mdev_events); in mlx5_ib_event()
2728 work->mpi = container_of(nb, struct mlx5_ib_multiport_info, mdev_events); in mlx5_ib_event_slave_port()
3138 if (mpi->mdev_events.notifier_call) in mlx5_ib_unbind_slave_port()
3139 mlx5_notifier_unregister(mpi->mdev, &mpi->mdev_events); in mlx5_ib_unbind_slave_port()
3140 mpi->mdev_events.notifier_call = NULL; in mlx5_ib_unbind_slave_port()
3192 mpi->mdev_events.notifier_call = NULL; in mlx5_ib_bind_slave_port()
3206 mpi->mdev_events.notifier_call = mlx5_ib_event_slave_port; in mlx5_ib_bind_slave_port()
3207 mlx5_notifier_register(mpi->mdev, &mpi->mdev_events); in mlx5_ib_bind_slave_port()
4078 dev->mdev_events.notifier_call = mlx5_ib_event; in mlx5_ib_stage_dev_notifier_init()
4079 mlx5_notifier_register(dev->mdev, &dev->mdev_events); in mlx5_ib_stage_dev_notifier_init()
[all …]
Dmlx5_ib.h937 struct notifier_block mdev_events; member
1053 struct notifier_block mdev_events; member