Searched refs:readn (Results 1 – 12 of 12) sorted by relevance
/linux/tools/lib/perf/include/internal/ |
A D | lib.h | 9 ssize_t readn(int fd, void *buf, size_t n);
|
/linux/tools/lib/perf/ |
A D | lib.c | 36 ssize_t readn(int fd, void *buf, size_t n) in readn() function
|
A D | evsel.c | 321 if (readn(*fd, count->values, size) <= 0) in perf_evsel__read()
|
/linux/tools/perf/util/ |
A 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()
|
A D | header.c | 194 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 D | data.c | 388 return readn(data->file.fd, buf, size); in perf_data__read()
|
A D | auxtrace.c | 268 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 D | evsel.c | 1576 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 D | session.c | 1728 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 D | symbol-elf.c | 1978 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
|
/linux/drivers/scsi/qla2xxx/ |
A 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/tools/perf/ |
A D | builtin-daemon.c | 821 if (sizeof(cmd) != readn(fd, &cmd, sizeof(cmd))) { in handle_server_socket()
|
Completed in 47 milliseconds