Searched refs:max_shift (Results 1 – 2 of 2) sorted by relevance
398 int max_shift = 0xFFFF; in find_shift_for_valid_cache_id_assignment() local409 if (max_shift > (int)slice_width) { in find_shift_for_valid_cache_id_assignment()410 max_shift = slice_width; in find_shift_for_valid_cache_id_assignment()414 for (*shift = 0; *shift <= max_shift; *shift += shift_granularity) { in find_shift_for_valid_cache_id_assignment()
1307 unsigned int max_shift; in gfs2_glock_async_wait() local1311 max_shift = BITS_PER_LONG - 2 - __fls(GL_GLOCK_HOLD_INCR); in gfs2_glock_async_wait()1312 incr = min(GL_GLOCK_HOLD_INCR << min(retries - 1, max_shift), in gfs2_glock_async_wait()