Lines Matching refs:is_active
1175 else if (ctx->is_active) in update_event_times()
1652 ctx->is_active = 0; in __perf_remove_from_context()
1705 if (ctx->is_active) { in perf_remove_from_context()
2173 if (ctx->is_active) { in perf_install_in_context()
2232 if (!ctx->is_active) in __perf_event_enable()
2328 if (!ctx->is_active) { in _perf_event_enable()
2344 if (ctx->is_active && event->state == PERF_EVENT_STATE_OFF) { in _perf_event_enable()
2405 int is_active = ctx->is_active; in ctx_sched_out() local
2407 ctx->is_active &= ~event_type; in ctx_sched_out()
2417 if ((is_active & EVENT_PINNED) && (event_type & EVENT_PINNED)) { in ctx_sched_out()
2422 if ((is_active & EVENT_FLEXIBLE) && (event_type & EVENT_FLEXIBLE)) { in ctx_sched_out()
2788 int is_active = ctx->is_active; in ctx_sched_in() local
2790 ctx->is_active |= event_type; in ctx_sched_in()
2801 if (!(is_active & EVENT_PINNED) && (event_type & EVENT_PINNED)) in ctx_sched_in()
2805 if (!(is_active & EVENT_FLEXIBLE) && (event_type & EVENT_FLEXIBLE)) in ctx_sched_in()
3246 if (ctx->is_active) { in __perf_event_read()
3370 if (ctx->is_active) { in perf_event_read()
4208 if (ctx->is_active) { in perf_event_period()