Lines Matching refs:FD
140 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
1594 if (FD(leader, cpu_map_idx, thread) < 0)
1597 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0)
1618 if (FD(evsel, cpu_map_idx, thread) < 0)
1624 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0)
1672 fd = FD(leader, cpu_map_idx, thread);
1686 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1);
2058 FD(evsel, idx, thread) = fd;
2142 if (FD(evsel, idx, thread) >= 0)
2143 close(FD(evsel, idx, thread));
2144 FD(evsel, idx, thread) = -1;
3128 int fd = FD(evsel, cpu_map_idx, thread);