Lines Matching refs:EFAULT
258 return -EFAULT; in vmci_host_get_version()
296 return -EFAULT; in vmci_host_do_init_context()
334 retval = -EFAULT; in vmci_host_do_init_context()
362 return -EFAULT; in vmci_host_do_send_datagram()
400 return copy_to_user(uptr, &send_info, sizeof(send_info)) ? -EFAULT : 0; in vmci_host_do_send_datagram()
418 return -EFAULT; in vmci_host_do_receive_datagram()
429 return -EFAULT; in vmci_host_do_receive_datagram()
432 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
453 return -EFAULT; in vmci_host_do_alloc_queuepair()
475 return -EFAULT; in vmci_host_do_alloc_queuepair()
498 return -EFAULT; in vmci_host_do_alloc_queuepair()
523 return -EFAULT; in vmci_host_do_queuepair_setva()
542 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_queuepair_setva()
566 return -EFAULT; in vmci_host_do_queuepair_setpf()
590 return -EFAULT; in vmci_host_do_queuepair_setpf()
616 return -EFAULT; in vmci_host_do_queuepair_setpf()
637 return -EFAULT; in vmci_host_do_qp_detach()
646 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_qp_detach()
664 return -EFAULT; in vmci_host_do_ctx_add_notify()
669 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_add_notify()
687 return -EFAULT; in vmci_host_do_ctx_remove_notify()
693 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_remove_notify()
711 return -EFAULT; in vmci_host_do_ctx_get_cpt_state()
722 return -EFAULT; in vmci_host_do_ctx_get_cpt_state()
725 return copy_to_user(uptr, &get_info, sizeof(get_info)) ? -EFAULT : 0; in vmci_host_do_ctx_get_cpt_state()
743 return -EFAULT; in vmci_host_do_ctx_set_cpt_state()
754 retval = copy_to_user(uptr, &set_info, sizeof(set_info)) ? -EFAULT : 0; in vmci_host_do_ctx_set_cpt_state()
766 return put_user(VMCI_HOST_CONTEXT_ID, u32ptr) ? -EFAULT : 0; in vmci_host_do_get_context_id()
781 return -EFAULT; in vmci_host_do_set_notify()
793 -EFAULT : 0; in vmci_host_do_set_notify()
814 return -EFAULT; in vmci_host_do_notify_resource()
843 return copy_to_user(uptr, &info, sizeof(info)) ? -EFAULT : 0; in vmci_host_do_notify_resource()
868 return -EFAULT; in vmci_host_do_recv_notifications()
880 return copy_to_user(uptr, &info, sizeof(info)) ? -EFAULT : 0; in vmci_host_do_recv_notifications()
893 retval = -EFAULT; in vmci_host_do_recv_notifications()