Lines Matching refs:send_info
357 struct vmci_datagram_snd_rcv_info send_info; in vmci_host_do_send_datagram() local
366 if (copy_from_user(&send_info, uptr, sizeof(send_info))) in vmci_host_do_send_datagram()
369 if (send_info.len > VMCI_MAX_DG_SIZE) { in vmci_host_do_send_datagram()
371 send_info.len); in vmci_host_do_send_datagram()
375 if (send_info.len < sizeof(*dg)) { in vmci_host_do_send_datagram()
377 send_info.len); in vmci_host_do_send_datagram()
381 dg = memdup_user((void __user *)(uintptr_t)send_info.addr, in vmci_host_do_send_datagram()
382 send_info.len); in vmci_host_do_send_datagram()
389 if (VMCI_DG_SIZE(dg) != send_info.len) { in vmci_host_do_send_datagram()
402 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram()
405 return copy_to_user(uptr, &send_info, sizeof(send_info)) ? -EFAULT : 0; in vmci_host_do_send_datagram()