Home
last modified time | relevance | path

Searched refs:epollfdp (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/bench/
H A Depoll-wait.c103 static int *epollfdp; variable
249 epollfdp = calloc(nested, sizeof(*epollfdp)); in nest_epollfd()
250 if (!epollfdp) in nest_epollfd()
254 epollfdp[i] = epoll_create(1); in nest_epollfd()
255 if (epollfdp[i] < 0) in nest_epollfd()
263 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd()
264 epollfdp[i], &ev) < 0) in nest_epollfd()
268 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd()
H A Depoll-ctl.c55 static int *epollfdp; variable
109 epollfdp = calloc(nested, sizeof(int)); in nest_epollfd()
110 if (!epollfdp) in nest_epollfd()
114 epollfdp[i] = epoll_create(1); in nest_epollfd()
123 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd()
124 epollfdp[i], &ev) < 0) in nest_epollfd()
128 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd()