Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c1550 u32 bfreg_dyn_idx = 0; in uar_mmap() local
1591 bfreg_dyn_idx = idx * (uars_per_page * MLX5_NON_FP_BFREGS_PER_UAR); in uar_mmap()
1592 if (bfreg_dyn_idx >= bfregi->total_num_bfregs) { in uar_mmap()
1594 bfreg_dyn_idx, bfregi->total_num_bfregs); in uar_mmap()
1602 if (bfregi->count[bfreg_dyn_idx]) { in uar_mmap()
1603 mlx5_ib_warn(dev, "wrong offset, idx %lu is busy, bfregn=%u\n", idx, bfreg_dyn_idx); in uar_mmap()
1608 bfregi->count[bfreg_dyn_idx]++; in uar_mmap()
1643 mlx5_ib_free_bfreg(dev, bfregi, bfreg_dyn_idx); in uar_mmap()