Searched refs:memfd_fd (Results 1 - 7 of 7) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
H A D | pstream-util.c | 145 int memfd_fd, ret = -1; in pa_pstream_register_memfd_mempool() local 177 memfd_fd = (per_client_mempool) ? pa_mempool_take_memfd_fd(pool) : in pa_pstream_register_memfd_mempool() 184 if (pa_pstream_attach_memfd_shmid(p, shm_id, memfd_fd)) { in pa_pstream_register_memfd_mempool() 188 pa_assert_se(pa_close(memfd_fd) == 0); in pa_pstream_register_memfd_mempool() 196 pa_pstream_send_tagstruct_with_fds(p, t, 1, &memfd_fd, per_client_mempool); in pa_pstream_register_memfd_mempool()
|
H A D | shm.c | 356 static int shm_attach(pa_shm *m, pa_mem_type_t type, unsigned id, int memfd_fd, bool writable, bool for_cleanup) { in shm_attach() argument 368 pa_assert(memfd_fd == -1); in shm_attach() 379 pa_assert(memfd_fd != -1); in shm_attach() 380 fd = memfd_fd; in shm_attach() 432 /* Caller owns passed @memfd_fd and must close it down when appropriate. */ 433 int pa_shm_attach(pa_shm *m, pa_mem_type_t type, unsigned id, int memfd_fd, bool writable) { in pa_shm_attach() argument 434 return shm_attach(m, type, id, memfd_fd, writable, false); in pa_shm_attach()
|
H A D | memblock.c | 1011 int memfd_fd; in pa_mempool_take_memfd_fd() local 1020 memfd_fd = p->memory.fd; in pa_mempool_take_memfd_fd() 1025 pa_assert(memfd_fd != -1); in pa_mempool_take_memfd_fd() 1026 return memfd_fd; in pa_mempool_take_memfd_fd() 1038 int memfd_fd; in pa_mempool_get_memfd_fd() local 1045 memfd_fd = p->memory.fd; in pa_mempool_get_memfd_fd() 1046 pa_assert(memfd_fd != -1); in pa_mempool_get_memfd_fd() 1048 return memfd_fd; in pa_mempool_get_memfd_fd() 1077 * Caller owns passed @memfd_fd and must close it down when appropriate. */ 1079 int memfd_fd, boo in segment_attach() 1078 segment_attach(pa_memimport *i, pa_mem_type_t type, uint32_t shm_id, int memfd_fd, bool writable) segment_attach() argument 1169 pa_memimport_attach_memfd(pa_memimport *i, uint32_t shm_id, int memfd_fd, bool writable) pa_memimport_attach_memfd() argument [all...] |
H A D | shm.h | 53 int pa_shm_attach(pa_shm *m, pa_mem_type_t type, unsigned id, int memfd_fd, bool writable);
|
H A D | pstream.h | 51 int pa_pstream_attach_memfd_shmid(pa_pstream *p, unsigned shm_id, int memfd_fd);
|
H A D | memblock.h | 190 int pa_memimport_attach_memfd(pa_memimport *i, uint32_t shm_id, int memfd_fd, bool writable);
|
H A D | pstream.c | 361 * Caller owns the passed @memfd_fd and must close it down when appropriate. */ 362 int pa_pstream_attach_memfd_shmid(pa_pstream *p, unsigned shm_id, int memfd_fd) { in pa_pstream_attach_memfd_shmid() argument 365 pa_assert(memfd_fd != -1); in pa_pstream_attach_memfd_shmid() 378 if (pa_memimport_attach_memfd(p->import, shm_id, memfd_fd, true)) { in pa_pstream_attach_memfd_shmid()
|
Completed in 6 milliseconds