Searched refs:writen (Results 1 – 11 of 11) sorted by relevance
/linux/tools/perf/bench/ |
A D | inject-buildid.c | 151 return writen(data->input_pipe[1], &event, event.header.size); in synthesize_attr() 169 return writen(data->input_pipe[1], &event, event.header.size); in synthesize_fork() 200 if (writen(data->input_pipe[1], &event, len - bench_id_hdr_size) < 0) in synthesize_mmap() 207 if (writen(data->input_pipe[1], id_hdr_ptr, bench_id_hdr_size) < 0) in synthesize_mmap() 215 return writen(data->input_pipe[1], &event, len); in synthesize_mmap() 234 return writen(data->input_pipe[1], &event, event.header.size); in synthesize_sample() 244 return writen(data->input_pipe[1], &header, header.size); in synthesize_flush()
|
/linux/tools/perf/tests/ |
A D | dlfilter-test.c | 67 if (writen(fd, event, event->header.size) != event->header.size) in process() 133 if (writen(fd, &comm, sz) != sz) { in write_comm() 160 if (writen(fd, mmap, sz) != sz) { in write_mmap() 211 bool err = fd < 0 || writen(fd, prog, n) != n; in write_prog()
|
/linux/tools/lib/perf/include/internal/ |
A D | lib.h | 10 ssize_t writen(int fd, const void *buf, size_t n);
|
/linux/tools/lib/perf/ |
A D | lib.c | 44 ssize_t writen(int fd, const void *buf, size_t n) in writen() function
|
/linux/tools/perf/util/ |
A D | zlib.c | 66 if (writen(output_fd, buf, len) != len) { in gzip_decompress_to_file()
|
A D | lzma.c | 84 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_to_file()
|
A D | vdso.c | 174 if (count && writen(fd, buf, count) != (ssize_t)count) in vdso__do_copy_compat()
|
A D | data.c | 394 return writen(file->fd, buf, size); in perf_data_file__write()
|
A D | auxtrace.c | 881 if (writen(fd, &ent, sizeof(ent)) != sizeof(ent)) in auxtrace_index__do_write() 896 if (writen(fd, &total, sizeof(total)) != sizeof(total)) in auxtrace_index__write()
|
A D | header.c | 97 ssize_t ret = writen(ff->fd, buf, size); in __do_write_fd()
|
/linux/tools/perf/ |
A D | builtin-daemon.c | 544 err = writen(control, msg, len); in daemon_session__control() 1374 if (sizeof(*cmd) != writen(fd, cmd, sizeof(*cmd))) { in send_cmd()
|
Completed in 26 milliseconds