Specifies NvSciBuf data structures.
Data Structures | |
struct | NvSciBufAttrKeyValuePair |
This structure defines a key/value pair used to get or set the NvSciBufAttrKey(s) and their corresponding values from or to NvSciBufAttrList. More... | |
Typedefs | |
typedef struct NvSciBufModuleRec * | NvSciBufModule |
top-level container for the following set of resources: NvSciBufAttrLists, memory objects, and NvSciBufObjs. More... | |
typedef struct NvSciBufObjRefRec * | NvSciBufObj |
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the buffer, the handle of the allocated buffer enforcing the buffer access permissions represented by NvSciBufGeneralAttrKey_ActualPerm key in reconciled NvSciBufAttrList and the buffer properties. More... | |
typedef const struct NvSciBufObjRefRec * | NvSciBufObjConst |
A reference, that is not modifiable, to a particular Memory Object. More... | |
typedef struct NvSciBufAttrListRec * | NvSciBufAttrList |
A container constituting an attribute list which contains. More... | |
Functions | |
PACK_BUF (typedef struct { uint64_t data[NVSCIBUF_EXPORT_DESC_SIZE];}) NvSciBufObjIpcExportDescriptor | |
Defines the exported form of NvSciBufObj intended to be shared across an NvSciIpc channel. More... | |
PACK_BUF (typedef struct { uint32_t socID;uint32_t vmID;uint64_t reserved;}) NvSciBufPeerLocationInfo | |
Defines Peer location info structure. More... | |
typedef struct NvSciBufAttrListRec* NvSciBufAttrList |
A container constituting an attribute list which contains.
Definition at line 3126 of file nvscibuf.h.
typedef struct NvSciBufModuleRec* NvSciBufModule |
top-level container for the following set of resources: NvSciBufAttrLists, memory objects, and NvSciBufObjs.
Any NvSciBufAttrList created or imported using a particular NvSciBufModule is bound to it, along with any NvSciBufObj created or imported using those NvSciBufAttrList(s).
Definition at line 3067 of file nvscibuf.h.
typedef struct NvSciBufObjRefRec* NvSciBufObj |
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the buffer, the handle of the allocated buffer enforcing the buffer access permissions represented by NvSciBufGeneralAttrKey_ActualPerm key in reconciled NvSciBufAttrList and the buffer properties.
A reference to a particular Memory object.
Definition at line 3108 of file nvscibuf.h.
typedef const struct NvSciBufObjRefRec* NvSciBufObjConst |
A reference, that is not modifiable, to a particular Memory Object.
Definition at line 3113 of file nvscibuf.h.
PACK_BUF | ( | typedef struct { uint32_t socID;uint32_t vmID;uint64_t reserved;} | ) |
Defines Peer location info structure.
This structure is used to set location information of late attaching peer to NvScibufObj using NvSciBufObjAttachPeer() API
PACK_BUF | ( | typedef struct { uint64_t data[NVSCIBUF_EXPORT_DESC_SIZE];} | ) |
Defines the exported form of NvSciBufObj intended to be shared across an NvSciIpc channel.
On successful execution of the NvSciBufObjIpcExport(), the permission requested via this API is stored in the NvSciBufObjIpcExportDescriptor to be granted to the NvSciBufObj on import provided the permission requested via the API is not NvSciBufAccessPerm_Auto. If the NvSciBufAccessPerm_Auto permission is requested via the API then the permission stored in the NvSciBufObjIpcExportDescriptor is equal to the maximum value of the permissions requested via NvSciBufGeneralAttrKey_RequiredPerm attribute in all of the unreconciled NvSciBufAttrLists that were exported by the peer to which the NvSciBufObjIpcExportDescriptor is being exported.