Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c187 int bulk_len; in mlx5_fc_stats_query_counter_range() local
195 bulk_len = min_t(int, cur_bulk_len, in mlx5_fc_stats_query_counter_range()
198 err = mlx5_cmd_fc_bulk_query(dev, bulk_base_id, bulk_len, in mlx5_fc_stats_query_counter_range()
210 if (counter->id >= bulk_base_id + bulk_len) { in mlx5_fc_stats_query_counter_range()
540 int bulk_len; member
554 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
562 int bulk_len; in mlx5_fc_bulk_create() local
567 bulk_len = alloc_bitmask > 0 ? MLX5_FC_BULK_NUM_FCS(alloc_bitmask) : 1; in mlx5_fc_bulk_create()
569 bulk = kvzalloc(struct_size(bulk, fcs, bulk_len), GFP_KERNEL); in mlx5_fc_bulk_create()
573 bulk->bitmask = kvcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create()
[all …]
Dfs_cmd.h118 int mlx5_cmd_fc_get_bulk_query_out_len(int bulk_len);
119 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
Dfs_cmd.c852 int mlx5_cmd_fc_get_bulk_query_out_len(int bulk_len) in mlx5_cmd_fc_get_bulk_query_out_len() argument
855 MLX5_ST_SZ_BYTES(traffic_counter) * bulk_len; in mlx5_cmd_fc_get_bulk_query_out_len()
858 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len, in mlx5_cmd_fc_bulk_query() argument
861 int outlen = mlx5_cmd_fc_get_bulk_query_out_len(bulk_len); in mlx5_cmd_fc_bulk_query()
867 MLX5_SET(query_flow_counter_in, in, num_of_counters, bulk_len); in mlx5_cmd_fc_bulk_query()
/drivers/gpu/drm/gud/
Dgud_drv.c332 string_get_size(gdrm->bulk_len, 1, STRING_UNITS_2, buf, sizeof(buf)); in gud_stats_debugfs()
394 gdrm->bulk_buf = vmalloc_32(gdrm->bulk_len); in gud_alloc_bulk_buffer()
398 num_pages = DIV_ROUND_UP(gdrm->bulk_len, PAGE_SIZE); in gud_alloc_bulk_buffer()
407 0, gdrm->bulk_len, GFP_KERNEL); in gud_alloc_bulk_buffer()
568 gdrm->bulk_len = max_buffer_size; in gud_probe()
579 gdrm->compress_buf = vmalloc(gdrm->bulk_len); in gud_probe()
Dgud_pipe.c164 if (len > gdrm->bulk_len) in gud_prep_flush()
334 if (gdrm->bulk_len < lines * pitch) in gud_flush_damage()
335 lines = gdrm->bulk_len / pitch; in gud_flush_damage()
Dgud_internal.h29 size_t bulk_len; member