Searched refs:bfregn (Results 1 – 2 of 2) sorted by relevance
684 int bfregn = -ENOMEM; in alloc_bfreg() local691 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() argument709 bfregi->count[bfregn]--; in mlx5_ib_free_bfreg()[all …]
436 int bfregn; member1359 int bfregn);1463 struct mlx5_bfreg_info *bfregi, u32 bfregn,