Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/os/
H A Dcpu_event.c184 static cpu_idle_cb_item_t *cpu_idle_cb_array = NULL; variable
405 buf_old = (char *)cpu_idle_cb_array; in cpu_idle_insert_callback()
409 bcopy(cpu_idle_cb_array, buf_new, in cpu_idle_insert_callback()
412 cpu_idle_cb_array = (cpu_idle_cb_item_t *)buf_new; in cpu_idle_insert_callback()
419 if (cpu_idle_cb_array[i - 1].impl->priority >= cip->priority) { in cpu_idle_insert_callback()
422 cpu_idle_cb_array[i] = cpu_idle_cb_array[i - 1]; in cpu_idle_insert_callback()
424 cpu_idle_cb_array[i].arg = cip->argument; in cpu_idle_insert_callback()
425 cpu_idle_cb_array[i].enter = cip->callback->idle_enter; in cpu_idle_insert_callback()
426 cpu_idle_cb_array[i].exit = cip->callback->idle_exit; in cpu_idle_insert_callback()
427 cpu_idle_cb_array[i].impl = cip; in cpu_idle_insert_callback()
[all …]