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/tools/testing/selftests/drivers/net/hw/ |
| H A D | devmem_lib.py | 231 data_pipe = (f"yes $(echo -e \x01\x02\x03\x04\x05\x06) | head -c 1K" 238 cmd(data_pipe, host=cfg.remote, shell=True) 290 data_pipe = (f"yes $(echo -e \x01\x02\x03\x04\x05\x06) | " 294 cmd(data_pipe, host=cfg.remote, shell=True)
|
| /linux/drivers/usb/image/ |
| H A D | microtek.h | 23 int data_pipe; member
|
| /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() 363 write(data_pipe[1], &data, sizeof(data)); in test_task_sleepable() 370 close(data_pipe[1]); in test_task_sleepable() 376 close(data_pipe[1]); in test_task_sleepable() 379 err = read(data_pipe[0], &data, sizeof(data)); in test_task_sleepable() 404 close(data_pipe[0]); in test_task_sleepable()
|