Lines Matching defs:gru_mq_desc
225 mq->gru_mq_desc = kzalloc(sizeof(struct gru_message_queue_desc),
227 if (mq->gru_mq_desc == NULL) {
270 ret = gru_create_message_queue(mq->gru_mq_desc, mq->address, mq_size,
298 kfree(mq->gru_mq_desc);
331 xpc_send_gru_msg(struct gru_message_queue_desc *gru_mq_desc, void *msg,
338 ret = gru_send_message_gpa(gru_mq_desc, msg, msg_size);
626 msg_hdr = gru_get_next_message(xpc_activate_mq_uv->gru_mq_desc);
646 gru_free_message(xpc_activate_mq_uv->gru_mq_desc, msg_hdr);
656 xpc_cache_remote_gru_mq_desc_uv(struct gru_message_queue_desc *gru_mq_desc,
661 ret = xp_remote_memcpy(uv_gpa(gru_mq_desc), gru_mq_desc_gpa,
664 gru_mq_desc->mq = NULL;
675 struct gru_message_queue_desc *gru_mq_desc;
689 gru_mq_desc = part_uv->cached_activate_gru_mq_desc;
690 if (gru_mq_desc == NULL) {
691 gru_mq_desc = kmalloc(sizeof(struct
694 if (gru_mq_desc == NULL) {
698 part_uv->cached_activate_gru_mq_desc = gru_mq_desc;
701 ret = xpc_cache_remote_gru_mq_desc_uv(gru_mq_desc,
816 uv_gpa(xpc_activate_mq_uv->gru_mq_desc);
1238 msg.notify_gru_mq_desc_gpa = uv_gpa(xpc_notify_mq_uv->gru_mq_desc);
1479 while ((msg = gru_get_next_message(xpc_notify_mq_uv->gru_mq_desc)) !=
1495 gru_free_message(xpc_notify_mq_uv->gru_mq_desc, msg);