Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dblk-throttle.c647 if (time_after_eq(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()
706 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice()
726 time_elapsed = jiffies - tg->slice_start[rw]; in throtl_trim_slice()
752 tg->slice_start[rw] += nr_slices * tg->td->throtl_slice; in throtl_trim_slice()
[all …]
Dblk-throttle.h138 unsigned long slice_start[2]; member
/linux-6.1.9/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()