Lines Matching refs:ctx_smpl_hdr
326 void *ctx_smpl_hdr; /* points to sampling buffer header kernel vaddr */ member
1482 if (ctx->ctx_smpl_hdr == NULL) goto invalid_free;
1490 ctx->ctx_smpl_hdr,
1499 pfm_rvfree(ctx->ctx_smpl_hdr, ctx->ctx_smpl_size);
1501 ctx->ctx_smpl_hdr = NULL;
2096 if (ctx->ctx_smpl_hdr) { in pfm_close()
2097 smpl_buf_addr = ctx->ctx_smpl_hdr; in pfm_close()
2100 ctx->ctx_smpl_hdr = NULL; in pfm_close()
2299 ctx->ctx_smpl_hdr = smpl_buf; in pfm_smpl_buffer_alloc()
2320 DPRINT(("aligned size=%ld, hdr=%p mapped @0x%lx\n", size, ctx->ctx_smpl_hdr, vma->vm_start)); in pfm_smpl_buffer_alloc()
2464 ret = pfm_buf_fmt_init(fmt, task, ctx->ctx_smpl_hdr, ctx_flags, cpu, fmt_arg); in pfm_setup_buffer_fmt()
3564 prefetch(ctx->ctx_smpl_hdr); in pfm_restart()
3570 ret = pfm_buf_fmt_restart_active(fmt, task, &rst_ctrl, ctx->ctx_smpl_hdr, regs); in pfm_restart()
3572 ret = pfm_buf_fmt_restart(fmt, task, &rst_ctrl, ctx->ctx_smpl_hdr, regs); in pfm_restart()
4930 ret = pfm_buf_fmt_restart_active(fmt, current, &rst_ctrl, ctx->ctx_smpl_hdr, regs); in pfm_resume_after_ovfl()
4932 ret = pfm_buf_fmt_restart(fmt, current, &rst_ctrl, ctx->ctx_smpl_hdr, regs); in pfm_resume_after_ovfl()
5268 prefetch(ctx->ctx_smpl_hdr); in pfm_overflow_handler()
5305 ret = (*ctx->ctx_buf_fmt->fmt_handler)(task, ctx->ctx_smpl_hdr, ovfl_arg, regs, tstamp); in pfm_overflow_handler()
5832 BUG_ON(ctx->ctx_smpl_hdr); in pfm_save_regs()
6024 BUG_ON(ctx->ctx_smpl_hdr); in pfm_load_regs()
6745 ctx->ctx_smpl_hdr, in dump_pmu_state()