Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/surface/
Dchannel_init.cc38 static stage_slots g_slots[GRPC_NUM_CHANNEL_STACK_TYPES]; variable
43 g_slots[i].slots = nullptr; in grpc_channel_init_init()
44 g_slots[i].num_slots = 0; in grpc_channel_init_init()
45 g_slots[i].cap_slots = 0; in grpc_channel_init_init()
55 if (g_slots[type].cap_slots == g_slots[type].num_slots) { in grpc_channel_init_register_stage()
56 g_slots[type].cap_slots = GPR_MAX(8, 3 * g_slots[type].cap_slots / 2); in grpc_channel_init_register_stage()
57 g_slots[type].slots = static_cast<stage_slot*>( in grpc_channel_init_register_stage()
58 gpr_realloc(g_slots[type].slots, in grpc_channel_init_register_stage()
59 g_slots[type].cap_slots * sizeof(*g_slots[type].slots))); in grpc_channel_init_register_stage()
61 stage_slot* s = &g_slots[type].slots[g_slots[type].num_slots++]; in grpc_channel_init_register_stage()
[all …]