Lines Matching refs:is_active
1187 else if (ctx->is_active) in update_event_times()
1633 ctx->is_active = 0; in __perf_remove_from_context()
1686 if (ctx->is_active) { in perf_remove_from_context()
2154 if (ctx->is_active) { in perf_install_in_context()
2213 if (!ctx->is_active) in __perf_event_enable()
2309 if (!ctx->is_active) { in _perf_event_enable()
2325 if (ctx->is_active && event->state == PERF_EVENT_STATE_OFF) { in _perf_event_enable()
2386 int is_active = ctx->is_active; in ctx_sched_out() local
2388 ctx->is_active &= ~event_type; in ctx_sched_out()
2398 if ((is_active & EVENT_PINNED) && (event_type & EVENT_PINNED)) { in ctx_sched_out()
2403 if ((is_active & EVENT_FLEXIBLE) && (event_type & EVENT_FLEXIBLE)) { in ctx_sched_out()
2763 int is_active = ctx->is_active; in ctx_sched_in() local
2765 ctx->is_active |= event_type; in ctx_sched_in()
2776 if (!(is_active & EVENT_PINNED) && (event_type & EVENT_PINNED)) in ctx_sched_in()
2780 if (!(is_active & EVENT_FLEXIBLE) && (event_type & EVENT_FLEXIBLE)) in ctx_sched_in()
3215 if (ctx->is_active) { in __perf_event_read()
3252 if (ctx->is_active) { in perf_event_read()
4049 if (ctx->is_active) { in perf_event_period()