Searched refs:bulk_len (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_counters.c | 187 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() 210 if (counter->id >= bulk_base_id + bulk_len) { in mlx5_fc_stats_query_counter_range() 540 int bulk_len; member 562 int bulk_len; in mlx5_fc_bulk_create() local 583 bulk->bulk_len = bulk_len; in mlx5_fc_bulk_create() 584 for (i = 0; i < bulk_len; i++) { in mlx5_fc_bulk_create() 618 if (free_fc_index >= bulk->bulk_len) in mlx5_fc_bulk_acquire_fc() 678 fc_pool->available_fcs += new_bulk->bulk_len; in mlx5_fc_pool_alloc_new_bulk() 688 fc_pool->available_fcs -= bulk->bulk_len; in mlx5_fc_pool_free_bulk() [all …]
|
H A D | fs_cmd.h | 118 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,
|
H A D | fs_cmd.c | 852 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()
|
/openbmc/linux/crypto/ |
H A D | adiantum.c | 224 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_header() local 229 .message_bits = cpu_to_le64((u64)bulk_len * 8) in adiantum_hash_header() 253 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_message() local 267 for (i = 0; i < bulk_len; i += n) { in adiantum_hash_message() 269 n = min_t(unsigned int, miter.length, bulk_len - i); in adiantum_hash_message() 287 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_finish() local 307 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()
|
H A D | hctr2.c | 199 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in hctr2_hash_message() local 201 unsigned int remainder = bulk_len % BLOCKCIPHER_BLOCK_SIZE; in hctr2_hash_message() 208 for (i = 0; i < bulk_len; i += n) { in hctr2_hash_message() 210 n = min_t(unsigned int, miter.length, bulk_len - i); in hctr2_hash_message() 271 int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in hctr2_crypt() local 315 rctx->bulk_part_dst, bulk_len, in hctr2_crypt()
|
/openbmc/linux/drivers/gpu/drm/gud/ |
H A D | gud_drv.c | 332 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()
|
H A D | gud_pipe.c | 164 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()
|
H A D | gud_internal.h | 29 size_t bulk_len; member
|
/openbmc/linux/net/core/ |
H A D | page_pool.c | 668 int i, bulk_len = 0; in page_pool_put_page_bulk() local 681 data[bulk_len++] = page; in page_pool_put_page_bulk() 684 if (unlikely(!bulk_len)) in page_pool_put_page_bulk() 689 for (i = 0; i < bulk_len; i++) { in page_pool_put_page_bulk() 700 if (likely(i == bulk_len)) in page_pool_put_page_bulk() 706 for (; i < bulk_len; i++) in page_pool_put_page_bulk()
|