API Reference Manual  1.45.0
odp_shm_info_t Struct Reference

Shared memory block info. More...

#include <shared_memory.h>

Data Fields

const char * name
 Block name.
 
void * addr
 Block address.
 
uint64_t size
 Block size in bytes.
 
uint64_t page_size
 Memory page size.
 
uint32_t flags
 ODP_SHM_* flags.
 
uint32_t num_seg
 Number of memory segments. More...
 

Detailed Description

Shared memory block info.

Definition at line 104 of file api/spec/shared_memory.h.

Field Documentation

◆ num_seg

uint32_t odp_shm_info_t::num_seg

Number of memory segments.

Number of segments in physical (or IOVA) address space that map memory to the SHM block. More information about each segment can be retrieved with odp_shm_segment_info(). Number of segments is always at least one, also when physical (or IOVA) segmentation information is not available.

Definition at line 127 of file api/spec/shared_memory.h.


The documentation for this struct was generated from the following file: