Searched refs:cap_entries (Results 1 – 2 of 2) sorted by relevance
178 tbl->max_entries = tbl->cap_entries = in grpc_chttp2_hptbl_init()181 gpr_malloc(sizeof(*tbl->ents) * tbl->cap_entries)); in grpc_chttp2_hptbl_init()182 memset(tbl->ents, 0, sizeof(*tbl->ents) * tbl->cap_entries); in grpc_chttp2_hptbl_init()197 GRPC_MDELEM_UNREF(tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]); in grpc_chttp2_hptbl_destroy()212 (tbl->num_ents - 1u - tbl_index + tbl->first_ent) % tbl->cap_entries; in grpc_chttp2_hptbl_lookup()227 tbl->first_ent = ((tbl->first_ent + 1) % tbl->cap_entries); in evict1()238 ents[i] = tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]; in rebuild_ents()242 tbl->cap_entries = new_cap; in rebuild_ents()282 if (tbl->max_entries > tbl->cap_entries) { in grpc_chttp2_hptbl_set_current_table_size()283 rebuild_ents(tbl, GPR_MAX(tbl->max_entries, 2 * tbl->cap_entries)); in grpc_chttp2_hptbl_set_current_table_size()[all …]
64 uint32_t cap_entries; member