API Reference Manual 1.51.0
Loading...
Searching...
No Matches
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.
 

Detailed Description

Shared memory block info.

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

Field Documentation

◆ name

const char* odp_shm_info_t::name

Block name.

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

◆ addr

void* odp_shm_info_t::addr

Block address.

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

◆ size

uint64_t odp_shm_info_t::size

Block size in bytes.

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

◆ page_size

uint64_t odp_shm_info_t::page_size

Memory page size.

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

◆ flags

uint32_t odp_shm_info_t::flags

ODP_SHM_* flags.

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

◆ 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: