• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • NVIDIA DRIVE OS Linux SDK API Reference

    6.0.9 Release
    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

    Detailed Description

    Contains error code enumeration and helper macros.

    Enumerations

    enum  NvSciError {
      NvSciError_Success = 0x00000000,
      NvSciError_Unknown = 0x00000001,
      NvSciError_NotImplemented = 0x00000010,
      NvSciError_NotSupported = 0x00000011,
      NvSciError_AccessDenied = 0x00000020,
      NvSciError_NotPermitted = 0x00000021,
      NvSciError_InvalidState = 0x00000022,
      NvSciError_InvalidOperation = 0x00000023,
      NvSciError_NotInitialized = 0x00000024,
      NvSciError_AlreadyInUse = 0x00000025,
      NvSciError_AlreadyDone = 0x00000026,
      NvSciError_NotYetAvailable = 0x00000027,
      NvSciError_NoLongerAvailable = 0x00000028,
      NvSciError_InsufficientMemory = 0x00000030,
      NvSciError_InsufficientResource = 0x00000031,
      NvSciError_ResourceError = 0x00000032,
      NvSciError_BadParameter = 0x00000100,
      NvSciError_BadAddress = 0x00000101,
      NvSciError_TooBig = 0x00000102,
      NvSciError_Overflow = 0x00000103,
      NvSciError_InconsistentData = 0x00000104,
      NvSciError_InsufficientData = 0x00000105,
      NvSciError_IndexOutOfRange = 0x00000106,
      NvSciError_ValueOutOfRange = 0x00000107,
      NvSciError_Revalidation_Success = 0x00000108,
      NvSciError_Timeout = 0x00000200,
      NvSciError_TryItAgain = 0x00000201,
      NvSciError_Busy = 0x00000202,
      NvSciError_InterruptedCall = 0x00000203,
      NvSciError_NoSuchDevice = 0x00001000,
      NvSciError_NoSpace = 0x00001001,
      NvSciError_NoSuchDevAddr = 0x00001002,
      NvSciError_IO = 0x00001003,
      NvSciError_InvalidIoctlNum = 0x00001004,
      NvSciError_NoSuchEntry = 0x00001100,
      NvSciError_BadFileDesc = 0x00001101,
      NvSciError_CorruptedFileSys = 0x00001102,
      NvSciError_FileExists = 0x00001103,
      NvSciError_IsDirectory = 0x00001104,
      NvSciError_ReadOnlyFileSys = 0x00001105,
      NvSciError_TextFileBusy = 0x00001106,
      NvSciError_FileNameTooLong = 0x00001107,
      NvSciError_FileTooBig = 0x00001108,
      NvSciError_TooManySymbolLinks = 0x00001109,
      NvSciError_TooManyOpenFiles = 0x0000110A,
      NvSciError_FileTableOverflow = 0x0000110B,
      NvSciError_EndOfFile = 0x0000110C,
      NvSciError_ConnectionReset = 0x00001200,
      NvSciError_AlreadyInProgress = 0x00001201,
      NvSciError_NoData = 0x00001202,
      NvSciError_NoDesiredMessage = 0x00001203,
      NvSciError_MessageSize = 0x00001204,
      NvSciError_NoRemote = 0x00001205,
      NvSciError_NoSuchProcess = 0x00002000,
      NvSciError_MutexNotRecoverable = 0x00002100,
      NvSciError_LockOwnerDead = 0x00002101,
      NvSciError_ResourceDeadlock = 0x00002102,
      NvSciError_ReconciliationFailed = 0x00010100,
      NvSciError_AttrListValidationFailed = 0x00010101,
      NvSciError_ObjValidationFailed = 0x00010102,
      NvSciError_CommonEnd = 0x00FFFFFF,
      NvSciError_NvSciBufUnknown = 0x01000000,
      NvSciError_NvSciBufEnd = 0x01FFFFFF,
      NvSciError_NvSciSyncUnknown = 0x02000000,
      NvSciError_UnsupportedConfig = 0x02000001,
      NvSciError_ClearedFence = 0x02000002,
      NvSciError_NvSciSyncEnd = 0x02FFFFFF,
      NvSciError_NvSciStreamUnknown = 0x03000000,
      NvSciError_StreamInternalError = 0x03000001,
      NvSciError_StreamBadBlock = 0x03000100,
      NvSciError_StreamBadPacket = 0x03000101,
      NvSciError_StreamBadCookie = 0x03000102,
      NvSciError_StreamNotConnected = 0x03000200,
      NvSciError_StreamNotSetupPhase = 0x03000201,
      NvSciError_StreamNotSafetyPhase = 0x03000202,
      NvSciError_NoStreamPacket = 0x03001000,
      NvSciError_StreamPacketInaccessible = 0x03001001,
      NvSciError_StreamPacketDeleted = 0x03001002,
      NvSciError_StreamInfoNotProvided = 0x03003000,
      NvSciError_StreamLockFailed = 0x03400000,
      NvSciError_StreamBadSrcIndex = 0x03800000,
      NvSciError_StreamBadDstIndex = 0x03800001,
      NvSciError_NvSciStreamEnd = 0x03FFFFFF,
      NvSciError_NvSciIpcUnknown = 0x04000000,
      NvSciError_PcieUncorrectableFatal = 0x04000001,
      NvSciError_PcieUncorrectableNonFatal = 0x04000002,
      NvSciError_PcieEdmaTransferErr = 0x04000003,
      NvSciError_PcieValidationError = 0x04000004,
      NvSciError_NvSciIpcEnd = 0x04FFFFFF,
      NvSciError_NvSciEventUnknown = 0x05000000,
      NvSciError_NvSciEventEnd = 0x05FFFFFF
    }
     Return/error codes for all NvSci functions. More...
     

    Enumeration Type Documentation

    ◆ NvSciError

    enum NvSciError

    Return/error codes for all NvSci functions.

    This enumeration contains unique return/error codes to identify the source of a failure. Some errors have direct correspondence to standard errno.h codes, indicated [IN BRACKETS], and may result from failures in lower level system calls. Others indicate failures specific to misuse of NvSci library function.

    Enumerator
    NvSciError_Success 

    [EOK] No error

    NvSciError_Unknown 

    Unidentified error with no additional info.

    NvSciError_NotImplemented 

    [ENOSYS] Feature is not implemented

    NvSciError_NotSupported 

    [ENOTSUP] Feature is not supported

    NvSciError_AccessDenied 

    [EACCES] Access to resource denied

    NvSciError_NotPermitted 

    [EPERM] No permission to perform operation

    NvSciError_InvalidState 

    Resource is in wrong state to perform operation.

    NvSciError_InvalidOperation 

    Requested operation is not legal.

    NvSciError_NotInitialized 

    Required resource is not initialized.

    NvSciError_AlreadyInUse 

    Requested resource is already in use.

    NvSciError_AlreadyDone 

    Operation has already been performed.

    NvSciError_NotYetAvailable 

    Resource/information not yet available.

    NvSciError_NoLongerAvailable 

    Resource/information no longer available.

    NvSciError_InsufficientMemory 

    [ENOMEM] Not enough memory

    NvSciError_InsufficientResource 

    Not enough (non-memory) resources.

    NvSciError_ResourceError 

    Resource failed.

    NvSciError_BadParameter 

    [EINVAL] Invalid parameter value

    NvSciError_BadAddress 

    [EFAULT] Invalid address

    NvSciError_TooBig 

    [E2BIG] Parameter list too long

    NvSciError_Overflow 

    [EOVERFLOW] Value too large for data type

    NvSciError_InconsistentData 

    Parameters are inconsistent with each other or prior settings

    NvSciError_InsufficientData 

    Parameters or prior settings are insufficient.

    NvSciError_IndexOutOfRange 

    An index is not in the allowed range.

    NvSciError_ValueOutOfRange 

    A value is not in the allowed range.

    NvSciError_Revalidation_Success 

    An object is successfully revalidated.

    NvSciError_Timeout 

    [ETIMEDOUT] Operation timed out

    NvSciError_TryItAgain 

    [EAGAIN] Resource unavailable.

    Try again.

    NvSciError_Busy 

    [EBUSY] Resource is busy

    NvSciError_InterruptedCall 

    [EINTR] An interrupt ocurred

    NvSciError_NoSuchDevice 

    [ENODEV] No such device

    NvSciError_NoSpace 

    [ENOSPC] No space left on device

    NvSciError_NoSuchDevAddr 

    [ENXIO] No such device or address

    NvSciError_IO 

    [EIO] Input/output error

    NvSciError_InvalidIoctlNum 

    [ENOTTY] Inappropriate I/O control operation

    NvSciError_NoSuchEntry 

    [ENOENT] No such file or directory

    NvSciError_BadFileDesc 

    [EBADF] Bad file descriptor

    NvSciError_CorruptedFileSys 

    [EBADFSYS] Corrupted file system detected

    NvSciError_FileExists 

    [EEXIST] File already exists

    NvSciError_IsDirectory 

    [EISDIR] File is a directory

    NvSciError_ReadOnlyFileSys 

    [EROFS] Read-only file system

    NvSciError_TextFileBusy 

    [ETXTBSY] Text file is busy

    NvSciError_FileNameTooLong 

    [ENAMETOOLONG] File name is too long

    NvSciError_FileTooBig 

    [EFBIG] File is too large

    NvSciError_TooManySymbolLinks 

    [ELOOP] Too many levels of symbolic links

    NvSciError_TooManyOpenFiles 

    [EMFILE] Too many open files in process

    NvSciError_FileTableOverflow 

    [ENFILE] Too many open files in system

    NvSciError_EndOfFile 

    End of file reached.

    NvSciError_ConnectionReset 

    [ECONNRESET] Connection was closed or lost

    NvSciError_AlreadyInProgress 

    [EALREADY] Pending connection is already in progress

    NvSciError_NoData 

    [ENODATA] No message data available

    NvSciError_NoDesiredMessage 

    [ENOMSG] No message of the desired type available

    NvSciError_MessageSize 

    [EMSGSIZE] Message is too large

    NvSciError_NoRemote 

    [ENOREMOTE] Remote node doesn't exist

    NvSciError_NoSuchProcess 

    [ESRCH] No such process

    NvSciError_MutexNotRecoverable 

    [ENOTRECOVERABLE] Mutex damaged by previous owner's death

    NvSciError_LockOwnerDead 

    [EOWNERDEAD] Previous owner died while holding mutex

    NvSciError_ResourceDeadlock 

    [EDEADLK] Taking ownership would cause deadlock

    NvSciError_ReconciliationFailed 

    Could not reconcile attributes.

    NvSciError_AttrListValidationFailed 

    Could not validate attributes.

    NvSciError_ObjValidationFailed 

    Object validation has errors.

    NvSciError_CommonEnd 

    End of range for common error codes.

    NvSciError_NvSciBufUnknown 

    Unidentified NvSciBuf error with no additional info.

    NvSciError_NvSciBufEnd 

    End of range for NvSciBuf errors.

    NvSciError_NvSciSyncUnknown 

    Unidentified NvSciSync error with no additional info.

    NvSciError_UnsupportedConfig 

    Unsupported configuration.

    NvSciError_ClearedFence 

    Provided fence is cleared.

    NvSciError_NvSciSyncEnd 
    NvSciError_NvSciStreamUnknown 

    Unidentified NvSciStream error with no additional info.

    NvSciError_StreamInternalError 

    Internal stream resource failure occurred.

    NvSciError_StreamBadBlock 

    Unrecognized block handle.

    NvSciError_StreamBadPacket 

    Unrecognized packet handle.

    NvSciError_StreamBadCookie 

    Invalid packet cookie value.

    NvSciError_StreamNotConnected 

    Operation requires stream be fully connected.

    NvSciError_StreamNotSetupPhase 

    Operation can only be performed in setup phase.

    NvSciError_StreamNotSafetyPhase 

    Operation can only be performed in safety phase.

    NvSciError_NoStreamPacket 

    No stream packet available.

    NvSciError_StreamPacketInaccessible 

    Referenced packet's current location does not allow this operation.

    NvSciError_StreamPacketDeleted 

    Internal error due to operation on deleted packet.

    NvSciError_StreamInfoNotProvided 

    Queried info not exist.

    NvSciError_StreamLockFailed 

    These stream errors represent failures detected from lower level system components.

    They generally are not due to any user error, but might be caused by the system running out of resources. Failed to acquire lock on mutex used to ensure thread safety

    NvSciError_StreamBadSrcIndex 

    These stream errors represent internal failures which should never be possible in a production system.

    They exist only for internal unit testing. Invalid input index was passed to a block.

    NvSciError_StreamBadDstIndex 

    Invalid output index was passed to a block.

    NvSciError_NvSciStreamEnd 

    End of range for NvSciStream errors.

    NvSciError_NvSciIpcUnknown 

    Unidentified NvSciIpc error with no additional info.

    NvSciError_PcieUncorrectableFatal 

    Indicates there is uncorrectable fatal error during PCIE operation.

    NvSciError_PcieUncorrectableNonFatal 

    Indicates there is uncorrectable non fatal error during PCIE operation.

    NvSciError_PcieEdmaTransferErr 

    Indicates there is eDMA error during PCIE operation.

    NvSciError_PcieValidationError 

    Indicates there is validation error.

    NvSciError_NvSciIpcEnd 

    End of range for NvSciIpc errors.

    NvSciError_NvSciEventUnknown 

    Unidentified NvSciEvent error with no additional info.

    NvSciError_NvSciEventEnd 

    End of range for NvSciEvent errors.

    Definition at line 45 of file nvscierror.h.

    人人超碰97caoporen国产