Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/iomgr/
Dev_epoll1_linux.cc270 static grpc_fd* fork_fd_list_head = nullptr; variable
291 fd->fork_fd_list->next = fork_fd_list_head; in fork_fd_list_add_grpc_fd()
293 if (fork_fd_list_head != nullptr) { in fork_fd_list_add_grpc_fd()
294 fork_fd_list_head->fork_fd_list->prev = fd; in fork_fd_list_add_grpc_fd()
296 fork_fd_list_head = fd; in fork_fd_list_add_grpc_fd()
304 if (fork_fd_list_head == fd) { in fork_fd_list_remove_grpc_fd()
305 fork_fd_list_head = fd->fork_fd_list->next; in fork_fd_list_remove_grpc_fd()
1287 while (fork_fd_list_head != nullptr) { in reset_event_manager_on_fork()
1288 close(fork_fd_list_head->fd); in reset_event_manager_on_fork()
1289 fork_fd_list_head->fd = -1; in reset_event_manager_on_fork()
[all …]
Dev_poll_posix.cc133 static grpc_fork_fd_list* fork_fd_list_head = nullptr; variable
316 if (fork_fd_list_head == node) { in fork_fd_list_remove_node()
317 fork_fd_list_head = node->next; in fork_fd_list_remove_node()
332 node->next = fork_fd_list_head; in fork_fd_list_add_node()
334 if (fork_fd_list_head != nullptr) { in fork_fd_list_add_node()
335 fork_fd_list_head->prev = node; in fork_fd_list_add_node()
337 fork_fd_list_head = node; in fork_fd_list_add_node()
1836 while (fork_fd_list_head != nullptr) {
1837 if (fork_fd_list_head->fd != nullptr) {
1838 close(fork_fd_list_head->fd->fd);
[all …]