Home
last modified time | relevance | path

Searched refs:out_fd (Results 1 – 5 of 5) sorted by relevance

/tools/virtio/virtio-trace/
Dtrace-agent-rw.c32 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()
Dtrace-agent.h38 int out_fd; member
Dtrace-agent.c248 close(s->rw_ti[i]->out_fd); in agent_info_free()
/tools/spi/
Dspidev_test.c116 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/
Dexecveat.c141 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()