Searched refs:fd_structs (Results 1 – 1 of 1) sorted by relevance
387 struct pollfd fd_structs[2]; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() local390 fd_structs[ZYGOTE_IDX].fd = zygote_socket_fd; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()391 fd_structs[ZYGOTE_IDX].events = POLLIN; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()392 fd_structs[SESSION_IDX].fd = session_socket; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()393 fd_structs[SESSION_IDX].events = POLLIN; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()443 int poll_res = TEMP_FAILURE_RETRY(poll(fd_structs, 2, -1 /* infinite timeout */)); in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()444 if ((fd_structs[SESSION_IDX].revents & POLLIN) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()448 } else if (poll_res == 0 || (fd_structs[ZYGOTE_IDX].revents & POLLIN) == 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()