Searched refs:bfregn (Results 1 – 2 of 2) sorted by relevance
767 int bfregn = -ENOMEM; in alloc_bfreg() local774 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() argument792 bfregi->count[bfregn]--; in mlx5_ib_free_bfreg()[all …]
527 int bfregn; member1488 int bfregn);1574 struct mlx5_bfreg_info *bfregi, u32 bfregn,