Lines Matching defs:writable
319 void pa_mempool_set_is_remote_writable(pa_mempool *p, bool writable) {
321 pa_assert(!writable || pa_mempool_is_shared(p));
322 p->is_remote_writable = writable;
1079 int memfd_fd, bool writable) {
1088 if (pa_shm_attach(&seg->memory, type, shm_id, memfd_fd, writable) < 0) {
1093 seg->writable = writable;
1169 int pa_memimport_attach_memfd(pa_memimport *i, uint32_t shm_id, int memfd_fd, bool writable) {
1178 if (!(seg = segment_attach(i, PA_MEM_TYPE_SHARED_MEMFD, shm_id, memfd_fd, writable)))
1196 size_t offset, size_t size, bool writable) {
1221 if (!(seg = segment_attach(i, type, shm_id, -1, writable)))
1225 if (writable && !seg->writable) {
1240 b->read_only = !writable;