Searched refs:data_pipe (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/virtio/virtio-trace/ |
| H A D | trace-agent-rw.c | 44 int data_pipe[2]; in rw_thread_init() local 67 if (pipe2(data_pipe, O_NONBLOCK) < 0) { in rw_thread_init() 76 if (fcntl(*data_pipe, F_SETPIPE_SZ, pipe_size) < 0) { in rw_thread_init() 81 rw_ti->read_pipe = data_pipe[1]; in rw_thread_init() 82 rw_ti->write_pipe = data_pipe[0]; in rw_thread_init()
|
| /linux/drivers/usb/image/ |
| H A D | microtek.h | 23 int data_pipe; member
|
| H A D | microtek.c | 470 context->data_pipe, in mts_command_done() 476 context->data_pipe, in mts_command_done() 502 context->data_pipe, in mts_do_sg() 559 desc->context.data_pipe = pipe; in mts_build_transfer_context()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_iter.c | 326 int pid, status, err, data_pipe[2], finish_pipe[2], c = 0; in test_task_sleepable() local 331 if (!ASSERT_OK(pipe(data_pipe), "data_pipe") || in test_task_sleepable() 345 close(data_pipe[0]); in test_task_sleepable() 364 write(data_pipe[1], &data, sizeof(data)); in test_task_sleepable() 371 close(data_pipe[1]); in test_task_sleepable() 377 close(data_pipe[1]); in test_task_sleepable() 380 err = read(data_pipe[0], &data, sizeof(data)); in test_task_sleepable() 405 close(data_pipe[0]); in test_task_sleepable()
|