Lines Matching refs:reply
204 static unsigned long vmw_port_hb_in(struct rpc_channel *channel, char *reply, in vmw_port_hb_in() argument
214 di = (uintptr_t) reply; in vmw_port_hb_in()
243 memcpy(reply, &ebx, bytes); in vmw_port_hb_in()
245 reply += bytes; in vmw_port_hb_in()
316 char *reply; in vmw_recv_msg() local
347 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg()
348 if (!reply) { in vmw_recv_msg()
355 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg()
358 kfree(reply); in vmw_recv_msg()
359 reply = NULL; in vmw_recv_msg()
368 reply[reply_len] = '\0'; in vmw_recv_msg()
382 kfree(reply); in vmw_recv_msg()
383 reply = NULL; in vmw_recv_msg()
395 if (!reply) in vmw_recv_msg()
399 *msg = reply; in vmw_recv_msg()
422 char *msg, *reply = NULL; in vmw_host_get_guestinfo() local
442 vmw_recv_msg(&channel, (void *) &reply, &reply_len)) in vmw_host_get_guestinfo()
446 if (buffer && reply && reply_len > 0) { in vmw_host_get_guestinfo()
454 memcpy(buffer, reply + 2, reply_len); in vmw_host_get_guestinfo()
459 kfree(reply); in vmw_host_get_guestinfo()
466 kfree(reply); in vmw_host_get_guestinfo()
571 char *reply = NULL; in vmw_msg_ioctl() local
574 if (vmw_recv_msg(&channel, (void *) &reply, &reply_len)) { in vmw_msg_ioctl()
578 if (reply && reply_len > 0) { in vmw_msg_ioctl()
580 reply, reply_len)) { in vmw_msg_ioctl()
582 kfree(reply); in vmw_msg_ioctl()
587 kfree(reply); in vmw_msg_ioctl()