Home
last modified time | relevance | path

Searched refs:readn (Results 1 – 12 of 12) sorted by relevance

/linux/tools/lib/perf/include/internal/
A Dlib.h9 ssize_t readn(int fd, void *buf, size_t n);
/linux/tools/lib/perf/
A Dlib.c36 ssize_t readn(int fd, void *buf, size_t n) in readn() function
A Devsel.c321 if (readn(*fd, count->values, size) <= 0) in perf_evsel__read()
/linux/tools/perf/util/
A Dsymbol-minimal.c308 if (readn(fd, e_ident, sizeof(e_ident)) != sizeof(e_ident)) in fd__is_64_bit()
330 if (readn(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr)) in dso__type_fd()
A Dheader.c194 ssize_t ret = readn(ff->fd, addr, size); in __do_read_fd()
2241 if (readn(input, &old_bev, sizeof(old_bev)) != sizeof(old_bev)) in perf_header__read_build_ids_abi_quirk()
2248 if (readn(input, filename, len) != len) in perf_header__read_build_ids_abi_quirk()
2283 if (readn(input, &bev, sizeof(bev)) != sizeof(bev)) in perf_header__read_build_ids()
2290 if (readn(input, filename, len) != len) in perf_header__read_build_ids()
3602 if (readn(fd, buf, size) <= 0) in perf_header__getbuffer64()
3774 ret = readn(fd, header, sizeof(*header)); in perf_file_header__read()
3921 ret = readn(fd, attr, PERF_ATTR_SIZE_VER0); in read_attr()
3948 ret = readn(fd, ptr, left); in read_attr()
3951 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr()
[all …]
A Ddata.c388 return readn(data->file.fd, buf, size); in perf_data__read()
A Dauxtrace.c268 ret = readn(fd, p, size); in auxtrace_copy_data()
915 if (readn(fd, &ent, sizeof(ent)) != sizeof(ent)) in auxtrace_index__process_entry()
943 if (readn(fd, &nr, sizeof(u64)) != sizeof(u64)) in auxtrace_index__process()
A Devsel.c1576 if (readn(FD(leader, cpu, thread), data, size) <= 0) in evsel__read_group()
1603 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
A Dsession.c1728 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event()
1742 if (readn(fd, buf, rest) != (ssize_t)rest) in perf_session__peek_event()
A Dsymbol-elf.c1978 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
/linux/drivers/scsi/qla2xxx/
A Dqla_tmpl.c111 void (*readn)(void __iomem*, void *, ulong *) = qla27xx_read_vector(width); in qla27xx_read_window() local
116 readn(window, buf, len); in qla27xx_read_window()
/linux/tools/perf/
A Dbuiltin-daemon.c821 if (sizeof(cmd) != readn(fd, &cmd, sizeof(cmd))) { in handle_server_socket()

Completed in 47 milliseconds