Searched refs:readn (Results 1 – 5 of 5) sorted by relevance
/external/linux-tools-perf/src/tools/perf/util/ |
D | header.c | 117 sz = readn(fd, &len, sizeof(len)); in do_read_string() 128 ret = readn(fd, buf, len); in do_read_string() 1254 ret = readn(fd, &nre, sizeof(nre)); in read_event_desc() 1261 ret = readn(fd, &sz, sizeof(sz)); in read_event_desc() 1289 ret = readn(fd, buf, sz); in read_event_desc() 1298 ret = readn(fd, &nr, sizeof(nr)); in read_event_desc() 1319 ret = readn(fd, id, sizeof(*id)); in read_event_desc() 1579 if (readn(input, &old_bev, sizeof(old_bev)) != sizeof(old_bev)) in perf_header__read_build_ids_abi_quirk() 1586 if (readn(input, filename, len) != len) in perf_header__read_build_ids_abi_quirk() 1621 if (readn(input, &bev, sizeof(bev)) != sizeof(bev)) in perf_header__read_build_ids() [all …]
|
D | util.h | 253 int readn(int fd, void *buf, size_t size);
|
D | util.c | 146 int readn(int fd, void *buf, size_t n) in readn() function
|
D | session.c | 1196 err = readn(self->fd, event, sizeof(struct perf_event_header)); in __perf_session__process_pipe_events() 1228 err = readn(self->fd, p, size - sizeof(struct perf_event_header)); in __perf_session__process_pipe_events()
|
D | evsel.c | 860 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) < 0) in __perf_evsel__read_on_cpu() 891 if (readn(FD(evsel, cpu, thread), in __perf_evsel__read()
|