Home
last modified time | relevance | path

Searched refs:FSHIFT (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/linux/sched/
Dloadavg.h18 #define FSHIFT 11 /* nr of bits of precision */ macro
19 #define FIXED_1 (1<<FSHIFT) /* 1.0 as fixed-point */
43 #define LOAD_INT(x) ((x) >> FSHIFT)
/linux-6.1.9/arch/m68k/kernel/
Dtime.c58 period = ((672<<FSHIFT)/(5*avenrun[0]+(7<<FSHIFT))) + 30; in timer_heartbeat()
/linux-6.1.9/arch/sh/drivers/
Dheartbeat.c70 mod_timer(&hd->timer, jiffies + (110 - ((300 << FSHIFT) / in heartbeat_timer()
71 ((avenrun[0] / 5) + (3 << FSHIFT))))); in heartbeat_timer()
/linux-6.1.9/drivers/leds/trigger/
Dledtrig-heartbeat.c61 (6720 << FSHIFT) / (5 * avenrun[0] + (7 << FSHIFT)); in led_heartbeat_function()
/linux-6.1.9/arch/sparc/kernel/
Dled.c46 ((1 + (avenrun[0] >> FSHIFT)) * HZ); in led_blink()
/linux-6.1.9/kernel/sched/
Dloadavg.c159 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
/linux-6.1.9/net/sched/
Dem_meta.c115 int rnd_frac = ((rnd_load & (FIXED_1-1)) * 100) >> FSHIFT; in fixed_loadavg()
117 return ((rnd_load >> FSHIFT) * 100) + rnd_frac; in fixed_loadavg()
/linux-6.1.9/drivers/platform/x86/
Dintel_ips.c348 if ((avenrun[0] >> FSHIFT) > 1) in ips_cpu_busy()
/linux-6.1.9/kernel/
Dsys.c2667 get_avenrun(info->loads, 0, SI_LOAD_SHIFT - FSHIFT); in do_sysinfo()