Searched refs:g_shards (Results 1 – 6 of 6) sorted by relevance
/external/grpc-grpc/src/core/lib/iomgr/ |
D | timer_generic.cc | 79 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/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | timer_generic.cc | 81 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 …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/ |
D | slice_intern.cc | 53 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()
|
/external/grpc-grpc/src/core/lib/slice/ |
D | slice_intern.cc | 62 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/ |
D | metadata.cc | 111 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()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/ |
D | metadata.cc | 230 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()
|