Lines Matching refs:FD
139 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro
1593 if (FD(leader, cpu_map_idx, thread) < 0) in evsel__read_group()
1596 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0) in evsel__read_group()
1617 if (FD(evsel, cpu_map_idx, thread) < 0) in __evsel__read_on_cpu()
1623 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
1671 fd = FD(leader, cpu_map_idx, thread); in get_group_fd()
1685 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1); in evsel__remove_fd()
2077 FD(evsel, idx, thread) = fd; in evsel__open_cpu()
2161 if (FD(evsel, idx, thread) >= 0) in evsel__open_cpu()
2162 close(FD(evsel, idx, thread)); in evsel__open_cpu()
2163 FD(evsel, idx, thread) = -1; in evsel__open_cpu()
3074 int fd = FD(evsel, cpu_map_idx, thread); in store_evsel_ids()