Searched refs:bulk_len (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_counters.c | 179 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 …]
|
D | fs_cmd.h | 112 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,
|
D | fs_cmd.c | 668 int mlx5_cmd_fc_get_bulk_query_out_len(int bulk_len) in mlx5_cmd_fc_get_bulk_query_out_len() argument 671 MLX5_ST_SZ_BYTES(traffic_counter) * bulk_len; in mlx5_cmd_fc_get_bulk_query_out_len() 674 int mlx5_cmd_fc_bulk_query(struct mlx5_core_dev *dev, u32 base_id, int bulk_len, in mlx5_cmd_fc_bulk_query() argument 677 int outlen = mlx5_cmd_fc_get_bulk_query_out_len(bulk_len); in mlx5_cmd_fc_bulk_query() 683 MLX5_SET(query_flow_counter_in, in, num_of_counters, bulk_len); in mlx5_cmd_fc_bulk_query()
|
/Linux-v5.10/crypto/ |
D | adiantum.c | 223 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_header() local 228 .message_bits = cpu_to_le64((u64)bulk_len * 8) in adiantum_hash_header() 252 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_message() local 266 for (i = 0; i < bulk_len; i += n) { in adiantum_hash_message() 268 n = min_t(unsigned int, miter.length, bulk_len - i); in adiantum_hash_message() 286 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_finish() local 306 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 1); in adiantum_finish() 326 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt() local 347 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 0); in adiantum_crypt() 372 stream_len = bulk_len; in adiantum_crypt()
|