Home
last modified time | relevance | path

Searched refs:netdev_lock (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dib_rep.c21 write_lock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep()
24 write_unlock(&ibdev->port[vport_index].roce.netdev_lock); in mlx5_ib_set_vport_rep()
76 write_lock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload()
78 write_unlock(&port->roce.netdev_lock); in mlx5_ib_vport_rep_unload()
Dmain.c144 read_lock(&port->roce.netdev_lock); in mlx5_get_rep_roce()
148 read_unlock(&port->roce.netdev_lock); in mlx5_get_rep_roce()
152 read_unlock(&port->roce.netdev_lock); in mlx5_get_rep_roce()
177 write_lock(&roce->netdev_lock); in mlx5_netdev_event()
180 write_unlock(&roce->netdev_lock); in mlx5_netdev_event()
185 write_lock(&roce->netdev_lock); in mlx5_netdev_event()
188 write_unlock(&roce->netdev_lock); in mlx5_netdev_event()
258 read_lock(&ibdev->port[port_num - 1].roce.netdev_lock); in mlx5_ib_get_netdev()
262 read_unlock(&ibdev->port[port_num - 1].roce.netdev_lock); in mlx5_ib_get_netdev()
3937 rwlock_init(&dev->port[i].roce.netdev_lock); in mlx5_ib_stage_init_init()
Dmlx5_ib.h751 rwlock_t netdev_lock; member
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ddevice.c779 spin_lock_init(&pdata->netdev_lock); in alloc_port_data()
2103 spin_lock_irqsave(&pdata->netdev_lock, flags); in ib_device_set_netdev()
2105 pdata->netdev, lockdep_is_held(&pdata->netdev_lock)); in ib_device_set_netdev()
2107 spin_unlock_irqrestore(&pdata->netdev_lock, flags); in ib_device_set_netdev()
2114 spin_unlock_irqrestore(&pdata->netdev_lock, flags); in ib_device_set_netdev()
2136 spin_lock_irqsave(&pdata->netdev_lock, flags); in free_netdevs()
2138 pdata->netdev, lockdep_is_held(&pdata->netdev_lock)); in free_netdevs()
2153 spin_unlock_irqrestore(&pdata->netdev_lock, flags); in free_netdevs()
2175 spin_lock(&pdata->netdev_lock); in ib_device_get_netdev()
2177 pdata->netdev, lockdep_is_held(&pdata->netdev_lock)); in ib_device_get_netdev()
[all …]
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h2174 spinlock_t netdev_lock; member