Searched refs:bulk_len (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
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() 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 …]
|
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,
|
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()
|
/linux-6.6.21/crypto/ |
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()
|
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()
|
/linux-6.6.21/drivers/gpu/drm/gud/ |
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()
|
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()
|
D | gud_internal.h | 29 size_t bulk_len; member
|
/linux-6.6.21/net/core/ |
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()
|