Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/iomgr/
Dtimer_generic.cc79 static timer_shard* g_shards; variable
260 g_shards = in timer_list_init()
261 static_cast<timer_shard*>(gpr_zalloc(g_num_shards * sizeof(*g_shards))); in timer_list_init()
276 timer_shard* shard = &g_shards[i]; in timer_list_init()
297 timer_shard* shard = &g_shards[i]; in timer_list_shutdown()
307 gpr_free(g_shards); in timer_list_shutdown()
356 timer_shard* shard = &g_shards[GPR_HASH_POINTER(timer, g_num_shards)]; in timer_init()
404 static_cast<int>(shard - g_shards), shard->queue_deadline_cap, in timer_init()
464 timer_shard* shard = &g_shards[GPR_HASH_POINTER(timer, g_num_shards)]; in timer_cancel()
509 static_cast<int>(shard - g_shards), shard->queue_deadline_cap); in refill_heap()
[all …]
/external/grpc-grpc/src/core/lib/slice/
Dslice_intern.cc62 static slice_shard g_shards[SHARD_COUNT]; variable
80 slice_shard* shard = &g_shards[SHARD_IDX(s->hash)]; in interned_slice_destroy()
221 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in grpc_slice_intern()
279 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_init()
311 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_shutdown()
/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc111 static mdtab_shard g_shards[SHARD_COUNT]; variable
118 mdtab_shard* shard = &g_shards[i]; in grpc_mdctx_global_init()
130 mdtab_shard* shard = &g_shards[i]; in grpc_mdctx_global_shutdown()
279 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in grpc_mdelem_create()
426 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in grpc_mdelem_unref()