Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dacct.c354 int exp, rnd; in encode_comp_t() local
356 exp = rnd = 0; in encode_comp_t()
360 exp++; in encode_comp_t()
368 exp++; in encode_comp_t()
374 exp <<= MANTSIZE; /* Shift the exponent into place */ in encode_comp_t()
375 exp += value; /* and add on the mantissa. */ in encode_comp_t()
376 return exp; in encode_comp_t()
396 int exp, rnd; in encode_comp2_t() local
398 exp = (value > (MAXFRACT2>>1)); in encode_comp2_t()
403 exp++; in encode_comp2_t()
[all …]
Dposix-cpu-timers.c568 union cpu_time_count *exp = &nt->expires; in arm_timer() local
579 if (expires_gt(cputime_expires->prof_exp, exp->cpu)) in arm_timer()
580 cputime_expires->prof_exp = exp->cpu; in arm_timer()
583 if (expires_gt(cputime_expires->virt_exp, exp->cpu)) in arm_timer()
584 cputime_expires->virt_exp = exp->cpu; in arm_timer()
588 cputime_expires->sched_exp > exp->sched) in arm_timer()
589 cputime_expires->sched_exp = exp->sched; in arm_timer()
/kernel/time/
Dalarmtimer.c648 static int update_rmtp(ktime_t exp, enum alarmtimer_type type, in update_rmtp() argument
654 rem = ktime_sub(exp, alarm_bases[type].gettime()); in update_rmtp()
676 ktime_t exp; in alarm_timer_nsleep_restart() local
681 exp.tv64 = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
684 if (alarmtimer_do_nsleep(&alarm, exp)) in alarm_timer_nsleep_restart()
688 alarmtimer_freezerset(exp, type); in alarm_timer_nsleep_restart()
692 ret = update_rmtp(exp, type, rmtp); in alarm_timer_nsleep_restart()
718 ktime_t exp; in alarm_timer_nsleep() local
730 exp = timespec_to_ktime(*tsreq); in alarm_timer_nsleep()
734 exp = ktime_add(now, exp); in alarm_timer_nsleep()
[all …]
/kernel/sched/
Dcore.c2166 calc_load(unsigned long load, unsigned long exp, unsigned long active) in calc_load() argument
2168 load *= exp; in calc_load()
2169 load += active * (FIXED_1 - exp); in calc_load()
2353 calc_load_n(unsigned long load, unsigned long exp, in calc_load_n() argument
2357 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()