Lines Matching refs:FD
137 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro
1618 if (FD(leader, cpu_map_idx, thread) < 0) in evsel__read_group()
1621 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0) in evsel__read_group()
1642 if (FD(evsel, cpu_map_idx, thread) < 0) in __evsel__read_on_cpu()
1648 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
1696 fd = FD(leader, cpu_map_idx, thread); in get_group_fd()
1706 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1); in evsel__remove_fd()
2092 FD(evsel, idx, thread) = fd; in evsel__open_cpu()
2176 if (FD(evsel, idx, thread) >= 0) in evsel__open_cpu()
2177 close(FD(evsel, idx, thread)); in evsel__open_cpu()
2178 FD(evsel, idx, thread) = -1; in evsel__open_cpu()
3097 int fd = FD(evsel, cpu_map_idx, thread); in store_evsel_ids()