PipeWire: mem.h File Reference

PipeWire 0.1.7

Data Structures | Macros | Functions
mem.h File Reference
Include dependency graph for mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
class | pw_memblock
| Memory block structure. More...

## Macros
#define | PW_MEMBLOCK_FLAG_MAP_READWRITE (PW_MEMBLOCK_FLAG_MAP_READ | PW_MEMBLOCK_FLAG_MAP_WRITE)

## Functions
int | pw_memblock_alloc (enum pw_memblock_flags flags, size_t size, struct pw_memblock *mem)
int | pw_memblock_map (struct pw_memblock *mem)
void | pw_memblock_free (struct pw_memblock *mem)

## Macro Definition Documentation

## ◆ PW_MEMBLOCK_FLAG_MAP_READWRITE

#define PW_MEMBLOCK_FLAG_MAP_READWRITE (PW_MEMBLOCK_FLAG_MAP_READ | PW_MEMBLOCK_FLAG_MAP_WRITE)

Referenced by pw_memblock::pw_memblock_map().

## Function Documentation

## ◆ pw_memblock_alloc()

int pw_memblock_alloc | ( | enum pw_memblock_flags | flags,
|  | size_t | size,
|  | struct pw_memblock * | mem
| ) |  |

## ◆ pw_memblock_free()

void pw_memblock_free | ( | struct pw_memblock * | mem | ) |

Referenced by pw_port_alloc_buffers(), pw_port_set_param(), and pw_port_use_buffers().

## ◆ pw_memblock_map()

int pw_memblock_map | ( | struct pw_memblock * | mem | ) |