Lines Matching refs:index
156 int index; member
352 cpu_idle_cb_state[cp->cpu_seqid].v.index = 0; in cpu_event_init_cpu()
513 if (sp->v.index != 0) { in cpu_idle_register_callback()
571 if (sp->v.index != 0) { in cpu_idle_unregister_callback()
645 ASSERT(sp->v.index == 0); in cpu_idle_enter()
687 sp->v.index++; in cpu_idle_enter()
719 if (sp->v.index != i + 1) { in cpu_idle_enter()
754 if (sp->v.index != 0) { in cpu_idle_exit()
757 for (i = sp->v.index - 1; i >= 0; i--) { in cpu_idle_exit()
763 sp->v.index = 0; in cpu_idle_exit()
779 if (sp->v.index == 0) { in cpu_idle_exit()
784 for (i = sp->v.index - 1; i >= 0; i--) { in cpu_idle_exit()
790 sp->v.index = 0; in cpu_idle_exit()
795 if (sp->v.index != 0) { in cpu_idle_exit()
798 for (i = sp->v.index - 1; i >= 0; i--) { in cpu_idle_exit()
804 sp->v.index = 0; in cpu_idle_exit()