Lines Matching refs:ctx_flags
291 pfm_context_flags_t ctx_flags; /* bitmask of flags (block reason incl.) */ member
360 #define ctx_fl_block ctx_flags.block
361 #define ctx_fl_system ctx_flags.system
362 #define ctx_fl_using_dbreg ctx_flags.using_dbreg
363 #define ctx_fl_is_sampling ctx_flags.is_sampling
364 #define ctx_fl_excl_idle ctx_flags.excl_idle
365 #define ctx_fl_going_zombie ctx_flags.going_zombie
366 #define ctx_fl_trap_reason ctx_flags.trap_reason
367 #define ctx_fl_no_msg ctx_flags.no_msg
368 #define ctx_fl_can_restart ctx_flags.can_restart
813 pfm_context_alloc(int ctx_flags) in pfm_context_alloc() argument
838 ctx->ctx_fl_block = (ctx_flags & PFM_FL_NOTIFY_BLOCK) ? 1 : 0; in pfm_context_alloc()
839 ctx->ctx_fl_system = (ctx_flags & PFM_FL_SYSTEM_WIDE) ? 1: 0; in pfm_context_alloc()
840 ctx->ctx_fl_no_msg = (ctx_flags & PFM_FL_OVFL_NO_MSG) ? 1: 0; in pfm_context_alloc()
2345 int ctx_flags; in pfarg_is_sane() local
2349 ctx_flags = pfx->ctx_flags; in pfarg_is_sane()
2351 if (ctx_flags & PFM_FL_SYSTEM_WIDE) { in pfarg_is_sane()
2356 if (ctx_flags & PFM_FL_NOTIFY_BLOCK) { in pfarg_is_sane()
2368 …buffer_fmt(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned int ctx_flags, in pfm_setup_buffer_fmt() argument
2390 ret = pfm_buf_fmt_validate(fmt, task, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2392 DPRINT(("[%d] after validate(0x%x,%d,%p)=%d\n", task_pid_nr(task), ctx_flags, cpu, fmt_arg, ret)); in pfm_setup_buffer_fmt()
2403 ret = pfm_buf_fmt_getsize(fmt, task, ctx_flags, cpu, fmt_arg, &size); in pfm_setup_buffer_fmt()
2416 ret = pfm_buf_fmt_init(fmt, task, ctx->ctx_smpl_hdr, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2587 int ctx_flags; in pfm_context_create() local
2596 ctx_flags = req->ctx_flags; in pfm_context_create()
2604 ctx = pfm_context_alloc(ctx_flags); in pfm_context_create()
2620 ret = pfm_setup_buffer_fmt(current, filp, ctx, ctx_flags, 0, req); in pfm_context_create()
2627 ctx_flags, in pfm_context_create()