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