Lines Matching refs:ctx_fl_system

297 #define ctx_fl_system		ctx_flags.system  macro
1350 ctx->ctx_fl_system = (ctx_flags & PFM_FL_SYSTEM_WIDE) ? 1: 0; in pfm_context_create()
1390 ctx->ctx_fl_block, ctx->ctx_fl_system, in pfm_context_create()
1403 if (ctx->ctx_fl_system) { in pfm_context_create()
1496 #define PFM_CHECK_PMC_PM(x, y, z) ((x)->ctx_fl_system ^ PMC_PM(y, z)) in pfm_write_pmcs()
1537 ctx->ctx_fl_system)); in pfm_write_pmcs()
2057 ctx->ctx_fl_system, PMU_OWNER(), in pfm_stop()
2061 if (ctx->ctx_fl_system) { in pfm_stop()
2103 if (ctx->ctx_fl_system) { in pfm_disable()
2142 if (ctx->ctx_fl_system) { in pfm_context_destroy()
2251 if (ctx->ctx_fl_system && first_time) { in pfm_write_ibr_dbr()
2261 if (ctx->ctx_fl_system) { in pfm_write_ibr_dbr()
2386 if (ctx->ctx_fl_system) { in pfm_write_ibr_dbr()
2460 ctx->ctx_fl_system, PMU_OWNER(), in pfm_start()
2468 if (ctx->ctx_fl_system) { in pfm_start()
2512 if (ctx->ctx_fl_system == 0 && PMU_OWNER() && PMU_OWNER() != current) in pfm_enable()
2520 if (ctx->ctx_fl_system) { in pfm_enable()
2872 h->pid = ctx->ctx_fl_system ? current->pid : task->pid; in pfm_record_sample()
2957 if ((t->flags & IA64_THREAD_PM_VALID) == 0 && ctx->ctx_fl_system == 0) { in pfm_overflow_handler()
3157 if (task == current || ctx->ctx_fl_system) { in pfm_interrupt_handler()
3860 if (ctx->ctx_fl_system) { in pfm_flush_regs()
4026 if (ctx->ctx_fl_system) { in pfm_inherit()
4286 pfm_unreserve_session(task, ctx->ctx_fl_system, 1UL << ctx->ctx_cpu); in pfm_context_exit()
4288 if (ctx->ctx_fl_system) { in pfm_context_exit()