read_pipe
ch341->read_pipe = usb_rcvbulkpipe(udev, usb_endpoint_num(in));
usb_fill_bulk_urb(ch341->rx_urb, udev, ch341->read_pipe, ch341->rx_buf,
unsigned int read_pipe;
return usb_bulk_msg(ch341->udev, ch341->read_pipe, trans->rx_buf,
ret = read_pipe(td);
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
close(read_pipe.read_fd);
exit(child(stack_size, read_pipe));
close(read_pipe.write_fd);
FAIL_IF(sync_with_child(read_pipe, write_pipe));
close(read_pipe.read_fd);
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
exit(ebb_child(write_pipe, read_pipe));
if (sync_with_child(read_pipe, write_pipe))
FAIL_IF(sync_with_child(read_pipe, write_pipe));
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
exit(ebb_child(write_pipe, read_pipe));
if (sync_with_child(read_pipe, write_pipe))
FAIL_IF(sync_with_child(read_pipe, write_pipe));
int ebb_child(union pipe read_pipe, union pipe write_pipe)
FAIL_IF(wait_for_parent(read_pipe));
FAIL_IF(wait_for_parent(read_pipe));
int ebb_child(union pipe read_pipe, union pipe write_pipe);
static int victim_child(union pipe read_pipe, union pipe write_pipe)
FAIL_IF(wait_for_parent(read_pipe));
FAIL_IF(wait_for_parent(read_pipe));
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
exit(victim_child(write_pipe, read_pipe));
FAIL_IF(sync_with_child(read_pipe, write_pipe));
FAIL_IF(sync_with_child(read_pipe, write_pipe));
static int victim_child(union pipe read_pipe, union pipe write_pipe)
FAIL_IF(wait_for_parent(read_pipe));
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
exit(victim_child(write_pipe, read_pipe));
FAIL_IF(sync_with_child(read_pipe, write_pipe));
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
exit(ebb_child(write_pipe, read_pipe));
FAIL_IF(sync_with_child(read_pipe, write_pipe));
FAIL_IF(sync_with_child(read_pipe, write_pipe));
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
exit(ebb_child(write_pipe, read_pipe));
if (sync_with_child(read_pipe, write_pipe))
FAIL_IF(sync_with_child(read_pipe, write_pipe));
union pipe read_pipe, write_pipe;
FAIL_IF(pipe(read_pipe.fds) == -1);
exit(ebb_child(write_pipe, read_pipe));
if (sync_with_child(read_pipe, write_pipe))
FAIL_IF(sync_with_child(read_pipe, write_pipe));
union pipe read_pipe, write_pipe;
if (pipe(read_pipe.fds) == -1)
exit(eat_cpu_child(write_pipe, read_pipe));
if (sync_with_child(read_pipe, write_pipe)) {
int sync_with_child(union pipe read_pipe, union pipe write_pipe)
FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1);
int wait_for_parent(union pipe read_pipe)
FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1);
static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe)
wait_for_parent(read_pipe);
extern int sync_with_child(union pipe read_pipe, union pipe write_pipe);
extern int wait_for_parent(union pipe read_pipe);
rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL,
rw_ti->read_pipe = -1;
rw_ti->read_pipe = data_pipe[1];
close(s->rw_ti[i]->read_pipe);
int read_pipe;