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 …]
2057 uint8_t bit_count = 0; in rw_t2t_get_lock_bits_for_segment() local2108 bit_count = 0; in rw_t2t_get_lock_bits_for_segment()2109 while (bit_count < num_bits) { in rw_t2t_get_lock_bits_for_segment()2115 *p_start_bit = bit_count; in rw_t2t_get_lock_bits_for_segment()2116 bit_count++; in rw_t2t_get_lock_bits_for_segment()2120 bit_count++; in rw_t2t_get_lock_bits_for_segment()2145 if ((bytes_locked_per_bit * (num_bits - bit_count)) + byte_count < in rw_t2t_get_lock_bits_for_segment()2148 byte_count += bytes_locked_per_bit * (num_bits - bit_count); in rw_t2t_get_lock_bits_for_segment()2149 total_bits += num_bits - bit_count; in rw_t2t_get_lock_bits_for_segment()2150 bit_count = 0; in rw_t2t_get_lock_bits_for_segment()[all …]