Searched refs:indexes_per_usage_bit (Results 1 – 1 of 1) sorted by relevance
47 unsigned int indexes_per_usage_bit; member97 bit_count = DIV_ROUND_UP(size, part->indexes_per_usage_bit); in mlxsw_sp2_kvdl_part_alloc()103 *p_kvdl_index = bit * part->indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_alloc()139 bit_count = DIV_ROUND_UP(size, part->indexes_per_usage_bit); in mlxsw_sp2_kvdl_part_free()140 bit = kvdl_index / part->indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_free()183 unsigned int indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_init() local203 indexes_per_usage_bit = index_range / usage_bit_count; in mlxsw_sp2_kvdl_part_init()211 part->indexes_per_usage_bit = indexes_per_usage_bit; in mlxsw_sp2_kvdl_part_init()