Lines Matching defs:blocks
56 const struct mlxsw_afk_block *blocks;
66 const struct mlxsw_afk_block *block = &mlxsw_afk->blocks[i];
95 mlxsw_afk->blocks = ops->blocks;
114 * is index inside "blocks"
117 const struct mlxsw_afk_block *blocks[];
154 const struct mlxsw_afk_block *block = &mlxsw_afk->blocks[i];
219 key_info->blocks[key_info->blocks_count] =
220 &mlxsw_afk->blocks[block_index];
232 /* First fill only key blocks with high_entropy. */
234 if (!mlxsw_afk->blocks[i].high_entropy)
244 /* Fill the rest of key blocks. */
275 /* Since the same elements could be present in multiple blocks,
279 * First, we count hits. We go over all available blocks and count
330 key_info = kzalloc(struct_size(key_info, blocks, mlxsw_afk->max_blocks),
410 block = key_info->blocks[block_index];
424 return key_info->blocks[block_index]->encoding;