Lines Matching refs:FD
253 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro
1851 if (FD(leader, cpu_map_idx, thread) < 0) in evsel__read_group()
1854 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0) in evsel__read_group()
1903 if (FD(evsel, cpu_map_idx, thread) < 0) in __evsel__read_on_cpu()
1909 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
1957 fd = FD(leader, cpu_map_idx, thread); in get_group_fd()
1971 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1); in evsel__remove_fd()
2643 FD(evsel, idx, thread) = fd; in evsel__open_cpu()
2724 if (FD(evsel, idx, thread) >= 0) in evsel__open_cpu()
2725 close(FD(evsel, idx, thread)); in evsel__open_cpu()
2726 FD(evsel, idx, thread) = -1; in evsel__open_cpu()
3888 int fd = FD(evsel, cpu_map_idx, thread); in store_evsel_ids()