Lines Matching refs:p_msg
77 cl_disp_msg_t *p_msg;
85 p_msg =
90 cl_get_time_stamp() - p_msg->in_time;
98 p_msg->p_dest_reg->pfn_rcv_callback((void *)p_msg->p_dest_reg->
100 (void *)p_msg->p_data);
102 cl_atomic_dec(&p_msg->p_dest_reg->ref_cnt);
105 if (p_msg->pfn_xmt_callback) {
106 p_msg->pfn_xmt_callback((void *)p_msg->context,
107 (void *)p_msg->p_data);
108 cl_atomic_dec(&p_msg->p_src_reg->ref_cnt);
115 cl_qpool_put(&p_disp->msg_pool, (cl_pool_item_t *) p_msg);
297 cl_disp_msg_t *p_msg;
317 p_msg = (cl_disp_msg_t *) cl_qpool_get(&p_disp->msg_pool);
318 if (!p_msg) {
324 p_msg->p_src_reg = p_src_reg;
325 p_msg->p_dest_reg = p_dest_reg;
326 p_msg->p_data = p_data;
327 p_msg->pfn_xmt_callback = pfn_callback;
328 p_msg->context = context;
329 p_msg->in_time = cl_get_time_stamp();
342 cl_qlist_insert_tail(&p_disp->msg_fifo, (cl_list_item_t *) p_msg);