Searched refs:maxsec (Results 1 – 2 of 2) sorted by relevance
487 u64 frac, maxsec, ns; in cpts_calc_mult_shift() local495 maxsec = cpts->cc.mask; in cpts_calc_mult_shift()496 do_div(maxsec, freq); in cpts_calc_mult_shift()500 if (maxsec > 10) in cpts_calc_mult_shift()501 maxsec = 10; in cpts_calc_mult_shift()504 cpts->ov_check_period = (HZ * maxsec) / 2; in cpts_calc_mult_shift()512 freq, NSEC_PER_SEC, maxsec); in cpts_calc_mult_shift()
2100 unsigned long maxsec = 0, minsec = ULONG_MAX, seek = 0, iseek = 0; in reorder() local2128 if (blk_rq_pos(SCpnt->request) > maxsec) in reorder()2129 maxsec = blk_rq_pos(SCpnt->request); in reorder()2158 if (cursec > ((maxsec + minsec) / 2)) in reorder()2161 if (ioseek > ((maxsec - minsec) / 2)) in reorder()2201 seeksorted += (iseek + maxsec - minsec) / 1024; in reorder()