Home
last modified time | relevance | path

Searched refs:ctx_msgq_head (Results 1 – 1 of 1) sorted by relevance

/arch/ia64/kernel/
Dperfmon.c74 #define PFM_CTXQ_EMPTY(g) ((g)->ctx_msgq_head == (g)->ctx_msgq_tail)
332 int ctx_msgq_head; member
775 DPRINT(("ctx_fd=%p head=%d tail=%d\n", ctx, ctx->ctx_msgq_head, ctx->ctx_msgq_tail)); in pfm_get_new_msg()
776 if (next == ctx->ctx_msgq_head) return NULL; in pfm_get_new_msg()
781 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()
791 DPRINT(("ctx=%p head=%d tail=%d\n", ctx, ctx->ctx_msgq_head, ctx->ctx_msgq_tail)); in pfm_get_next_msg()
798 msg = ctx->ctx_msgq+ctx->ctx_msgq_head; in pfm_get_next_msg()
803 ctx->ctx_msgq_head = (ctx->ctx_msgq_head+1) % PFM_MAX_MSGS; in pfm_get_next_msg()
805 …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()
813 ctx->ctx_msgq_head = ctx->ctx_msgq_tail = 0; in pfm_reset_msgq()
[all …]