Lines Matching defs:blocks
66 * number of active blocks (seg->n_blocks) using its shared memory.
70 * This is done to support memfd blocks transport.
72 * To transfer memfd-backed blocks without passing their fd every
92 pa_hashmap *blocks;
134 * This is done for per-client mempools: global references to blocks in
138 * mempool blocks are referenced only by client-specific objects.
589 pa_assert_se(pa_hashmap_remove(import->blocks, PA_UINT32_TO_PTR(b->per_type.imported.id)));
752 pa_assert_se(pa_hashmap_remove(import->blocks, PA_UINT32_TO_PTR(b->per_type.imported.id)));
863 /* Let's try to find at least one of those leaked memory blocks */
894 pa_log_error("Memory pool destroyed but not all memory blocks freed! %u remain.",
1051 /* For receiving blocks from other nodes */
1063 i->blocks = pa_hashmap_new(NULL, NULL);
1126 while ((b = pa_hashmap_first(i->blocks)))
1153 pa_hashmap_free(i->blocks);
1205 if ((b = pa_hashmap_get(i->blocks, PA_UINT32_TO_PTR(block_id)))) {
1210 if (pa_hashmap_size(i->blocks) >= PA_MEMIMPORT_SLOTS_MAX)
1249 pa_hashmap_put(i->blocks, PA_UINT32_TO_PTR(block_id), b);
1268 if (!(b = pa_hashmap_get(i->blocks, PA_UINT32_TO_PTR(id)))) {
1281 /* For sending blocks to other nodes */