Searched refs:max_time (Results 1 – 2 of 2) sorted by relevance
72 unsigned int max_time = gc_th->max_sleep_time; in increase_sleep_time() local77 if ((long long)*wait + (long long)min_time > (long long)max_time) in increase_sleep_time()78 *wait = max_time; in increase_sleep_time()
631 unsigned long avg_time, max_bytes, max_time; in wbc_detach_inode() local661 max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, in wbc_detach_inode()664 avg_time += (max_time >> WB_FRN_TIME_AVG_SHIFT) - in wbc_detach_inode()667 avg_time = max_time; /* immediate catch up on first run */ in wbc_detach_inode()669 if (max_time >= avg_time / WB_FRN_TIME_CUT_DIV) { in wbc_detach_inode()680 slots = min(DIV_ROUND_UP(max_time, WB_FRN_HIST_UNIT), in wbc_detach_inode()