Searched refs:readn (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.6/tools/lib/perf/include/internal/ |
D | lib.h | 9 ssize_t readn(int fd, void *buf, size_t n);
|
/Linux-v6.6/tools/lib/perf/ |
D | lib.c | 36 ssize_t readn(int fd, void *buf, size_t n) in readn() function
|
D | evsel.c | 337 if (readn(*fd, data, size) <= 0) { in perf_evsel__read_group() 408 if (readn(*fd, buf.values, size) <= 0) in perf_evsel__read()
|
/Linux-v6.6/tools/perf/util/ |
D | symbol-minimal.c | 308 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()
|
D | hisi-ptt.c | 115 err = readn(fd, data, size); in hisi_ptt_process_auxtrace_event()
|
D | header.c | 200 ssize_t ret = readn(ff->fd, addr, size); in __do_read_fd() 2340 if (readn(input, &old_bev, sizeof(old_bev)) != sizeof(old_bev)) in perf_header__read_build_ids_abi_quirk() 2347 if (readn(input, filename, len) != len) in perf_header__read_build_ids_abi_quirk() 2382 if (readn(input, &bev, sizeof(bev)) != sizeof(bev)) in perf_header__read_build_ids() 2389 if (readn(input, filename, len) != len) in perf_header__read_build_ids() 3772 if (readn(fd, buf, size) <= 0) in perf_header__getbuffer64() 3944 ret = readn(fd, header, sizeof(*header)); in perf_file_header__read() 4091 ret = readn(fd, attr, PERF_ATTR_SIZE_VER0); in read_attr() 4118 ret = readn(fd, ptr, left); in read_attr() 4121 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr() [all …]
|
D | data.c | 394 return readn(data->file.fd, buf, size); in perf_data__read()
|
D | auxtrace.c | 278 ret = readn(fd, p, size); in auxtrace_copy_data() 941 if (readn(fd, &ent, sizeof(ent)) != sizeof(ent)) in auxtrace_index__process_entry() 969 if (readn(fd, &nr, sizeof(u64)) != sizeof(u64)) in auxtrace_index__process()
|
D | evsel.c | 1596 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0) in evsel__read_group() 1623 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
|
D | session.c | 1785 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event() 1799 if (readn(fd, buf, rest) != (ssize_t)rest) in perf_session__peek_event()
|
D | symbol-elf.c | 2415 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
|
/Linux-v6.6/drivers/scsi/qla2xxx/ |
D | qla_tmpl.c | 111 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-v6.6/tools/perf/ |
D | builtin-daemon.c | 821 if (sizeof(cmd) != readn(fd, &cmd, sizeof(cmd))) { in handle_server_socket()
|
D | builtin-inject.c | 1390 ret = readn(gs->tmp_fd, buf, hdr_sz); in guest_session__fetch() 1402 ret = readn(gs->tmp_fd, buf, hdr->size - hdr_sz); in guest_session__fetch()
|