Lines Matching refs:reply
205 static unsigned long vmw_port_hb_in(struct rpc_channel *channel, char *reply, in vmw_port_hb_in() argument
217 (uintptr_t) reply, channel->cookie_low, in vmw_port_hb_in()
239 memcpy(reply, &ebx, bytes); in vmw_port_hb_in()
241 reply += bytes; in vmw_port_hb_in()
308 char *reply; in vmw_recv_msg() local
335 reply = kzalloc(reply_len + 1, GFP_KERNEL); in vmw_recv_msg()
336 if (!reply) { in vmw_recv_msg()
343 ebx = vmw_port_hb_in(channel, reply, reply_len, in vmw_recv_msg()
346 kfree(reply); in vmw_recv_msg()
347 reply = NULL; in vmw_recv_msg()
356 reply[reply_len] = '\0'; in vmw_recv_msg()
366 kfree(reply); in vmw_recv_msg()
367 reply = NULL; in vmw_recv_msg()
379 if (!reply) in vmw_recv_msg()
383 *msg = reply; in vmw_recv_msg()
406 char *msg, *reply = NULL; in vmw_host_get_guestinfo() local
426 vmw_recv_msg(&channel, (void *) &reply, &reply_len)) in vmw_host_get_guestinfo()
430 if (buffer && reply && reply_len > 0) { in vmw_host_get_guestinfo()
438 memcpy(buffer, reply + 2, reply_len); in vmw_host_get_guestinfo()
443 kfree(reply); in vmw_host_get_guestinfo()
450 kfree(reply); in vmw_host_get_guestinfo()
567 char *reply = NULL; in vmw_msg_ioctl() local
570 if (vmw_recv_msg(&channel, (void *) &reply, &reply_len)) { in vmw_msg_ioctl()
574 if (reply && reply_len > 0) { in vmw_msg_ioctl()
576 reply, reply_len)) { in vmw_msg_ioctl()
578 kfree(reply); in vmw_msg_ioctl()
583 kfree(reply); in vmw_msg_ioctl()