Searched refs:out_fd (Results 1 – 5 of 5) sorted by relevance
/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 32 rw_ti->out_fd = -1; in rw_thread_info_new() 58 rw_ti->out_fd = open(out_path, O_WRONLY); in rw_thread_init() 59 if (rw_ti->out_fd == -1) { in rw_thread_init() 65 rw_ti->out_fd = STDOUT_FILENO; in rw_thread_init() 148 ret = splice(ts->write_pipe, NULL, ts->out_fd, NULL, in rw_thread_main()
|
D | trace-agent.h | 38 int out_fd; member
|
D | trace-agent.c | 248 close(s->rw_ti[i]->out_fd); in agent_info_free()
|
/tools/spi/ |
D | spidev_test.c | 116 int out_fd; in transfer() local 149 out_fd = open(output_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in transfer() 150 if (out_fd < 0) in transfer() 153 ret = write(out_fd, rx, len); in transfer() 157 close(out_fd); in transfer()
|
/tools/testing/selftests/exec/ |
D | execveat.c | 141 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); in exe_cp() local 145 sendfile(out_fd, in_fd, NULL, info.st_size); in exe_cp() 147 close(out_fd); in exe_cp()
|