Home
last modified time | relevance | path

Searched refs:rnd (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dacct.c317 int exp, rnd; in encode_comp_t() local
319 exp = rnd = 0; in encode_comp_t()
321 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */ in encode_comp_t()
329 if (rnd && (++value > MAXFRACT)) { in encode_comp_t()
361 int exp, rnd; in encode_comp2_t() local
364 rnd = 0; in encode_comp2_t()
366 rnd = value & 1; in encode_comp2_t()
374 if (rnd && (++value > MAXFRACT2)) { in encode_comp2_t()
/kernel/time/
Dclockevents.c36 u64 rnd; in cev_delta2ns() local
40 rnd = (u64) evt->mult - 1; in cev_delta2ns()
68 if ((~0ULL - clc > rnd) && in cev_delta2ns()
70 clc += rnd; in cev_delta2ns()