Home
last modified time | relevance | path

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

/linux-4.1.27/block/
Dblk-throttle.c142 unsigned long slice_start[2]; member
705 if (time_after_eq(start, tg->slice_start[rw])) in throtl_start_new_slice_with_credit()
706 tg->slice_start[rw] = start; in throtl_start_new_slice_with_credit()
711 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice_with_credit()
719 tg->slice_start[rw] = jiffies; in throtl_start_new_slice()
723 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_start_new_slice()
739 rw == READ ? 'R' : 'W', tg->slice_start[rw], in throtl_extend_slice()
746 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) in throtl_slice_used()
758 BUG_ON(time_before(tg->slice_end[rw], tg->slice_start[rw])); in throtl_trim_slice()
778 time_elapsed = jiffies - tg->slice_start[rw]; in throtl_trim_slice()
[all …]
Dcfq-iosched.c128 unsigned long slice_start; member
1050 cfqq->slice_start = jiffies; in cfq_set_prio_slice()
1434 if (!cfqq->slice_start || cfqq->slice_start == jiffies) { in cfq_cfqq_slice_usage()
1444 slice_used = jiffies - cfqq->slice_start; in cfq_cfqq_slice_usage()
1449 if (time_after(cfqq->slice_start, cfqq->dispatch_start)) in cfq_cfqq_slice_usage()
1450 *unaccounted_time += cfqq->slice_start - in cfq_cfqq_slice_usage()
2440 cfqq->slice_start = 0; in __cfq_set_active_queue()
3112 (cfqq->slice_end - jiffies > jiffies - cfqq->slice_start))) { in cfq_select_queue()
/linux-4.1.27/fs/reiserfs/
Dbitmap.c1000 b_blocknr_t slice_start; in hundredth_slices() local
1002 slice_start = in hundredth_slices()
1004 if (slice_start > hint->search_start in hundredth_slices()
1005 || slice_start + (hint->end / 100) <= hint->search_start) { in hundredth_slices()
1006 hint->search_start = slice_start; in hundredth_slices()