Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dpd.c51 *pdn = mlx4_bitmap_alloc(&priv->pd_bitmap); in mlx4_pd_alloc()
61 mlx4_bitmap_free(&mlx4_priv(dev)->pd_bitmap, pdn, MLX4_USE_RR); in mlx4_pd_free()
122 return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds, in mlx4_init_pd_table()
129 mlx4_bitmap_cleanup(&mlx4_priv(dev)->pd_bitmap); in mlx4_cleanup_pd_table()
Dmlx4.h892 struct mlx4_bitmap pd_bitmap; member
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c250 unsigned long *pd_bitmap; in _ocrdma_pd_mgr_get_bitmap() local
253 pd_bitmap = dev->pd_mgr->pd_dpp_bitmap; in _ocrdma_pd_mgr_get_bitmap()
254 pd_bitmap_idx = find_first_zero_bit(pd_bitmap, in _ocrdma_pd_mgr_get_bitmap()
256 __set_bit(pd_bitmap_idx, pd_bitmap); in _ocrdma_pd_mgr_get_bitmap()
261 pd_bitmap = dev->pd_mgr->pd_norm_bitmap; in _ocrdma_pd_mgr_get_bitmap()
262 pd_bitmap_idx = find_first_zero_bit(pd_bitmap, in _ocrdma_pd_mgr_get_bitmap()
264 __set_bit(pd_bitmap_idx, pd_bitmap); in _ocrdma_pd_mgr_get_bitmap()