Searched refs:cap_entries (Results 1 – 2 of 2) sorted by relevance
42 GRPC_MDELEM_UNREF(tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]); in grpc_chttp2_hptbl_destroy()55 (tbl->num_ents - 1u - tbl_index + tbl->first_ent) % tbl->cap_entries; in lookup_dynamic_index()84 tbl->first_ent = ((tbl->first_ent + 1) % tbl->cap_entries); in evict1()95 ents[i] = tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]; in rebuild_ents()99 tbl->cap_entries = new_cap; in rebuild_ents()137 if (tbl->max_entries > tbl->cap_entries) { in grpc_chttp2_hptbl_set_current_table_size()138 rebuild_ents(tbl, GPR_MAX(tbl->max_entries, 2 * tbl->cap_entries)); in grpc_chttp2_hptbl_set_current_table_size()139 } else if (tbl->max_entries < tbl->cap_entries / 3) { in grpc_chttp2_hptbl_set_current_table_size()141 if (new_cap != tbl->cap_entries) { in grpc_chttp2_hptbl_set_current_table_size()187 tbl->ents[(tbl->first_ent + tbl->num_ents) % tbl->cap_entries] = in grpc_chttp2_hptbl_add()[all …]
82 uint32_t cap_entries = kInitialCapacity; member