Searched refs:usage_bit_count (Results 1 – 1 of 1) sorted by relevance
46 unsigned int usage_bit_count; member66 if (start_bit == part->usage_bit_count) in mlxsw_sp2_kvdl_part_find_zero_bits()70 bit = find_next_zero_bit(part->usage, part->usage_bit_count, bit); in mlxsw_sp2_kvdl_part_find_zero_bits()71 if (!wrap && bit + bit_count >= part->usage_bit_count) { in mlxsw_sp2_kvdl_part_find_zero_bits()186 unsigned int usage_bit_count; in mlxsw_sp2_kvdl_part_init() local194 usage_bit_count = mlxsw_core_res_get(mlxsw_sp->core, in mlxsw_sp2_kvdl_part_init()203 indexes_per_usage_bit = index_range / usage_bit_count; in mlxsw_sp2_kvdl_part_init()205 usage_size = BITS_TO_LONGS(usage_bit_count) * sizeof(unsigned long); in mlxsw_sp2_kvdl_part_init()210 part->usage_bit_count = usage_bit_count; in mlxsw_sp2_kvdl_part_init()212 part->last_allocated_bit = usage_bit_count - 1; in mlxsw_sp2_kvdl_part_init()