Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c179 int bulk_len; in mlx5_fc_stats_query_counter_range() local
187 bulk_len = min_t(int, max_bulk_len, in mlx5_fc_stats_query_counter_range()
190 err = mlx5_cmd_fc_bulk_query(dev, bulk_base_id, bulk_len, in mlx5_fc_stats_query_counter_range()
202 if (counter->id >= bulk_base_id + bulk_len) { in mlx5_fc_stats_query_counter_range()
471 int bulk_len; member
485 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
493 int bulk_len; in mlx5_fc_bulk_create() local
498 bulk_len = alloc_bitmask > 0 ? MLX5_FC_BULK_NUM_FCS(alloc_bitmask) : 1; in mlx5_fc_bulk_create()
500 bulk = kzalloc(sizeof(*bulk) + bulk_len * sizeof(struct mlx5_fc), in mlx5_fc_bulk_create()
505 bulk->bitmask = kcalloc(BITS_TO_LONGS(bulk_len), sizeof(unsigned long), in mlx5_fc_bulk_create()
[all …]
Dfs_cmd.h112 int mlx5_cmd_fc_get_bulk_query_out_len(int bulk_len);
113 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len,
Dfs_cmd.c673 int mlx5_cmd_fc_get_bulk_query_out_len(int bulk_len) in mlx5_cmd_fc_get_bulk_query_out_len() argument
676 MLX5_ST_SZ_BYTES(traffic_counter) * bulk_len; in mlx5_cmd_fc_get_bulk_query_out_len()
679 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len, in mlx5_cmd_fc_bulk_query() argument
682 int outlen = mlx5_cmd_fc_get_bulk_query_out_len(bulk_len); in mlx5_cmd_fc_bulk_query()
689 MLX5_SET(query_flow_counter_in, in, num_of_counters, bulk_len); in mlx5_cmd_fc_bulk_query()
/Linux-v5.4/crypto/
Dadiantum.c232 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_header() local
237 .message_bits = cpu_to_le64((u64)bulk_len * 8) in adiantum_hash_header()
261 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_message() local
275 for (i = 0; i < bulk_len; i += n) { in adiantum_hash_message()
277 n = min_t(unsigned int, miter.length, bulk_len - i); in adiantum_hash_message()
295 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_finish() local
315 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 1); in adiantum_finish()
335 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt() local
356 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 0); in adiantum_crypt()
381 stream_len = bulk_len; in adiantum_crypt()