Home
last modified time | relevance | path

Searched refs:writen (Results 1 – 11 of 11) sorted by relevance

/linux/tools/perf/bench/
A Dinject-buildid.c151 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 Ddlfilter-test.c67 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 Dlib.h10 ssize_t writen(int fd, const void *buf, size_t n);
/linux/tools/lib/perf/
A Dlib.c44 ssize_t writen(int fd, const void *buf, size_t n) in writen() function
/linux/tools/perf/util/
A Dzlib.c66 if (writen(output_fd, buf, len) != len) { in gzip_decompress_to_file()
A Dlzma.c84 if (writen(output_fd, buf_out, write_size) != write_size) { in lzma_decompress_to_file()
A Dvdso.c174 if (count && writen(fd, buf, count) != (ssize_t)count) in vdso__do_copy_compat()
A Ddata.c394 return writen(file->fd, buf, size); in perf_data_file__write()
A Dauxtrace.c881 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 Dheader.c97 ssize_t ret = writen(ff->fd, buf, size); in __do_write_fd()
/linux/tools/perf/
A Dbuiltin-daemon.c544 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