Searched refs:GRPC_FD_TO_IDX (Results 1 – 3 of 3) sorted by relevance
72 g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].is_set = 1; in cv_fd_wakeup()73 cvn = g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].cvs; in cv_fd_wakeup()84 g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].is_set = 0; in cv_fd_consume()95 GPR_ASSERT(!g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].cvs); in cv_fd_destroy()96 g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)].next_free = g_cvfds.free_fds; in cv_fd_destroy()97 g_cvfds.free_fds = &g_cvfds.cvfds[GRPC_FD_TO_IDX(fd_info->read_fd)]; in cv_fd_destroy()
42 #define GRPC_FD_TO_IDX(fd) (-(fd)-1) macro
1639 idx = GRPC_FD_TO_IDX(fds[i].fd);1704 remove_cvn(&g_cvfds.cvfds[GRPC_FD_TO_IDX(fds[i].fd)].cvs, &(fd_cvs[i]));1705 if (g_cvfds.cvfds[GRPC_FD_TO_IDX(fds[i].fd)].is_set) {