Lines Matching refs:EFAULT

267 			return -EFAULT;  in vmci_host_get_version()
305 return -EFAULT; in vmci_host_do_init_context()
343 retval = -EFAULT; in vmci_host_do_init_context()
371 return -EFAULT; in vmci_host_do_send_datagram()
409 return copy_to_user(uptr, &send_info, sizeof(send_info)) ? -EFAULT : 0; in vmci_host_do_send_datagram()
427 return -EFAULT; in vmci_host_do_receive_datagram()
438 return -EFAULT; in vmci_host_do_receive_datagram()
441 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
465 return -EFAULT; in vmci_host_do_alloc_queuepair()
487 return -EFAULT; in vmci_host_do_alloc_queuepair()
510 return -EFAULT; in vmci_host_do_alloc_queuepair()
535 return -EFAULT; in vmci_host_do_queuepair_setva()
554 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_queuepair_setva()
578 return -EFAULT; in vmci_host_do_queuepair_setpf()
602 return -EFAULT; in vmci_host_do_queuepair_setpf()
628 return -EFAULT; in vmci_host_do_queuepair_setpf()
649 return -EFAULT; in vmci_host_do_qp_detach()
658 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_qp_detach()
676 return -EFAULT; in vmci_host_do_ctx_add_notify()
681 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_add_notify()
699 return -EFAULT; in vmci_host_do_ctx_remove_notify()
705 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_remove_notify()
723 return -EFAULT; in vmci_host_do_ctx_get_cpt_state()
734 return -EFAULT; in vmci_host_do_ctx_get_cpt_state()
737 return copy_to_user(uptr, &get_info, sizeof(get_info)) ? -EFAULT : 0; in vmci_host_do_ctx_get_cpt_state()
755 return -EFAULT; in vmci_host_do_ctx_set_cpt_state()
767 retval = -EFAULT; in vmci_host_do_ctx_set_cpt_state()
775 retval = copy_to_user(uptr, &set_info, sizeof(set_info)) ? -EFAULT : 0; in vmci_host_do_ctx_set_cpt_state()
788 return put_user(VMCI_HOST_CONTEXT_ID, u32ptr) ? -EFAULT : 0; in vmci_host_do_get_context_id()
803 return -EFAULT; in vmci_host_do_set_notify()
815 -EFAULT : 0; in vmci_host_do_set_notify()
836 return -EFAULT; in vmci_host_do_notify_resource()
865 return copy_to_user(uptr, &info, sizeof(info)) ? -EFAULT : 0; in vmci_host_do_notify_resource()
890 return -EFAULT; in vmci_host_do_recv_notifications()
902 return copy_to_user(uptr, &info, sizeof(info)) ? -EFAULT : 0; in vmci_host_do_recv_notifications()
915 retval = -EFAULT; in vmci_host_do_recv_notifications()