Lines Matching refs:pstream
224 if (c->pstream) { in context_unlink()
225 pa_pstream_unlink(c->pstream); in context_unlink()
226 pa_pstream_unref(c->pstream); in context_unlink()
227 c->pstream = NULL; in context_unlink()
396 pa_pstream_send_tagstruct(c->pstream, t); in handle_srbchannel_memblock()
399 pa_pstream_set_srbchannel(c->pstream, sr); in handle_srbchannel_memblock()
547 pa_pstream_enable_shm(c->pstream, c->do_shm); in setup_complete_callback()
554 pa_pstream_enable_memfd(c->pstream); in setup_complete_callback()
556 if (pa_pstream_register_memfd_mempool(c->pstream, c->mempool, &reason)) in setup_complete_callback()
577 pa_pstream_send_tagstruct(c->pstream, reply); in setup_complete_callback()
614 pa_assert(!c->pstream); in setup_context()
615 c->pstream = pa_pstream_new(c->mainloop, io, c->mempool); in setup_context()
617 pa_pstream_set_die_callback(c->pstream, pstream_die_callback, c); in setup_context()
618 pa_pstream_set_receive_packet_callback(c->pstream, pstream_packet_callback, c); in setup_context()
619 pa_pstream_set_receive_memblock_callback(c->pstream, pstream_memblock_callback, c); in setup_context()
652 pa_pstream_send_tagstruct_with_creds(c->pstream, t, &ucred); in setup_context()
655 pa_pstream_send_tagstruct(c->pstream, t); in setup_context()
1119 return (c->pstream && pa_pstream_is_pending(c->pstream)) ||
1143 pa_pstream_set_drain_callback(o->context->pstream, NULL, NULL);
1151 if (pa_pstream_is_pending(o->context->pstream)) {
1152 pa_pstream_set_drain_callback(o->context->pstream, pstream_drain_callback, o);
1228 pa_pstream_send_tagstruct(c->pstream, t);
1255 pa_pstream_send_tagstruct(c->pstream, t);
1275 pa_pstream_send_tagstruct(c->pstream, t);
1314 pa_pstream_send_tagstruct(c->pstream, t);
1397 pa_pstream_send_tagstruct(c->pstream, t);
1429 pa_pstream_send_tagstruct(c->pstream, t);
1531 pa_pstream_set_srbchannel(c->pstream, NULL);
1544 pa_pstream_send_tagstruct(c->pstream, t2);
1556 if (pa_common_command_register_memfd_shmid(c->pstream, pd, c->version, command, t))