Lines Matching refs:ctx_flags

286 	pfm_context_flags_t	ctx_flags;		/* bitmask of flags  (block reason incl.) */  member
355 #define ctx_fl_block ctx_flags.block
356 #define ctx_fl_system ctx_flags.system
357 #define ctx_fl_using_dbreg ctx_flags.using_dbreg
358 #define ctx_fl_is_sampling ctx_flags.is_sampling
359 #define ctx_fl_excl_idle ctx_flags.excl_idle
360 #define ctx_fl_going_zombie ctx_flags.going_zombie
361 #define ctx_fl_trap_reason ctx_flags.trap_reason
362 #define ctx_fl_no_msg ctx_flags.no_msg
363 #define ctx_fl_can_restart ctx_flags.can_restart
860 pfm_context_alloc(int ctx_flags) in pfm_context_alloc() argument
885 ctx->ctx_fl_block = (ctx_flags & PFM_FL_NOTIFY_BLOCK) ? 1 : 0; in pfm_context_alloc()
886 ctx->ctx_fl_system = (ctx_flags & PFM_FL_SYSTEM_WIDE) ? 1: 0; in pfm_context_alloc()
887 ctx->ctx_fl_no_msg = (ctx_flags & PFM_FL_OVFL_NO_MSG) ? 1: 0; in pfm_context_alloc()
2421 int ctx_flags; in pfarg_is_sane() local
2425 ctx_flags = pfx->ctx_flags; in pfarg_is_sane()
2427 if (ctx_flags & PFM_FL_SYSTEM_WIDE) { in pfarg_is_sane()
2432 if (ctx_flags & PFM_FL_NOTIFY_BLOCK) { in pfarg_is_sane()
2444 …buffer_fmt(struct task_struct *task, struct file *filp, pfm_context_t *ctx, unsigned int ctx_flags, in pfm_setup_buffer_fmt() argument
2466 ret = pfm_buf_fmt_validate(fmt, task, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2468 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()
2479 ret = pfm_buf_fmt_getsize(fmt, task, ctx_flags, cpu, fmt_arg, &size); in pfm_setup_buffer_fmt()
2492 ret = pfm_buf_fmt_init(fmt, task, ctx->ctx_smpl_hdr, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
2670 int ctx_flags; in pfm_context_create() local
2679 ctx_flags = req->ctx_flags; in pfm_context_create()
2687 ctx = pfm_context_alloc(ctx_flags); in pfm_context_create()
2703 ret = pfm_setup_buffer_fmt(current, filp, ctx, ctx_flags, 0, req); in pfm_context_create()
2710 ctx_flags, in pfm_context_create()