Lines Matching refs:ctx_flags
289 pfm_context_flags_t ctx_flags; /* bitmask of flags (block reason incl.) */ member
358 #define ctx_fl_block ctx_flags.block
359 #define ctx_fl_system ctx_flags.system
360 #define ctx_fl_using_dbreg ctx_flags.using_dbreg
361 #define ctx_fl_is_sampling ctx_flags.is_sampling
362 #define ctx_fl_excl_idle ctx_flags.excl_idle
363 #define ctx_fl_going_zombie ctx_flags.going_zombie
364 #define ctx_fl_trap_reason ctx_flags.trap_reason
365 #define ctx_fl_no_msg ctx_flags.no_msg
366 #define ctx_fl_can_restart ctx_flags.can_restart
858 pfm_context_alloc(int ctx_flags) in pfm_context_alloc() argument
883 ctx->ctx_fl_block = (ctx_flags & PFM_FL_NOTIFY_BLOCK) ? 1 : 0; in pfm_context_alloc()
884 ctx->ctx_fl_system = (ctx_flags & PFM_FL_SYSTEM_WIDE) ? 1: 0; in pfm_context_alloc()
885 ctx->ctx_fl_no_msg = (ctx_flags & PFM_FL_OVFL_NO_MSG) ? 1: 0; in pfm_context_alloc()
2392 int ctx_flags; in pfarg_is_sane() local
2396 ctx_flags = pfx->ctx_flags; in pfarg_is_sane()
2398 if (ctx_flags & PFM_FL_SYSTEM_WIDE) { in pfarg_is_sane()
2403 if (ctx_flags & PFM_FL_NOTIFY_BLOCK) { in pfarg_is_sane()
2415 …buffer_fmt(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned int ctx_flags, in pfm_setup_buffer_fmt() argument
2437 ret = pfm_buf_fmt_validate(fmt, task, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2439 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()
2450 ret = pfm_buf_fmt_getsize(fmt, task, ctx_flags, cpu, fmt_arg, &size); in pfm_setup_buffer_fmt()
2463 ret = pfm_buf_fmt_init(fmt, task, ctx->ctx_smpl_hdr, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2634 int ctx_flags; in pfm_context_create() local
2643 ctx_flags = req->ctx_flags; in pfm_context_create()
2651 ctx = pfm_context_alloc(ctx_flags); in pfm_context_create()
2667 ret = pfm_setup_buffer_fmt(current, filp, ctx, ctx_flags, 0, req); in pfm_context_create()
2674 ctx_flags, in pfm_context_create()