Searched refs:FSHIFT (Results 1 – 15 of 15) sorted by relevance
38 period = ((672 << FSHIFT) / (5 * avenrun[0] + in heartbeat()39 (7 << FSHIFT))) + 30; in heartbeat()
59 period = ((672<<FSHIFT)/(5*avenrun[0]+(7<<FSHIFT))) + 30; in timer_interrupt()
46 (6720 << FSHIFT) / (5 * avenrun[0] + (7 << FSHIFT)); in led_heartbeat_function()
73 mod_timer(&hd->timer, jiffies + (110 - ((300 << FSHIFT) / in heartbeat_timer()74 ((avenrun[0] / 5) + (3 << FSHIFT))))); in heartbeat_timer()
10 #define LOAD_INT(x) ((x) >> FSHIFT)
41 ((1 + (avenrun[0] >> FSHIFT)) * HZ); in led_blink()
28 #define LOAD_INT(x) ((x) >> FSHIFT)
126 #define LOAD_INT(x) ((x) >> FSHIFT)
118 int rnd_frac = ((rnd_load & (FIXED_1-1)) * 100) >> FSHIFT; in fixed_loadavg()120 return ((rnd_load >> FSHIFT) * 100) + rnd_frac; in fixed_loadavg()
123 #define FSHIFT 11 /* nr of bits of precision */ macro124 #define FIXED_1 (1<<FSHIFT) /* 1.0 as fixed-point */133 load >>= FSHIFT;
1075 #define LOAD_INT(x) ((x) >> FSHIFT)
1586 get_avenrun(info->loads, 0, SI_LOAD_SHIFT - FSHIFT); in do_sysinfo()
361 if ((avenrun[0] >> FSHIFT) > 1) in ips_cpu_busy()
2257 load += 1UL << (FSHIFT - 1); in calc_load()2258 return load >> FSHIFT; in calc_load()2444 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
2589 #define LOAD_INT(x) ((x) >> FSHIFT) in kdb_summary()