Lines Matching refs:FD
102 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
1520 if (FD(leader, cpu, thread) < 0)
1523 if (readn(FD(leader, cpu, thread), data, size) <= 0)
1544 if (FD(evsel, cpu, thread) < 0)
1550 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) <= 0)
1573 fd = FD(leader, cpu, thread);
1585 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1);
1798 FD(evsel, cpu, thread) = fd;
1964 if (FD(evsel, cpu, thread) >= 0)
1965 close(FD(evsel, cpu, thread));
1966 FD(evsel, cpu, thread) = -1;
2719 int fd = FD(evsel, cpu, thread);