Lines Matching refs:ctx_psb
115 #define CTX_HAS_SMPL(c) ((c)->ctx_psb != NULL)
257 pfm_smpl_buffer_desc_t *ctx_psb; /* sampling buffer, if any */ member
740 if (ctx == NULL || task->mm == NULL || ctx->ctx_smpl_vaddr == 0 || ctx->ctx_psb == NULL) { in pfm_remove_smpl_mapping()
744 psb = ctx->ctx_psb; in pfm_remove_smpl_mapping()
981 ctx->ctx_psb = psb; in pfm_smpl_buffer_alloc()
1996 ctx->ctx_psb->psb_hdr->hdr_count = 0; in pfm_restart()
1997 ctx->ctx_psb->psb_index = 0; in pfm_restart()
2036 ctx->ctx_psb->psb_hdr->hdr_count = 0; in pfm_restart()
2037 ctx->ctx_psb->psb_index = 0; in pfm_restart()
2825 ctx->ctx_psb->psb_hdr->hdr_count = 0; in pfm_ovfl_block_reset()
2826 ctx->ctx_psb->psb_index = 0; in pfm_ovfl_block_reset()
2846 pfm_smpl_buffer_desc_t *psb = ctx->ctx_psb; in pfm_record_sample()
3038 ctx->ctx_psb->psb_hdr->hdr_count = 0UL; in pfm_overflow_handler()
3039 ctx->ctx_psb->psb_index = 0UL; in pfm_overflow_handler()
4119 if (nctx->ctx_psb) { in pfm_inherit()
4120 LOCK_PSB(nctx->ctx_psb); in pfm_inherit()
4122 nctx->ctx_psb->psb_refcnt++; in pfm_inherit()
4125 ctx->ctx_psb->psb_hdr, in pfm_inherit()
4126 ctx->ctx_psb->psb_refcnt, in pfm_inherit()
4127 ctx->ctx_psb->psb_flags)); in pfm_inherit()
4129 UNLOCK_PSB(nctx->ctx_psb); in pfm_inherit()
4193 if (ctx->ctx_psb) { in pfm_context_exit()
4194 pfm_smpl_buffer_desc_t *psb = ctx->ctx_psb; in pfm_context_exit()