PipeWire: pw_memblock Struct Reference

PipeWire 0.3.34

Data Fields
pw_memblock Struct Reference
Memory Blocks

Memory block structure. More...

## Data Fields
struct pw_mempool * | pool
| owner pool More...
uint32_t | id
| unique id More...
int | ref
| refcount More...
uint32_t | flags
| flags for the memory block on of enum pw_memblock_flags More...
uint32_t | type
| type of the fd, one of enum spa_data_type More...
int | fd
| fd More...
uint32_t | size
| size of memory More...
struct pw_memmap * | map
| optional map when PW_MEMBLOCK_FLAG_MAP was given More...

## Detailed Description

Memory block structure.

## Field Documentation

## ◆ fd

int pw_memblock::fd

fd

Referenced by pw_memmap_free(), pw_mempool_alloc(), and pw_mempool_import_block().

## ◆ flags

uint32_t pw_memblock::flags

flags for the memory block on of enum pw_memblock_flags

Referenced by pw_mempool_alloc(), and pw_mempool_import_block().

## ◆ id

uint32_t pw_memblock::id

unique id

Referenced by pw_mempool_find_ptr().

## ◆ map

struct pw_memmap* pw_memblock::map

optional map when PW_MEMBLOCK_FLAG_MAP was given

Referenced by pw_mempool_import_map().

## ◆ pool

struct pw_mempool* pw_memblock::pool

owner pool

Referenced by pw_memblock_free(), pw_memblock_map(), pw_memmap_free(), pw_mempool_alloc(), and pw_mempool_import_block().

## ◆ ref

int pw_memblock::ref

refcount

Referenced by pw_mempool_alloc(), and pw_mempool_import_map().

## ◆ size

uint32_t pw_memblock::size

size of memory

Referenced by pw_mempool_alloc().

## ◆ type

uint32_t pw_memblock::type

type of the fd, one of enum spa_data_type

Referenced by pw_mempool_alloc(), and pw_mempool_import_block().

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

- pipewire/src/pipewire/mem.h