Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/iomgr/
Dev_epoll1_linux.cc455 static size_t g_num_neighborhoods; variable
495 return static_cast<size_t>(gpr_cpu_current_cpu()) % g_num_neighborhoods; in choose_neighborhood()
512 g_num_neighborhoods = GPR_CLAMP(gpr_cpu_num_cores(), 1, MAX_NEIGHBORHOODS); in pollset_global_init()
514 gpr_zalloc(sizeof(*g_neighborhoods) * g_num_neighborhoods)); in pollset_global_init()
515 for (size_t i = 0; i < g_num_neighborhoods; i++) { in pollset_global_init()
525 for (size_t i = 0; i < g_num_neighborhoods; i++) { in pollset_global_shutdown()
949 for (size_t i = 0; !found_worker && i < g_num_neighborhoods; i++) { in end_worker()
952 g_num_neighborhoods]; in end_worker()
961 for (size_t i = 0; !found_worker && i < g_num_neighborhoods; i++) { in end_worker()
965 g_num_neighborhoods]; in end_worker()