Lines Matching defs:pool
129 /* Before sending blocks from a memfd-backed pool over the pipe, we
136 * such packet has an ID that uniquely identifies the pool's memfd
140 * By doing so, we won't need to reference the pool's memfd fd any
142 int pa_pstream_register_memfd_mempool(pa_pstream *p, pa_mempool *pool, const char **fail_reason) {
153 per_client_mempool = pa_mempool_is_per_client(pool);
157 if (!pa_mempool_is_shared(pool)) {
162 if (!pa_mempool_is_memfd_backed(pool)) {
167 if (pa_mempool_get_shm_id(pool, &shm_id)) {
168 *fail_reason = "could not extract pool SHM ID";
177 memfd_fd = (per_client_mempool) ? pa_mempool_take_memfd_fd(pool) :
178 pa_mempool_get_memfd_fd(pool);