Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/os/
H A Dcpu_event.c185 static int cpu_idle_cb_curr = 0; variable
382 if (cpu_idle_cb_curr == cpu_idle_cb_max) { in cpu_idle_insert_callback()
417 ASSERT(cpu_idle_cb_curr < cpu_idle_cb_max); in cpu_idle_insert_callback()
418 for (i = cpu_idle_cb_curr; i > 0; i--) { in cpu_idle_insert_callback()
428 cpu_idle_cb_curr++; in cpu_idle_insert_callback()
470 for (i = 0; i < cpu_idle_cb_curr; i++) { in cpu_idle_remove_callback()
480 cpu_idle_cb_curr--; in cpu_idle_remove_callback()
487 if (cpu_idle_cb_curr == 0) { in cpu_idle_remove_callback()
681 for (i = 0, cip = cpu_idle_cb_array; i < cpu_idle_cb_curr; i++, cip++) { in cpu_idle_enter()