Lines Matching defs:ent
46 auto &ent = p.second;
47 dlist_delete_all(ent.blocked);
87 auto &ent = find_host_entry(make_host_key(downstream));
88 ++ent.num_active;
94 auto &ent = find_host_entry(make_host_key(downstream));
100 ent.blocked.append(link);
108 auto &ent = (*itr).second;
109 return ent.num_active < conn_max_per_host_;
113 bool remove_host_entry_if_empty(const DownstreamQueue::HostEntry &ent,
116 if (ent.blocked.empty() && ent.num_active == 0) {
132 auto &ent = find_host_entry(host);
135 --ent.num_active;
140 ent.blocked.remove(link);
145 if (remove_host_entry_if_empty(ent, host_entries_, host)) {
149 if (!next_blocked || ent.num_active >= conn_max_per_host_) {
153 auto link = ent.blocked.head;
164 ent.blocked.remove(link);
166 remove_host_entry_if_empty(ent, host_entries_, host);