Home
last modified time | relevance | path

Searched refs:slice_start (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/block/
Dblk-throttle.c647 if (time_after(start, tg->slice_start[rw])) in throtl_start_new_slice_with_credit()
648 tg->slice_start[rw] = start; in throtl_start_new_slice_with_credit()
653 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice_with_credit()
662 tg->slice_start[rw] = jiffies; in throtl_start_new_slice()
671 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice()
687 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_extend_slice()
694 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) in throtl_slice_used()
742 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice()
762 time_elapsed = rounddown(jiffies - tg->slice_start[rw], in throtl_trim_slice()
787 tg->slice_start[rw] += time_elapsed; in throtl_trim_slice()
[all …]
Dblk-throttle.h138 unsigned long slice_start[2]; member
/Linux-v6.6/fs/reiserfs/
Dbitmap.c1008 b_blocknr_t slice_start; in hundredth_slices() local
1010 slice_start = in hundredth_slices()
1012 if (slice_start > hint->search_start in hundredth_slices()
1013 || slice_start + (hint->end / 100) <= hint->search_start) { in hundredth_slices()
1014 hint->search_start = slice_start; in hundredth_slices()