Lines Matching refs:result

70 	s32 result;  member
77 s32 result; member
402 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram()
426 recv_info.result = vmci_ctx_dequeue_datagram(vmci_host_dev->context, in vmci_host_do_receive_datagram()
429 if (recv_info.result >= VMCI_SUCCESS) { in vmci_host_do_receive_datagram()
461 retptr = &info->result; in vmci_host_do_alloc_queuepair()
483 retptr = &info->result; in vmci_host_do_alloc_queuepair()
515 s32 result; in vmci_host_do_queuepair_setva() local
535 result = vmci_qp_broker_map(set_va_info.handle, in vmci_host_do_queuepair_setva()
543 result = vmci_qp_broker_unmap(set_va_info.handle, in vmci_host_do_queuepair_setva()
547 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_queuepair_setva()
556 s32 result; in vmci_host_do_queuepair_setpf() local
589 if (put_user(VMCI_SUCCESS, &info->result)) { in vmci_host_do_queuepair_setpf()
598 result = vmci_qp_broker_set_page_store(page_file_info.handle, in vmci_host_do_queuepair_setpf()
602 if (result < VMCI_SUCCESS) { in vmci_host_do_queuepair_setpf()
603 if (put_user(result, &info->result)) { in vmci_host_do_queuepair_setpf()
634 s32 result; in vmci_host_do_qp_detach() local
644 result = vmci_qp_broker_detach(detach_info.handle, in vmci_host_do_qp_detach()
646 if (result == VMCI_SUCCESS && in vmci_host_do_qp_detach()
648 result = VMCI_SUCCESS_LAST_DETACH; in vmci_host_do_qp_detach()
651 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_qp_detach()
660 s32 result; in vmci_host_do_ctx_add_notify() local
672 result = vmci_ctx_add_notification(cid, ar_info.remote_cid); in vmci_host_do_ctx_add_notify()
674 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_add_notify()
684 int result; in vmci_host_do_ctx_remove_notify() local
695 result = vmci_ctx_remove_notification(cid, in vmci_host_do_ctx_remove_notify()
698 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_remove_notify()
719 get_info.result = vmci_ctx_get_chkpt_state(cid, get_info.cpt_type, in vmci_host_do_ctx_get_cpt_state()
721 if (get_info.result == VMCI_SUCCESS && get_info.buf_size) { in vmci_host_do_ctx_get_cpt_state()
756 set_info.result = vmci_ctx_set_chkpt_state(cid, set_info.cpt_type, in vmci_host_do_ctx_set_cpt_state()
789 notify_info.result = in vmci_host_do_set_notify()
794 notify_info.result = VMCI_SUCCESS; in vmci_host_do_set_notify()
827 info.result = vmci_ctx_notify_dbell(cid, info.handle, in vmci_host_do_notify_resource()
830 info.result = VMCI_ERROR_UNAVAILABLE; in vmci_host_do_notify_resource()
835 info.result = vmci_ctx_dbell_create(cid, info.handle); in vmci_host_do_notify_resource()
839 info.result = vmci_ctx_dbell_destroy(cid, info.handle); in vmci_host_do_notify_resource()
845 info.result = VMCI_ERROR_INVALID_ARGS; in vmci_host_do_notify_resource()
882 info.result = vmci_ctx_rcv_notifications_get(cid, in vmci_host_do_recv_notifications()
884 if (info.result != VMCI_SUCCESS) in vmci_host_do_recv_notifications()
888 info.result = drv_cp_harray_to_user(ubuf, &info.db_handle_buf_size, in vmci_host_do_recv_notifications()
890 if (info.result == VMCI_SUCCESS && !retval) { in vmci_host_do_recv_notifications()
892 info.result = drv_cp_harray_to_user(ubuf, in vmci_host_do_recv_notifications()
902 info.result == VMCI_SUCCESS && !retval); in vmci_host_do_recv_notifications()