Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c686 int bfregn = -ENOMEM; in alloc_bfreg() local
693 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() argument
711 bfregi->count[bfregn]--; in mlx5_ib_free_bfreg()
[all …]
Dmlx5_ib.h510 int bfregn; member
1428 int bfregn);
1514 struct mlx5_bfreg_info *bfregi, u32 bfregn,