Searched refs:out_fd (Results 1 – 6 of 6) sorted by relevance
| /tools/virtio/virtio-trace/ |
| A 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()
|
| A D | trace-agent.h | 38 int out_fd; member
|
| A D | trace-agent.c | 252 close(s->rw_ti[i]->out_fd); in agent_info_free()
|
| /tools/tracing/rtla/src/ |
| A D | trace.c | 75 int out_fd, in_fd; in save_trace_to_file() local 88 out_fd = creat(filename, mode); in save_trace_to_file() 89 if (out_fd < 0) { in save_trace_to_file() 99 retval = write(out_fd, buffer, retval); in save_trace_to_file() 106 close(out_fd); in save_trace_to_file() 362 int retval, index, out_fd; in trace_event_save_hist() local 383 out_fd = creat(path, mode); in trace_event_save_hist() 384 if (out_fd < 0) { in trace_event_save_hist() 397 index += write(out_fd, &hist[index], strlen(hist) - index); in trace_event_save_hist() 402 close(out_fd); in trace_event_save_hist()
|
| /tools/spi/ |
| A D | spidev_test.c | 122 int out_fd; in transfer() local 160 out_fd = open(output_file, O_WRONLY | O_CREAT | O_TRUNC, 0666); in transfer() 161 if (out_fd < 0) in transfer() 164 ret = write(out_fd, rx, len); in transfer() 168 close(out_fd); in transfer()
|
| /tools/testing/selftests/exec/ |
| A D | execveat.c | 159 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); in exe_cp() local 163 sendfile(out_fd, in_fd, NULL, info.st_size); in exe_cp() 165 close(out_fd); in exe_cp()
|
Completed in 8 milliseconds