Searched refs:bfregn (Results 1 – 2 of 2) sorted by relevance
686 int bfregn = -ENOMEM; in alloc_bfreg() local693 bfregn = alloc_high_class_bfreg(dev, bfregi); in alloc_bfreg()694 if (bfregn < 0) in alloc_bfreg()695 bfregn = alloc_med_class_bfreg(dev, bfregi); in alloc_bfreg()698 if (bfregn < 0) { in alloc_bfreg()700 bfregn = 0; in alloc_bfreg()701 bfregi->count[bfregn]++; in alloc_bfreg()705 return bfregn; in alloc_bfreg()708 void mlx5_ib_free_bfreg(struct mlx5_ib_dev *dev, struct mlx5_bfreg_info *bfregi, int bfregn) in mlx5_ib_free_bfreg() argument711 bfregi->count[bfregn]--; in mlx5_ib_free_bfreg()[all …]
510 int bfregn; member1428 int bfregn);1514 struct mlx5_bfreg_info *bfregi, u32 bfregn,