Lines Matching defs:channel
8 #include <lib/zx/channel.h>
87 static void HandOffException(const zx::job& root_job, const zx::channel& channel,
104 channel.write(0, &packet.type, sizeof(packet.type), handles, fbl::count_of(handles));
106 // If the channel write failed, things are going badly, attempt to
109 fprintf(stderr, "crashsvc: channel write failed: %d\n", status);
125 // - a channel on which to write messages when exceptions are encountered
136 zx::channel channel(zx_take_startup_handle(PA_HND(PA_USER0, 2)));
137 if (!channel.is_valid()) {
138 fprintf(stderr, "crashsvc: no channel\n");
150 HandOffException(root_job, channel, packet);