Lines Matching refs:is_system
1011 int i, is_system; in pfm_restore_monitoring() local
1013 is_system = ctx->ctx_fl_system; in pfm_restore_monitoring()
1036 if (is_system && (PFM_CPUINFO_GET() & PFM_CPUINFO_DCR_PP)) { in pfm_restore_monitoring()
1093 if (is_system && (PFM_CPUINFO_GET() & PFM_CPUINFO_DCR_PP)) { in pfm_restore_monitoring()
1838 int state, is_system; in pfm_flush() local
1867 is_system = ctx->ctx_fl_system; in pfm_flush()
1892 if (is_system && ctx->ctx_cpu != smp_processor_id()) { in pfm_flush()
1979 int state, is_system; in pfm_close() local
1997 is_system = ctx->ctx_fl_system; in pfm_close()
2867 int i, can_access_pmu = 0, is_loaded, is_system, expert_mode; in pfm_write_pmcs() local
2875 is_system = ctx->ctx_fl_system; in pfm_write_pmcs()
2887 if (is_system && ctx->ctx_cpu != smp_processor_id()) { in pfm_write_pmcs()
2891 can_access_pmu = GET_PMU_OWNER() == task || is_system ? 1 : 0; in pfm_write_pmcs()
2930 if (is_monitor && value != PMC_DFL_VAL(cnum) && is_system ^ pmc_pm) { in pfm_write_pmcs()
2934 is_system)); in pfm_write_pmcs()
3050 if (is_system == 0) ctx->th_pmcs[cnum] = value; in pfm_write_pmcs()
3107 int is_counting, is_loaded, is_system, expert_mode; in pfm_write_pmds() local
3114 is_system = ctx->ctx_fl_system; in pfm_write_pmds()
3130 if (unlikely(is_system && ctx->ctx_cpu != smp_processor_id())) { in pfm_write_pmds()
3134 can_access_pmu = GET_PMU_OWNER() == task || is_system ? 1 : 0; in pfm_write_pmds()
3232 if (is_system == 0) ctx->th_pmds[cnum] = hw_value; in pfm_write_pmds()
3303 int is_loaded, is_system, is_counting, expert_mode; in pfm_read_pmds() local
3314 is_system = ctx->ctx_fl_system; in pfm_read_pmds()
3326 if (unlikely(is_system && ctx->ctx_cpu != smp_processor_id())) { in pfm_read_pmds()
3333 can_access_pmu = GET_PMU_OWNER() == task || is_system ? 1 : 0; in pfm_read_pmds()
3554 int state, is_system; in pfm_restart() local
3559 is_system = ctx->ctx_fl_system; in pfm_restart()
3582 if (is_system && ctx->ctx_cpu != smp_processor_id()) { in pfm_restart()
3593 if (task == current || is_system) { in pfm_restart()
3732 int is_system, is_loaded; in pfm_write_ibr_dbr() local
3738 is_system = ctx->ctx_fl_system; in pfm_write_ibr_dbr()
3754 if (unlikely(is_system && ctx->ctx_cpu != smp_processor_id())) { in pfm_write_ibr_dbr()
3758 can_access_pmu = GET_PMU_OWNER() == task || is_system ? 1 : 0; in pfm_write_ibr_dbr()
3788 if (first_time && is_system) { in pfm_write_ibr_dbr()
3984 int state, is_system; in pfm_stop() local
3987 is_system = ctx->ctx_fl_system; in pfm_stop()
3999 if (is_system && ctx->ctx_cpu != smp_processor_id()) { in pfm_stop()
4006 is_system)); in pfm_stop()
4012 if (is_system) { in pfm_stop()
4072 int state, is_system; in pfm_start() local
4075 is_system = ctx->ctx_fl_system; in pfm_start()
4084 if (is_system && ctx->ctx_cpu != smp_processor_id()) { in pfm_start()
4094 if (is_system) { in pfm_start()
4212 int state, is_system, set_dbregs = 0; in pfm_context_load() local
4215 is_system = ctx->ctx_fl_system; in pfm_context_load()
4244 if (is_system && task != current) { in pfm_context_load()
4265 if (is_system) { in pfm_context_load()
4303 ret = pfm_reserve_session(current, is_system, the_cpu); in pfm_context_load()
4334 if (is_system) { in pfm_context_load()
4360 if (is_system == 0) { in pfm_context_load()
4431 if (is_system == 0 && task != current) { in pfm_context_load()
4460 int prev_state, is_system; in pfm_context_unload() local
4466 is_system = ctx->ctx_fl_system; in pfm_context_unload()
4489 if (is_system) { in pfm_context_unload()