Searched refs:chunk_count (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_bloom_filter.c | 238 u8 chunk_index, chunk_count, block_count; in __mlxsw_sp_acl_bf_key_encode() local 243 chunk_count = 1 + ((block_count - 1) >> 2); in __mlxsw_sp_acl_bf_key_encode() 246 for (chunk_index = max_chunks - chunk_count; chunk_index < max_chunks; in __mlxsw_sp_acl_bf_key_encode() 256 *len = chunk_count * chunk_len; in __mlxsw_sp_acl_bf_key_encode() 334 static void mlxsw_sp4_bf_key_shift_chunks(u8 chunk_count, char *output) in mlxsw_sp4_bf_key_shift_chunks() argument 341 switch (chunk_count) { in mlxsw_sp4_bf_key_shift_chunks() 368 WARN_ON(chunk_count > MLXSW_BLOOM_KEY_CHUNKS); in mlxsw_sp4_bf_key_shift_chunks() 379 u8 chunk_count = 1 + ((block_count - 1) >> 2); in mlxsw_sp4_acl_bf_key_encode() local 387 mlxsw_sp4_bf_key_shift_chunks(chunk_count, output); in mlxsw_sp4_acl_bf_key_encode()
|
/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_heap.c | 72 u32 chunk_count; member 127 heap->chunk_count--; in panthor_free_heap_chunk() 180 heap->chunk_count++; in panthor_alloc_heap_chunk() 206 u32 chunk_count) in panthor_alloc_heap_chunks() argument 211 for (i = 0; i < chunk_count; i++) { in panthor_alloc_heap_chunks() 391 heap->chunk_count--; in panthor_heap_return_chunk() 453 heap->chunk_count >= heap->max_chunks) { in panthor_heap_grow()
|
/linux/fs/btrfs/ |
H A D | reflink.c | 662 u64 i, tail_len, chunk_count; in btrfs_extent_same() local 678 chunk_count = div_u64(olen, BTRFS_MAX_DEDUPE_LEN); in btrfs_extent_same() 680 for (i = 0; i < chunk_count; i++) { in btrfs_extent_same()
|
/linux/drivers/base/regmap/ |
H A D | regmap.c | 1994 size_t chunk_count, chunk_bytes; in _regmap_raw_write() local 2006 chunk_count = val_count / chunk_regs; in _regmap_raw_write() 2010 for (i = 0; i < chunk_count; i++) { in _regmap_raw_write() 2909 size_t chunk_count, chunk_bytes; in regmap_raw_read() local 2927 chunk_count = val_count / chunk_regs; in regmap_raw_read() 2931 for (i = 0; i < chunk_count; i++) { in regmap_raw_read()
|
/linux/fs/smb/server/ |
H A D | vfs.c | 1785 unsigned int chunk_count, in ksmbd_vfs_copy_file_ranges() argument 1814 for (i = 0; i < chunk_count; i++) { in ksmbd_vfs_copy_file_ranges() 1830 for (i = 0; i < chunk_count; i++) { in ksmbd_vfs_copy_file_ranges()
|
H A D | smb2pdu.c | 7555 unsigned int i, chunk_count, chunk_count_written = 0; in fsctl_copychunk() local 7571 chunk_count = le32_to_cpu(ci_req->ChunkCount); in fsctl_copychunk() 7572 if (chunk_count == 0) in fsctl_copychunk() 7577 if (chunk_count > ksmbd_server_side_copy_max_chunk_count() || in fsctl_copychunk() 7578 input_count < struct_size(ci_req, Chunks, chunk_count)) { in fsctl_copychunk() 7584 for (i = 0; i < chunk_count; i++) { in fsctl_copychunk() 7591 if (i < chunk_count || in fsctl_copychunk() 7623 chunks, chunk_count, in fsctl_copychunk()
|