Searched refs:epev (Results 1 – 2 of 2) sorted by relevance
/system/core/lmkd/libpsi/ |
D | psi.c | 80 struct epoll_event epev; in register_psi_monitor() local 82 epev.events = EPOLLPRI; in register_psi_monitor() 83 epev.data.ptr = data; in register_psi_monitor() 84 res = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &epev); in register_psi_monitor()
|
/system/core/lmkd/ |
D | lmkd.c | 827 struct epoll_event epev; in ctrl_data_close() local 830 if (epoll_ctl(epollfd, EPOLL_CTL_DEL, data_sock[dsock_idx].sock, &epev) == -1) { in ctrl_data_close() 949 struct epoll_event epev; in ctrl_connect_handler() local 976 epev.events = EPOLLIN; in ctrl_connect_handler() 977 epev.data.ptr = (void *)&(data_sock[free_dscock_idx].handler_info); in ctrl_connect_handler() 978 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, data_sock[free_dscock_idx].sock, &epev) == -1) { in ctrl_connect_handler() 1804 struct epoll_event epev; in init_mp_common() local 1841 epev.events = EPOLLIN; in init_mp_common() 1845 epev.data.ptr = (void *)&vmpressure_hinfo[level_idx]; in init_mp_common() 1846 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, evfd, &epev); in init_mp_common() [all …]
|