Searched refs:bfregn (Results 1 – 2 of 2) sorted by relevance
651 int bfregn = -ENOMEM; in alloc_bfreg() local655 bfregn = alloc_high_class_bfreg(dev, bfregi); in alloc_bfreg()656 if (bfregn < 0) in alloc_bfreg()657 bfregn = alloc_med_class_bfreg(dev, bfregi); in alloc_bfreg()660 if (bfregn < 0) { in alloc_bfreg()662 bfregn = 0; in alloc_bfreg()663 bfregi->count[bfregn]++; in alloc_bfreg()667 return bfregn; in alloc_bfreg()670 void mlx5_ib_free_bfreg(struct mlx5_ib_dev *dev, struct mlx5_bfreg_info *bfregi, int bfregn) in mlx5_ib_free_bfreg() argument673 bfregi->count[bfregn]--; in mlx5_ib_free_bfreg()[all …]
431 int bfregn; member1330 int bfregn);1475 struct mlx5_bfreg_info *bfregi, u32 bfregn,