Home
last modified time | relevance | path

Searched refs:ib_uc_qpns_bitmap (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dmain.c2800 ibdev->ib_uc_qpns_bitmap = in mlx4_ib_add()
2804 if (!ibdev->ib_uc_qpns_bitmap) in mlx4_ib_add()
2808 bitmap_zero(ibdev->ib_uc_qpns_bitmap, in mlx4_ib_add()
2817 bitmap_fill(ibdev->ib_uc_qpns_bitmap, in mlx4_ib_add()
2892 kfree(ibdev->ib_uc_qpns_bitmap); in mlx4_ib_add()
2921 WARN_ON(!dev->ib_uc_qpns_bitmap); in mlx4_ib_steer_qp_alloc()
2923 offset = bitmap_find_free_region(dev->ib_uc_qpns_bitmap, in mlx4_ib_steer_qp_alloc()
2944 bitmap_release_region(dev->ib_uc_qpns_bitmap, in mlx4_ib_steer_qp_free()
3005 kfree(ibdev->ib_uc_qpns_bitmap); in mlx4_ib_remove()
H A Dmlx4_ib.h635 unsigned long *ib_uc_qpns_bitmap; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dmain.c2784 ibdev->ib_uc_qpns_bitmap = bitmap_alloc(ibdev->steer_qpn_count, in mlx4_ib_probe()
2786 if (!ibdev->ib_uc_qpns_bitmap) { in mlx4_ib_probe()
2792 bitmap_zero(ibdev->ib_uc_qpns_bitmap, in mlx4_ib_probe()
2801 bitmap_fill(ibdev->ib_uc_qpns_bitmap, in mlx4_ib_probe()
2886 bitmap_free(ibdev->ib_uc_qpns_bitmap); in mlx4_ib_probe()
2915 WARN_ON(!dev->ib_uc_qpns_bitmap); in mlx4_ib_steer_qp_alloc()
2917 offset = bitmap_find_free_region(dev->ib_uc_qpns_bitmap, in mlx4_ib_steer_qp_alloc()
2938 bitmap_release_region(dev->ib_uc_qpns_bitmap, in mlx4_ib_steer_qp_free()
3003 bitmap_free(ibdev->ib_uc_qpns_bitmap); in mlx4_ib_remove()
H A Dmlx4_ib.h636 unsigned long *ib_uc_qpns_bitmap; member

Completed in 13 milliseconds