Lines Matching refs:ctx_msgq_head
76 #define PFM_CTXQ_EMPTY(g) ((g)->ctx_msgq_head == (g)->ctx_msgq_tail)
334 int ctx_msgq_head; member
777 DPRINT(("ctx_fd=%p head=%d tail=%d\n", ctx, ctx->ctx_msgq_head, ctx->ctx_msgq_tail)); in pfm_get_new_msg()
778 if (next == ctx->ctx_msgq_head) return NULL; in pfm_get_new_msg()
783 DPRINT(("ctx=%p head=%d tail=%d msg=%d\n", ctx, ctx->ctx_msgq_head, ctx->ctx_msgq_tail, idx)); in pfm_get_new_msg()
793 DPRINT(("ctx=%p head=%d tail=%d\n", ctx, ctx->ctx_msgq_head, ctx->ctx_msgq_tail)); in pfm_get_next_msg()
800 msg = ctx->ctx_msgq+ctx->ctx_msgq_head; in pfm_get_next_msg()
805 ctx->ctx_msgq_head = (ctx->ctx_msgq_head+1) % PFM_MAX_MSGS; in pfm_get_next_msg()
807 …DPRINT(("ctx=%p head=%d tail=%d type=%d\n", ctx, ctx->ctx_msgq_head, ctx->ctx_msgq_tail, msg->pfm_… in pfm_get_next_msg()
815 ctx->ctx_msgq_head = ctx->ctx_msgq_tail = 0; in pfm_reset_msgq()
905 ctx->ctx_msgq_head = ctx->ctx_msgq_tail = 0; in pfm_context_alloc()
1588 DPRINT(("head=%d tail=%d\n", ctx->ctx_msgq_head, ctx->ctx_msgq_tail)); in pfm_read()
6724 ctx->ctx_msgq_head, in dump_pmu_state()