Lines Matching refs:pollfd

109 	struct fdarray		pollfd;  member
1051 fdarray__init(&thread_data->pollfd, 64); in record__thread_data_init_pollfd()
1058 for (f = 0; f < evlist->core.pollfd.nr; f++) { in record__thread_data_init_pollfd()
1059 void *ptr = evlist->core.pollfd.priv[f].ptr; in record__thread_data_init_pollfd()
1062 pos = fdarray__dup_entry_from(&thread_data->pollfd, f, in record__thread_data_init_pollfd()
1063 &evlist->core.pollfd); in record__thread_data_init_pollfd()
1067 thread_data, pos, evlist->core.pollfd.entries[f].fd); in record__thread_data_init_pollfd()
1087 fdarray__exit(&thread_data[t].pollfd); in record__free_thread_data()
1111 struct pollfd *e_entries = evlist->core.pollfd.entries; in record__update_evlist_pollfd_from_thread()
1112 struct pollfd *t_entries = thread_data->pollfd.entries; in record__update_evlist_pollfd_from_thread()
1135 struct fdarray *fda = &evlist->core.pollfd; in record__dup_non_perf_events()
1141 ret = fdarray__dup_entry_from(&thread_data->pollfd, i, fda); in record__dup_non_perf_events()
1192 ret = fdarray__add(&thread_data[t].pollfd, thread_data[t].pipes.msg[0], in record__alloc_thread_data()
1635 struct fdarray *pollfd; in record__thread() local
1648 pollfd = &thread->pollfd; in record__thread()
1659 err = fdarray__poll(pollfd, -1); in record__thread()
1668 if (fdarray__filter(pollfd, POLLERR | POLLHUP, in record__thread()
1673 if (pollfd->entries[ctlfd_pos].revents & POLLHUP) { in record__thread()
1677 pollfd->entries[ctlfd_pos].fd = -1; in record__thread()
1678 pollfd->entries[ctlfd_pos].events = 0; in record__thread()
1681 pollfd->entries[ctlfd_pos].revents = 0; in record__thread()
2681 err = fdarray__poll(&thread->pollfd, -1); in __cmd_record()
2690 if (fdarray__filter(&thread->pollfd, POLLERR | POLLHUP, in __cmd_record()