Searched refs:bit_count (Results 1 – 2 of 2) sorted by relevance
1835 uint8_t bit_count = 0; in rw_t1t_get_lock_bits_for_segment() local1876 bit_count = 0; in rw_t1t_get_lock_bits_for_segment()1877 while (bit_count < num_bits) { in rw_t1t_get_lock_bits_for_segment()1882 *p_start_bit = bit_count; in rw_t1t_get_lock_bits_for_segment()1883 bit_count++; in rw_t1t_get_lock_bits_for_segment()1887 bit_count++; in rw_t1t_get_lock_bits_for_segment()1914 if ((bytes_locked_per_bit * (num_bits - bit_count)) + byte_count < in rw_t1t_get_lock_bits_for_segment()1916 byte_count += bytes_locked_per_bit * (num_bits - bit_count); in rw_t1t_get_lock_bits_for_segment()1917 total_bits += num_bits - bit_count; in rw_t1t_get_lock_bits_for_segment()1918 bit_count = 0; in rw_t1t_get_lock_bits_for_segment()[all …]
2091 uint8_t bit_count = 0; in rw_t2t_get_lock_bits_for_segment() local2142 bit_count = 0; in rw_t2t_get_lock_bits_for_segment()2143 while (bit_count < num_bits) { in rw_t2t_get_lock_bits_for_segment()2149 *p_start_bit = bit_count; in rw_t2t_get_lock_bits_for_segment()2150 bit_count++; in rw_t2t_get_lock_bits_for_segment()2154 bit_count++; in rw_t2t_get_lock_bits_for_segment()2179 if ((bytes_locked_per_bit * (num_bits - bit_count)) + byte_count < in rw_t2t_get_lock_bits_for_segment()2182 byte_count += bytes_locked_per_bit * (num_bits - bit_count); in rw_t2t_get_lock_bits_for_segment()2183 total_bits += num_bits - bit_count; in rw_t2t_get_lock_bits_for_segment()2184 bit_count = 0; in rw_t2t_get_lock_bits_for_segment()[all …]