Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dqp.c767 int bfregn = -ENOMEM; in alloc_bfreg() local
774 bfregn = alloc_high_class_bfreg(dev, bfregi); in alloc_bfreg()
775 if (bfregn < 0) in alloc_bfreg()
776 bfregn = alloc_med_class_bfreg(dev, bfregi); in alloc_bfreg()
779 if (bfregn < 0) { in alloc_bfreg()
781 bfregn = 0; in alloc_bfreg()
782 bfregi->count[bfregn]++; in alloc_bfreg()
786 return bfregn; in alloc_bfreg()
789 void mlx5_ib_free_bfreg(struct mlx5_ib_dev *dev, struct mlx5_bfreg_info *bfregi, int bfregn) in mlx5_ib_free_bfreg() argument
792 bfregi->count[bfregn]--; in mlx5_ib_free_bfreg()
[all …]
Dmlx5_ib.h527 int bfregn; member
1488 int bfregn);
1574 struct mlx5_bfreg_info *bfregi, u32 bfregn,