Lines Matching refs:mlx5_fc_bulk
65 struct mlx5_fc_bulk *bulk;
537 struct mlx5_fc_bulk { struct
545 static void mlx5_fc_init(struct mlx5_fc *counter, struct mlx5_fc_bulk *bulk, in mlx5_fc_init() argument
552 static int mlx5_fc_bulk_get_free_fcs_amount(struct mlx5_fc_bulk *bulk) in mlx5_fc_bulk_get_free_fcs_amount()
557 static struct mlx5_fc_bulk *mlx5_fc_bulk_create(struct mlx5_core_dev *dev) in mlx5_fc_bulk_create()
560 struct mlx5_fc_bulk *bulk; in mlx5_fc_bulk_create()
600 mlx5_fc_bulk_destroy(struct mlx5_core_dev *dev, struct mlx5_fc_bulk *bulk) in mlx5_fc_bulk_destroy()
614 static struct mlx5_fc *mlx5_fc_bulk_acquire_fc(struct mlx5_fc_bulk *bulk) in mlx5_fc_bulk_acquire_fc()
625 static int mlx5_fc_bulk_release_fc(struct mlx5_fc_bulk *bulk, struct mlx5_fc *fc) in mlx5_fc_bulk_release_fc()
653 struct mlx5_fc_bulk *bulk; in mlx5_fc_pool_cleanup()
654 struct mlx5_fc_bulk *tmp; in mlx5_fc_pool_cleanup()
670 static struct mlx5_fc_bulk *
674 struct mlx5_fc_bulk *new_bulk; in mlx5_fc_pool_alloc_new_bulk()
684 mlx5_fc_pool_free_bulk(struct mlx5_fc_pool *fc_pool, struct mlx5_fc_bulk *bulk) in mlx5_fc_pool_free_bulk()
698 struct mlx5_fc_bulk *bulk; in mlx5_fc_pool_acquire_from_list()
704 bulk = list_first_entry(src_list, struct mlx5_fc_bulk, pool_list); in mlx5_fc_pool_acquire_from_list()
714 struct mlx5_fc_bulk *new_bulk; in mlx5_fc_pool_acquire_counter()
746 struct mlx5_fc_bulk *bulk = fc->bulk; in mlx5_fc_pool_release_counter()