Home
last modified time | relevance | path

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

/kernel/
Dacct.c317 int exp, rnd; in encode_comp_t() local
319 exp = rnd = 0; in encode_comp_t()
323 exp++; in encode_comp_t()
331 exp++; in encode_comp_t()
334 if (exp > (((comp_t) ~0U) >> MANTSIZE)) in encode_comp_t()
339 exp <<= MANTSIZE; /* Shift the exponent into place */ in encode_comp_t()
340 exp += value; /* and add on the mantissa. */ in encode_comp_t()
341 return exp; in encode_comp_t()
361 int exp, rnd; in encode_comp2_t() local
363 exp = (value > (MAXFRACT2>>1)); in encode_comp2_t()
[all …]
/kernel/rcu/
Drefscale.c489 int exp, r; in main_func() local
513 for (exp = 0; exp < nruns && !torture_must_stop(); exp++) { in main_func()
525 exp_idx = exp; in main_func()
543 result_avg[exp] = div_u64(1000 * process_durations(nreaders), nreaders * loops); in main_func()
555 for (exp = 0; exp < nruns; exp++) { in main_func()
561 avg = div_u64_rem(result_avg[exp], 1000, &rem); in main_func()
562 sprintf(buf1, "%d\t%llu.%03u\n", exp + 1, avg, rem); in main_func()
Dtree_exp.h734 __this_cpu_write(rcu_data.cpu_no_qs.b.exp, true); in rcu_exp_need_qs()
748 __this_cpu_read(rcu_data.cpu_no_qs.b.exp)) in rcu_exp_handler()
771 rdp->cpu_no_qs.b.exp) { in sync_sched_exp_online_cleanup()
Dtree_plugin.h613 bool exp; in rcu_read_unlock_special() local
617 exp = (t->rcu_blocked_node && in rcu_read_unlock_special()
621 if (use_softirq && (in_irq() || (exp && !irqs_were_disabled))) { in rcu_read_unlock_special()
632 !rdp->defer_qs_iw_pending && exp && cpu_online(rdp->cpu)) { in rcu_read_unlock_special()
824 if (!__this_cpu_read(rcu_data.cpu_no_qs.b.exp)) in rcu_qs()
826 __this_cpu_write(rcu_data.cpu_no_qs.b.exp, false); in rcu_qs()
Dtree.h145 u8 exp; member
/kernel/time/
Dalarmtimer.c828 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() local
833 return alarmtimer_do_nsleep(&alarm, exp, type); in alarm_timer_nsleep_restart()
851 ktime_t exp; in alarm_timer_nsleep() local
865 exp = timespec64_to_ktime(*tsreq); in alarm_timer_nsleep()
870 exp = ktime_add_safe(now, exp); in alarm_timer_nsleep()
872 exp = timens_ktime_to_host(which_clock, exp); in alarm_timer_nsleep()
875 ret = alarmtimer_do_nsleep(&alarm, exp, type); in alarm_timer_nsleep()
884 restart->nanosleep.expires = exp; in alarm_timer_nsleep()
Dposix-cpu-timers.c652 u64 exp = bump_cpu_timer(timer, val); in posix_cpu_timer_set() local
654 if (val < exp) { in posix_cpu_timer_set()
655 old_expires = exp - val; in posix_cpu_timer_set()
Dtimer.c2073 ktime_t exp = ktime_add_us(ktime_get(), min); in usleep_range_state() local
2079 if (!schedule_hrtimeout_range(&exp, delta, HRTIMER_MODE_ABS)) in usleep_range_state()
/kernel/kcsan/
Dcore.c992 int __tsan_atomic##bits##_compare_exchange_##strength(u##bits *ptr, u##bits *exp, \
994 int __tsan_atomic##bits##_compare_exchange_##strength(u##bits *ptr, u##bits *exp, \
1002 return __atomic_compare_exchange_n(ptr, exp, val, weak, mo, fail_mo); \
1007 u##bits __tsan_atomic##bits##_compare_exchange_val(u##bits *ptr, u##bits exp, u##bits val, \
1009 u##bits __tsan_atomic##bits##_compare_exchange_val(u##bits *ptr, u##bits exp, u##bits val, \
1017 __atomic_compare_exchange_n(ptr, &exp, val, 0, mo, fail_mo); \
1018 return exp; \
/kernel/sched/
Dloadavg.c157 calc_load_n(unsigned long load, unsigned long exp, in calc_load_n() argument
160 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
Dcore.c8161 #define _POW10(exp) ((unsigned int)1e##exp) argument
8162 #define POW10(exp) _POW10(exp) argument