Home
last modified time | relevance | path

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

/linux-3.4.99/arch/microblaze/kernel/
Dheartbeat.c38 period = ((672 << FSHIFT) / (5 * avenrun[0] + in heartbeat()
39 (7 << FSHIFT))) + 30; in heartbeat()
/linux-3.4.99/arch/m68k/kernel/
Dtime.c59 period = ((672<<FSHIFT)/(5*avenrun[0]+(7<<FSHIFT))) + 30; in timer_interrupt()
/linux-3.4.99/drivers/leds/
Dledtrig-heartbeat.c46 (6720 << FSHIFT) / (5 * avenrun[0] + (7 << FSHIFT)); in led_heartbeat_function()
/linux-3.4.99/arch/sh/drivers/
Dheartbeat.c73 mod_timer(&hd->timer, jiffies + (110 - ((300 << FSHIFT) / in heartbeat_timer()
74 ((avenrun[0] / 5) + (3 << FSHIFT))))); in heartbeat_timer()
/linux-3.4.99/fs/proc/
Dloadavg.c10 #define LOAD_INT(x) ((x) >> FSHIFT)
/linux-3.4.99/arch/sparc/kernel/
Dled.c41 ((1 + (avenrun[0] >> FSHIFT)) * HZ); in led_blink()
/linux-3.4.99/arch/s390/appldata/
Dappldata_os.c28 #define LOAD_INT(x) ((x) >> FSHIFT)
/linux-3.4.99/drivers/cpuidle/governors/
Dmenu.c126 #define LOAD_INT(x) ((x) >> FSHIFT)
/linux-3.4.99/net/sched/
Dem_meta.c118 int rnd_frac = ((rnd_load & (FIXED_1-1)) * 100) >> FSHIFT; in fixed_loadavg()
120 return ((rnd_load >> FSHIFT) * 100) + rnd_frac; in fixed_loadavg()
/linux-3.4.99/include/linux/
Dsched.h123 #define FSHIFT 11 /* nr of bits of precision */ macro
124 #define FIXED_1 (1<<FSHIFT) /* 1.0 as fixed-point */
133 load >>= FSHIFT;
/linux-3.4.99/arch/powerpc/platforms/cell/spufs/
Dsched.c1075 #define LOAD_INT(x) ((x) >> FSHIFT)
/linux-3.4.99/kernel/
Dtimer.c1586 get_avenrun(info->loads, 0, SI_LOAD_SHIFT - FSHIFT); in do_sysinfo()
/linux-3.4.99/drivers/platform/x86/
Dintel_ips.c361 if ((avenrun[0] >> FSHIFT) > 1) in ips_cpu_busy()
/linux-3.4.99/kernel/sched/
Dcore.c2257 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()
/linux-3.4.99/kernel/debug/kdb/
Dkdb_main.c2589 #define LOAD_INT(x) ((x) >> FSHIFT) in kdb_summary()