Home
last modified time | relevance | path

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

/third_party/grpc/src/core/lib/iomgr/
Dtimer_generic.cc81 static timer_shard* g_shards; variable
262 g_shards = in timer_list_init()
263 static_cast<timer_shard*>(gpr_zalloc(g_num_shards * sizeof(*g_shards))); in timer_list_init()
278 timer_shard* shard = &g_shards[i]; in timer_list_init()
299 timer_shard* shard = &g_shards[i]; in timer_list_shutdown()
309 gpr_free(g_shards); in timer_list_shutdown()
358 timer_shard* shard = &g_shards[GPR_HASH_POINTER(timer, g_num_shards)]; in timer_init()
407 static_cast<int>(shard - g_shards), shard->queue_deadline_cap, in timer_init()
467 timer_shard* shard = &g_shards[GPR_HASH_POINTER(timer, g_num_shards)]; in timer_cancel()
513 static_cast<int>(shard - g_shards), shard->queue_deadline_cap); in refill_heap()
[all …]
/third_party/grpc/src/core/lib/slice/
Dslice_intern.cc53 static slice_shard g_shards[SHARD_COUNT]; variable
71 slice_shard* shard = &g_shards[SHARD_IDX(this->hash)]; in ~InternedSliceRefcount()
238 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in MatchInternedSliceLocked()
261 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in FindOrCreateInternedSlice()
316 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_init()
354 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_shutdown()
/third_party/grpc/src/core/lib/transport/
Dmetadata.cc230 static mdtab_shard g_shards[SHARD_COUNT]; variable
237 mdtab_shard* shard = &g_shards[i]; in grpc_mdctx_global_init()
249 mdtab_shard* shard = &g_shards[i]; in grpc_mdctx_global_shutdown()
448 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in md_create_must_intern()
645 mdtab_shard* shard = &g_shards[SHARD_IDX(hash)]; in note_disposed_interned_metadata()