Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/perf/include/internal/
Dlib.h9 ssize_t readn(int fd, void *buf, size_t n);
/linux-6.12.1/tools/lib/perf/
Dlib.c36 ssize_t readn(int fd, void *buf, size_t n) in readn() function
Devsel.c337 if (readn(*fd, data, size) <= 0) { in perf_evsel__read_group()
408 if (readn(*fd, buf.values, size) <= 0) in perf_evsel__read()
/linux-6.12.1/tools/perf/util/
Dsymbol-minimal.c310 if (readn(fd, e_ident, sizeof(e_ident)) != sizeof(e_ident)) in fd__is_64_bit()
332 if (readn(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr)) in dso__type_fd()
Dhisi-ptt.c112 err = readn(fd, data, size); in hisi_ptt_process_auxtrace_event()
Dheader.c200 ssize_t ret = readn(ff->fd, addr, size); in __do_read_fd()
2350 if (readn(input, &old_bev, sizeof(old_bev)) != sizeof(old_bev)) in perf_header__read_build_ids_abi_quirk()
2357 if (readn(input, filename, len) != len) in perf_header__read_build_ids_abi_quirk()
2392 if (readn(input, &bev, sizeof(bev)) != sizeof(bev)) in perf_header__read_build_ids()
2399 if (readn(input, filename, len) != len) in perf_header__read_build_ids()
3831 if (readn(fd, buf, size) <= 0) in perf_header__getbuffer64()
4003 ret = readn(fd, header, sizeof(*header)); in perf_file_header__read()
4159 ret = readn(fd, attr, PERF_ATTR_SIZE_VER0); in read_attr()
4186 ret = readn(fd, ptr, left); in read_attr()
4189 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr()
[all …]
Ddata.c411 return readn(data->file.fd, buf, size); in perf_data__read()
Dauxtrace.c283 ret = readn(fd, p, size); in auxtrace_copy_data()
946 if (readn(fd, &ent, sizeof(ent)) != sizeof(ent)) in auxtrace_index__process_entry()
974 if (readn(fd, &nr, sizeof(u64)) != sizeof(u64)) in auxtrace_index__process()
Dsession.c1525 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event()
1539 if (readn(fd, buf, rest) != (ssize_t)rest) in perf_session__peek_event()
Devsel.c1681 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0) in evsel__read_group()
1873 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
Dsymbol-elf.c2487 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
/linux-6.12.1/drivers/scsi/qla2xxx/
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-6.12.1/tools/perf/
Dbuiltin-inject.c1579 ret = readn(gs->tmp_fd, buf, hdr_sz); in guest_session__fetch()
1591 ret = readn(gs->tmp_fd, buf, hdr->size - hdr_sz); in guest_session__fetch()
Dbuiltin-daemon.c822 if (sizeof(cmd) != readn(fd, &cmd, sizeof(cmd))) { in handle_server_socket()