linux/include/uapi/linux/vbox_err.h

/* SPDX-License-Identifier: MIT */
/* Copyright (C) 2017 Oracle Corporation */

#ifndef __UAPI_VBOX_ERR_H__
#define __UAPI_VBOX_ERR_H__

#define VINF_SUCCESS
#define VERR_GENERAL_FAILURE
#define VERR_INVALID_PARAMETER
#define VERR_INVALID_MAGIC
#define VERR_INVALID_HANDLE
#define VERR_LOCK_FAILED
#define VERR_INVALID_POINTER
#define VERR_IDT_FAILED
#define VERR_NO_MEMORY
#define VERR_ALREADY_LOADED
#define VERR_PERMISSION_DENIED
#define VERR_VERSION_MISMATCH
#define VERR_NOT_IMPLEMENTED
#define VERR_INVALID_FLAGS

#define VERR_NOT_EQUAL
#define VERR_NOT_SYMLINK
#define VERR_NO_TMP_MEMORY
#define VERR_INVALID_FMODE
#define VERR_WRONG_ORDER
#define VERR_NO_TLS_FOR_SELF
#define VERR_FAILED_TO_SET_SELF_TLS
#define VERR_NO_CONT_MEMORY
#define VERR_NO_PAGE_MEMORY
#define VERR_THREAD_IS_DEAD
#define VERR_THREAD_NOT_WAITABLE
#define VERR_PAGE_TABLE_NOT_PRESENT
#define VERR_INVALID_CONTEXT
#define VERR_TIMER_BUSY
#define VERR_ADDRESS_CONFLICT
#define VERR_UNRESOLVED_ERROR
#define VERR_INVALID_FUNCTION
#define VERR_NOT_SUPPORTED
#define VERR_ACCESS_DENIED
#define VERR_INTERRUPTED
#define VERR_TIMEOUT
#define VERR_BUFFER_OVERFLOW
#define VERR_TOO_MUCH_DATA
#define VERR_MAX_THRDS_REACHED
#define VERR_MAX_PROCS_REACHED
#define VERR_SIGNAL_REFUSED
#define VERR_SIGNAL_PENDING
#define VERR_SIGNAL_INVALID
#define VERR_STATE_CHANGED
#define VERR_INVALID_UUID_FORMAT
#define VERR_PROCESS_NOT_FOUND
#define VERR_PROCESS_RUNNING
#define VERR_TRY_AGAIN
#define VERR_PARSE_ERROR
#define VERR_OUT_OF_RANGE
#define VERR_NUMBER_TOO_BIG
#define VERR_NO_DIGITS
#define VERR_NEGATIVE_UNSIGNED
#define VERR_NO_TRANSLATION

#define VERR_NOT_FOUND
#define VERR_INVALID_STATE
#define VERR_OUT_OF_RESOURCES

#define VERR_FILE_NOT_FOUND
#define VERR_PATH_NOT_FOUND
#define VERR_INVALID_NAME
#define VERR_ALREADY_EXISTS
#define VERR_TOO_MANY_OPEN_FILES
#define VERR_SEEK
#define VERR_NEGATIVE_SEEK
#define VERR_SEEK_ON_DEVICE
#define VERR_EOF
#define VERR_READ_ERROR
#define VERR_WRITE_ERROR
#define VERR_WRITE_PROTECT
#define VERR_SHARING_VIOLATION
#define VERR_FILE_LOCK_FAILED
#define VERR_FILE_LOCK_VIOLATION
#define VERR_CANT_CREATE
#define VERR_CANT_DELETE_DIRECTORY
#define VERR_NOT_SAME_DEVICE
#define VERR_FILENAME_TOO_LONG
#define VERR_MEDIA_NOT_PRESENT
#define VERR_MEDIA_NOT_RECOGNIZED
#define VERR_FILE_NOT_LOCKED
#define VERR_FILE_LOCK_LOST
#define VERR_DIR_NOT_EMPTY
#define VERR_NOT_A_DIRECTORY
#define VERR_IS_A_DIRECTORY
#define VERR_FILE_TOO_BIG

#define VERR_NET_IO_ERROR
#define VERR_NET_OUT_OF_RESOURCES
#define VERR_NET_HOST_NOT_FOUND
#define VERR_NET_PATH_NOT_FOUND
#define VERR_NET_PRINT_ERROR
#define VERR_NET_NO_NETWORK
#define VERR_NET_NOT_UNIQUE_NAME

#define VERR_NET_IN_PROGRESS
#define VERR_NET_ALREADY_IN_PROGRESS
#define VERR_NET_NOT_SOCKET
#define VERR_NET_DEST_ADDRESS_REQUIRED
#define VERR_NET_MSG_SIZE
#define VERR_NET_PROTOCOL_TYPE
#define VERR_NET_PROTOCOL_NOT_AVAILABLE
#define VERR_NET_PROTOCOL_NOT_SUPPORTED
#define VERR_NET_SOCKET_TYPE_NOT_SUPPORTED
#define VERR_NET_OPERATION_NOT_SUPPORTED
#define VERR_NET_PROTOCOL_FAMILY_NOT_SUPPORTED
#define VERR_NET_ADDRESS_FAMILY_NOT_SUPPORTED
#define VERR_NET_ADDRESS_IN_USE
#define VERR_NET_ADDRESS_NOT_AVAILABLE
#define VERR_NET_DOWN
#define VERR_NET_UNREACHABLE
#define VERR_NET_CONNECTION_RESET
#define VERR_NET_CONNECTION_ABORTED
#define VERR_NET_CONNECTION_RESET_BY_PEER
#define VERR_NET_NO_BUFFER_SPACE
#define VERR_NET_ALREADY_CONNECTED
#define VERR_NET_NOT_CONNECTED
#define VERR_NET_SHUTDOWN
#define VERR_NET_TOO_MANY_REFERENCES
#define VERR_NET_CONNECTION_TIMED_OUT
#define VERR_NET_CONNECTION_REFUSED
#define VERR_NET_HOST_DOWN
#define VERR_NET_HOST_UNREACHABLE
#define VERR_NET_PROTOCOL_ERROR
#define VERR_NET_INCOMPLETE_TX_PACKET

/* misc. unsorted codes */
#define VERR_RESOURCE_BUSY
#define VERR_DISK_FULL
#define VERR_TOO_MANY_SYMLINKS
#define VERR_NO_MORE_FILES
#define VERR_INTERNAL_ERROR
#define VERR_INTERNAL_ERROR_2
#define VERR_INTERNAL_ERROR_3
#define VERR_INTERNAL_ERROR_4
#define VERR_DEV_IO_ERROR
#define VERR_IO_BAD_LENGTH
#define VERR_BROKEN_PIPE
#define VERR_NO_DATA
#define VERR_SEM_DESTROYED
#define VERR_DEADLOCK
#define VERR_BAD_EXE_FORMAT
#define VINF_HGCM_ASYNC_EXECUTE

#endif