Lines Matching refs:result

78 	s32 result;  member
85 s32 result; member
411 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram()
435 recv_info.result = vmci_ctx_dequeue_datagram(vmci_host_dev->context, in vmci_host_do_receive_datagram()
438 if (recv_info.result >= VMCI_SUCCESS) { in vmci_host_do_receive_datagram()
473 retptr = &info->result; in vmci_host_do_alloc_queuepair()
495 retptr = &info->result; in vmci_host_do_alloc_queuepair()
527 s32 result; in vmci_host_do_queuepair_setva() local
547 result = vmci_qp_broker_map(set_va_info.handle, in vmci_host_do_queuepair_setva()
555 result = vmci_qp_broker_unmap(set_va_info.handle, in vmci_host_do_queuepair_setva()
559 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_queuepair_setva()
568 s32 result; in vmci_host_do_queuepair_setpf() local
601 if (put_user(VMCI_SUCCESS, &info->result)) { in vmci_host_do_queuepair_setpf()
610 result = vmci_qp_broker_set_page_store(page_file_info.handle, in vmci_host_do_queuepair_setpf()
614 if (result < VMCI_SUCCESS) { in vmci_host_do_queuepair_setpf()
615 if (put_user(result, &info->result)) { in vmci_host_do_queuepair_setpf()
646 s32 result; in vmci_host_do_qp_detach() local
656 result = vmci_qp_broker_detach(detach_info.handle, in vmci_host_do_qp_detach()
658 if (result == VMCI_SUCCESS && in vmci_host_do_qp_detach()
660 result = VMCI_SUCCESS_LAST_DETACH; in vmci_host_do_qp_detach()
663 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_qp_detach()
672 s32 result; in vmci_host_do_ctx_add_notify() local
684 result = vmci_ctx_add_notification(cid, ar_info.remote_cid); in vmci_host_do_ctx_add_notify()
686 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_add_notify()
696 int result; in vmci_host_do_ctx_remove_notify() local
707 result = vmci_ctx_remove_notification(cid, in vmci_host_do_ctx_remove_notify()
710 return put_user(result, &info->result) ? -EFAULT : 0; in vmci_host_do_ctx_remove_notify()
731 get_info.result = vmci_ctx_get_chkpt_state(cid, get_info.cpt_type, in vmci_host_do_ctx_get_cpt_state()
733 if (get_info.result == VMCI_SUCCESS && get_info.buf_size) { in vmci_host_do_ctx_get_cpt_state()
777 set_info.result = vmci_ctx_set_chkpt_state(cid, set_info.cpt_type, in vmci_host_do_ctx_set_cpt_state()
811 notify_info.result = in vmci_host_do_set_notify()
816 notify_info.result = VMCI_SUCCESS; in vmci_host_do_set_notify()
849 info.result = vmci_ctx_notify_dbell(cid, info.handle, in vmci_host_do_notify_resource()
852 info.result = VMCI_ERROR_UNAVAILABLE; in vmci_host_do_notify_resource()
857 info.result = vmci_ctx_dbell_create(cid, info.handle); in vmci_host_do_notify_resource()
861 info.result = vmci_ctx_dbell_destroy(cid, info.handle); in vmci_host_do_notify_resource()
867 info.result = VMCI_ERROR_INVALID_ARGS; in vmci_host_do_notify_resource()
904 info.result = vmci_ctx_rcv_notifications_get(cid, in vmci_host_do_recv_notifications()
906 if (info.result != VMCI_SUCCESS) in vmci_host_do_recv_notifications()
910 info.result = drv_cp_harray_to_user(ubuf, &info.db_handle_buf_size, in vmci_host_do_recv_notifications()
912 if (info.result == VMCI_SUCCESS && !retval) { in vmci_host_do_recv_notifications()
914 info.result = drv_cp_harray_to_user(ubuf, in vmci_host_do_recv_notifications()
924 info.result == VMCI_SUCCESS && !retval); in vmci_host_do_recv_notifications()