API Reference Manual
1.47.0
|
Shared memory capabilities. More...
#include <shared_memory.h>
Data Fields | |
uint32_t | max_blocks |
Maximum number of shared memory blocks. More... | |
uint64_t | max_size |
Maximum memory block size in bytes. More... | |
uint64_t | max_align |
Maximum memory block alignment in bytes. More... | |
uint32_t | flags |
Supported shared memory flags. More... | |
Shared memory capabilities.
Definition at line 158 of file api/spec/shared_memory.h.
uint32_t odp_shm_capability_t::max_blocks |
Maximum number of shared memory blocks.
This number of separate shared memory blocks can be reserved concurrently.
Definition at line 163 of file api/spec/shared_memory.h.
uint64_t odp_shm_capability_t::max_size |
Maximum memory block size in bytes.
The value of zero means that size is limited only by the available memory size.
Definition at line 169 of file api/spec/shared_memory.h.
uint64_t odp_shm_capability_t::max_align |
Maximum memory block alignment in bytes.
The value of zero means that alignment is limited only by the available memory size.
Definition at line 175 of file api/spec/shared_memory.h.
uint32_t odp_shm_capability_t::flags |
Supported shared memory flags.
A bit mask of supported ODP_SHM_* flags. Depending on the implementation some flag combinations may not be supported. In this case odp_shm_reserve() will fail.
Definition at line 183 of file api/spec/shared_memory.h.