Searched refs:div (Results 1 – 5 of 5) sorted by relevance
/kernel/locking/ |
D | lockdep_proc.c | 433 s64 div; in snprint_time() local 437 div = div_s64_rem(nr, 1000, &rem); in snprint_time() 438 snprintf(buf, bufsiz, "%lld.%02d", (long long)div, (int)rem/10); in snprint_time()
|
/kernel/time/ |
D | hrtimer.c | 303 s64 __ktime_divns(const ktime_t kt, s64 div) in __ktime_divns() argument 313 while (div >> 32) { in __ktime_divns() 315 div >>= 1; in __ktime_divns() 318 do_div(tmp, (u32) div); in __ktime_divns()
|
D | timekeeping.c | 1071 static int scale64_check_overflow(u64 mult, u64 div, u64 *base) in scale64_check_overflow() argument 1075 tmp = div64_u64_rem(*base, div, &rem); in scale64_check_overflow() 1082 rem = div64_u64(rem * mult, div); in scale64_check_overflow()
|
/kernel/rcu/ |
D | tree.c | 2461 int div; in rcu_do_batch() local 2490 div = READ_ONCE(rcu_divisor); in rcu_do_batch() 2491 div = div < 0 ? 7 : div > sizeof(long) * 8 - 2 ? sizeof(long) * 8 - 2 : div; in rcu_do_batch() 2492 bl = max(rdp->blimit, pending >> div); in rcu_do_batch()
|
/kernel/trace/ |
D | trace_events_hist.c | 644 u64 div = divisor->constant; in hist_field_get_div_fn() local 646 if (!(div & (div - 1))) in hist_field_get_div_fn() 650 if (div > (1 << HIST_DIV_SHIFT)) in hist_field_get_div_fn() 653 divisor->div_multiplier = div64_u64((u64)(1 << HIST_DIV_SHIFT), div); in hist_field_get_div_fn()
|