Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c684 int bfregn = -ENOMEM; in alloc_bfreg() local
691 bfregn = alloc_high_class_bfreg(dev, bfregi); in alloc_bfreg()
692 if (bfregn < 0) in alloc_bfreg()
693 bfregn = alloc_med_class_bfreg(dev, bfregi); in alloc_bfreg()
696 if (bfregn < 0) { in alloc_bfreg()
698 bfregn = 0; in alloc_bfreg()
699 bfregi->count[bfregn]++; in alloc_bfreg()
703 return bfregn; in alloc_bfreg()
706 void mlx5_ib_free_bfreg(struct mlx5_ib_dev *dev, struct mlx5_bfreg_info *bfregi, int bfregn) in mlx5_ib_free_bfreg() argument
709 bfregi->count[bfregn]--; in mlx5_ib_free_bfreg()
[all …]
Dmlx5_ib.h436 int bfregn; member
1359 int bfregn);
1463 struct mlx5_bfreg_info *bfregi, u32 bfregn,