Lines Matching defs:memory
39 /* A pa_memblock is a reference counted memory block. PulseAudio
42 * memory blocks. */
44 /* The type of memory this block points to */
46 PA_MEMBLOCK_POOL, /* Memory is part of the memory pool */
47 PA_MEMBLOCK_POOL_EXTERNAL, /* Data memory is part of the memory pool but the pa_memblock structure itself is not */
48 PA_MEMBLOCK_APPENDED, /* The data is appended to the memory block */
49 PA_MEMBLOCK_USER, /* User supplied memory, to be freed with free_cb */
50 PA_MEMBLOCK_FIXED, /* Data is a pointer to fixed memory that needs not to be freed */
78 /* If type == PA_MEMBLOCK_USER this points to a function for freeing this memory block */
93 pa_shm memory;
124 /* Allocate a new memory block of type PA_MEMBLOCK_MEMPOOL or PA_MEMBLOCK_APPENDED, depending on the size */
127 /* Allocate a new memory block of type PA_MEMBLOCK_MEMPOOL. If the requested size is too large, return NULL */
130 /* Allocate a new memory block of type PA_MEMBLOCK_USER */
133 /* A special case of pa_memblock_new_user: take a memory buffer previously allocated with pa_xmalloc() */
138 /* Allocate a new memory block of type PA_MEMBLOCK_FIXED */
145 memory of a static memory block when they want to release all
146 references to the memory. This causes the memory to be copied and
147 converted into a pool of malloc'ed memory block. Please note that this
169 /* The memory block manager */