Home
last modified time | relevance | path

Searched refs:wl (Results 1 – 2 of 2) sorted by relevance

/kernel/power/
Dwakelock.c40 struct wakelock *wl; in pm_show_wakelocks() local
46 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
47 if (wl->ws.active == show_active) in pm_show_wakelocks()
48 len += sysfs_emit_at(buf, len, "%s ", wl->name); in pm_show_wakelocks()
88 static inline void wakelocks_lru_add(struct wakelock *wl) in wakelocks_lru_add() argument
90 list_add(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_add()
93 static inline void wakelocks_lru_most_recent(struct wakelock *wl) in wakelocks_lru_most_recent() argument
95 list_move(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_most_recent()
100 struct wakelock *wl, *aux; in __wakelocks_gc() local
106 list_for_each_entry_safe_reverse(wl, aux, &wakelocks_lru_list, lru) { in __wakelocks_gc()
[all …]
/kernel/sched/
Dfair.c1274 static long effective_load(struct task_group *tg, int cpu, long wl, long wg);
5262 static long effective_load(struct task_group *tg, int cpu, long wl, long wg) in effective_load() argument
5267 return wl; in effective_load()
5287 w += wl; in effective_load()
5293 wl = (w * (long)tg->shares) / W; in effective_load()
5295 wl = tg->shares; in effective_load()
5302 if (wl < MIN_SHARES) in effective_load()
5303 wl = MIN_SHARES; in effective_load()
5308 wl -= se->avg.load_avg; in effective_load()
5320 return wl; in effective_load()
[all …]