Lines Matching refs:ctx_flags
287 pfm_context_flags_t ctx_flags; /* bitmask of flags (block reason incl.) */ member
356 #define ctx_fl_block ctx_flags.block
357 #define ctx_fl_system ctx_flags.system
358 #define ctx_fl_using_dbreg ctx_flags.using_dbreg
359 #define ctx_fl_is_sampling ctx_flags.is_sampling
360 #define ctx_fl_excl_idle ctx_flags.excl_idle
361 #define ctx_fl_going_zombie ctx_flags.going_zombie
362 #define ctx_fl_trap_reason ctx_flags.trap_reason
363 #define ctx_fl_no_msg ctx_flags.no_msg
364 #define ctx_fl_can_restart ctx_flags.can_restart
867 pfm_context_alloc(int ctx_flags) in pfm_context_alloc() argument
892 ctx->ctx_fl_block = (ctx_flags & PFM_FL_NOTIFY_BLOCK) ? 1 : 0; in pfm_context_alloc()
893 ctx->ctx_fl_system = (ctx_flags & PFM_FL_SYSTEM_WIDE) ? 1: 0; in pfm_context_alloc()
894 ctx->ctx_fl_no_msg = (ctx_flags & PFM_FL_OVFL_NO_MSG) ? 1: 0; in pfm_context_alloc()
2432 int ctx_flags; in pfarg_is_sane() local
2436 ctx_flags = pfx->ctx_flags; in pfarg_is_sane()
2438 if (ctx_flags & PFM_FL_SYSTEM_WIDE) { in pfarg_is_sane()
2443 if (ctx_flags & PFM_FL_NOTIFY_BLOCK) { in pfarg_is_sane()
2455 …buffer_fmt(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned int ctx_flags, in pfm_setup_buffer_fmt() argument
2477 ret = pfm_buf_fmt_validate(fmt, task, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2479 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()
2490 ret = pfm_buf_fmt_getsize(fmt, task, ctx_flags, cpu, fmt_arg, &size); in pfm_setup_buffer_fmt()
2503 ret = pfm_buf_fmt_init(fmt, task, ctx->ctx_smpl_hdr, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2681 int ctx_flags; in pfm_context_create() local
2690 ctx_flags = req->ctx_flags; in pfm_context_create()
2698 ctx = pfm_context_alloc(ctx_flags); in pfm_context_create()
2714 ret = pfm_setup_buffer_fmt(current, filp, ctx, ctx_flags, 0, req); in pfm_context_create()
2721 ctx_flags, in pfm_context_create()