Lines Matching refs:incr_keys
280 static void compute_coding_constants(u32 mean_delta, u16 *min_bits, u32 *min_keys, u32 *incr_keys) in compute_coding_constants() argument
286 *incr_keys = (836158UL * mean_delta + 603160UL) / 1206321UL; in compute_coding_constants()
287 *min_bits = bits_per(*incr_keys + 1); in compute_coding_constants()
288 *min_keys = (1 << *min_bits) - *incr_keys; in compute_coding_constants()
330 &delta_zone->min_keys, &delta_zone->incr_keys); in initialize_delta_zone()
541 &delta_zone->min_keys, &delta_zone->incr_keys); in uds_initialize_delta_index_page()
1332 delta += ((key_bits - delta_zone->min_bits - 1) * delta_zone->incr_keys); in decode_delta()
1406 ((delta_zone->incr_keys - delta_zone->min_keys + delta) / in set_delta()
1407 delta_zone->incr_keys)); in set_delta()
1674 t1 = (temp % delta_zone->incr_keys) + delta_zone->min_keys; in encode_delta()
1675 t2 = temp / delta_zone->incr_keys; in encode_delta()
1927 u32 incr_keys; in uds_compute_delta_index_size() local
1930 compute_coding_constants(mean_delta, &min_bits, &min_keys, &incr_keys); in uds_compute_delta_index_size()