Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-throttle.c501 if (time_after(start, tg->slice_start[rw])) in throtl_start_new_slice_with_credit()
502 tg->slice_start[rw] = start; in throtl_start_new_slice_with_credit()
507 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice_with_credit()
516 tg->slice_start[rw] = jiffies; in throtl_start_new_slice()
525 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice()
541 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_extend_slice()
596 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice()
616 time_elapsed = rounddown(jiffies - tg->slice_start[rw], in throtl_trim_slice()
641 tg->slice_start[rw] += time_elapsed; in throtl_trim_slice()
696 jiffy_elapsed = jiffies - tg->slice_start[rw]; in tg_within_iops_limit()
[all …]
H A Dblk-throttle.h126 unsigned long slice_start[2]; member
/linux/fs/reiserfs/
H A 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()