Lines Matching refs:EFAULT

269 			return -EFAULT;  in vmci_host_get_version()
307 return -EFAULT; in vmci_host_do_init_context()
345 retval = -EFAULT; in vmci_host_do_init_context()
375 return -EFAULT; in vmci_host_do_send_datagram()
413 return copy_to_user(uptr, &send_info, sizeof(send_info)) ? -EFAULT : 0; in vmci_host_do_send_datagram()
431 return -EFAULT; in vmci_host_do_receive_datagram()
442 return -EFAULT; in vmci_host_do_receive_datagram()
445 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
466 return -EFAULT; in vmci_host_do_alloc_queuepair()
488 return -EFAULT; in vmci_host_do_alloc_queuepair()
511 return -EFAULT; in vmci_host_do_alloc_queuepair()
536 return -EFAULT; in vmci_host_do_queuepair_setva()
555 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_queuepair_setva()
579 return -EFAULT; in vmci_host_do_queuepair_setpf()
603 return -EFAULT; in vmci_host_do_queuepair_setpf()
629 return -EFAULT; in vmci_host_do_queuepair_setpf()
650 return -EFAULT; in vmci_host_do_qp_detach()
659 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_qp_detach()
677 return -EFAULT; in vmci_host_do_ctx_add_notify()
682 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_add_notify()
700 return -EFAULT; in vmci_host_do_ctx_remove_notify()
706 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_remove_notify()
724 return -EFAULT; in vmci_host_do_ctx_get_cpt_state()
735 return -EFAULT; in vmci_host_do_ctx_get_cpt_state()
738 return copy_to_user(uptr, &get_info, sizeof(get_info)) ? -EFAULT : 0; in vmci_host_do_ctx_get_cpt_state()
756 return -EFAULT; in vmci_host_do_ctx_set_cpt_state()
767 retval = copy_to_user(uptr, &set_info, sizeof(set_info)) ? -EFAULT : 0; in vmci_host_do_ctx_set_cpt_state()
779 return put_user(VMCI_HOST_CONTEXT_ID, u32ptr) ? -EFAULT : 0; in vmci_host_do_get_context_id()
794 return -EFAULT; in vmci_host_do_set_notify()
806 -EFAULT : 0; in vmci_host_do_set_notify()
827 return -EFAULT; in vmci_host_do_notify_resource()
856 return copy_to_user(uptr, &info, sizeof(info)) ? -EFAULT : 0; in vmci_host_do_notify_resource()
881 return -EFAULT; in vmci_host_do_recv_notifications()
893 return copy_to_user(uptr, &info, sizeof(info)) ? -EFAULT : 0; in vmci_host_do_recv_notifications()
906 retval = -EFAULT; in vmci_host_do_recv_notifications()