Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-throttle.c490 if (time_after(start, tg->slice_start[rw])) in throtl_start_new_slice_with_credit()
491 tg->slice_start[rw] = start; in throtl_start_new_slice_with_credit()
496 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice_with_credit()
505 tg->slice_start[rw] = jiffies; in throtl_start_new_slice()
514 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice()
530 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_extend_slice()
537 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) in throtl_slice_used()
585 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice()
605 time_elapsed = rounddown(jiffies - tg->slice_start[rw], in throtl_trim_slice()
630 tg->slice_start[rw] += time_elapsed; in throtl_trim_slice()
[all …]
Dblk-throttle.h124 unsigned long slice_start[2]; member
/linux-6.12.1/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()