Lines Matching refs:FD
137 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro
1616 if (FD(leader, cpu_map_idx, thread) < 0) in evsel__read_group()
1619 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0) in evsel__read_group()
1640 if (FD(evsel, cpu_map_idx, thread) < 0) in __evsel__read_on_cpu()
1646 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
1694 fd = FD(leader, cpu_map_idx, thread); in get_group_fd()
1704 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1); in evsel__remove_fd()
2089 FD(evsel, idx, thread) = fd; in evsel__open_cpu()
2173 if (FD(evsel, idx, thread) >= 0) in evsel__open_cpu()
2174 close(FD(evsel, idx, thread)); in evsel__open_cpu()
2175 FD(evsel, idx, thread) = -1; in evsel__open_cpu()
3102 int fd = FD(evsel, cpu_map_idx, thread); in store_evsel_ids()