Searched refs:slice_start (Results 1 – 1 of 1) sorted by relevance
/block/ |
D | blk-throttle.c | 168 unsigned long slice_start[2]; member 785 if (time_after_eq(start, tg->slice_start[rw])) in throtl_start_new_slice_with_credit() 786 tg->slice_start[rw] = start; in throtl_start_new_slice_with_credit() 791 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice_with_credit() 799 tg->slice_start[rw] = jiffies; in throtl_start_new_slice() 806 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice() 822 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_extend_slice() 829 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) in throtl_slice_used() 841 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice() 861 time_elapsed = jiffies - tg->slice_start[rw]; in throtl_trim_slice() [all …]
|