Home
last modified time | relevance | path

Searched refs:events (Results 1 – 3 of 3) sorted by relevance

/lib/
Dflex_proportions.c43 err = percpu_counter_init(&p->events, 1); in fprop_global_init()
52 percpu_counter_destroy(&p->events); in fprop_global_destroy()
65 s64 events; in fprop_new_period() local
69 events = percpu_counter_sum(&p->events); in fprop_new_period()
73 if (events <= 1) { in fprop_new_period()
79 events -= events >> periods; in fprop_new_period()
81 percpu_counter_add(&p->events, -events); in fprop_new_period()
95 pl->events = 0; in fprop_local_init_single()
122 pl->events >>= period - pl->period; in fprop_reflect_period_single()
124 pl->events = 0; in fprop_reflect_period_single()
[all …]
Dproportions.c86 err = percpu_counter_init(&pd->pg[0].events, 0); in prop_descriptor_init()
90 err = percpu_counter_init(&pd->pg[1].events, 0); in prop_descriptor_init()
92 percpu_counter_destroy(&pd->pg[0].events); in prop_descriptor_init()
109 u64 events; in prop_change_shift() local
125 events = percpu_counter_sum(&pd->pg[pd->index].events); in prop_change_shift()
127 events <<= -offset; in prop_change_shift()
129 events >>= offset; in prop_change_shift()
130 percpu_counter_set(&pd->pg[index].events, events); in prop_change_shift()
196 return percpu_counter_init(&pl->events, 0); in prop_local_init_percpu()
201 percpu_counter_destroy(&pl->events); in prop_local_destroy_percpu()
[all …]
DKconfig.debug198 The frequency of hrtimer and NMI events and the soft and hard lockup
640 This also enables lock events required by "perf lock",
645 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events.
646 (CONFIG_LOCKDEP defines "acquire" and "release" events.)
1150 If the notifier call chain should be failed with some events
1174 If the notifier call chain should be failed with some events
1197 If the notifier call chain should be failed with some events
1221 If the notifier call chain should be failed with some events