Lines Matching refs:rmsg
530 struct reg_q_msg *rmsg; in enqueue_reg() local
532 if (!(rmsg = malloc(sizeof (*rmsg)))) { in enqueue_reg()
537 rmsg->msg = msg; in enqueue_reg()
538 rmsg->hp = hp; in enqueue_reg()
539 rmsg->cb = cb; in enqueue_reg()
540 rmsg->cookie = cookie; in enqueue_reg()
542 return (slp_enqueue(reg_q, rmsg)); in enqueue_reg()
597 struct reg_q_msg *rmsg; in reg_thread() local
602 rmsg = slp_dequeue_timed(reg_q, &timeout, &etimed); in reg_thread()
603 if (!rmsg && etimed == SLP_TRUE) { in reg_thread()
615 if (!rmsg) in reg_thread()
619 (void) reg_impl(rmsg->hp, rmsg->msg, rmsg->cookie, rmsg->cb); in reg_thread()
620 free(rmsg); in reg_thread()