• Home
  • Raw
  • Download

Lines Matching refs:weight

62                          int32_t weight, int32_t remote_initial_window_size,  in nghttp2_stream_init()  argument
88 stream->weight = weight; in nghttp2_stream_init()
143 stream->cycle = last_cycle + penalty / (uint32_t)stream->weight; in stream_next_cycle()
144 stream->pending_penalty = (uint32_t)(penalty % (uint32_t)stream->weight); in stream_next_cycle()
248 void nghttp2_stream_change_weight(nghttp2_stream *stream, int32_t weight) { in nghttp2_stream_change_weight() argument
254 if (stream->weight == weight) { in nghttp2_stream_change_weight()
258 old_weight = stream->weight; in nghttp2_stream_change_weight()
259 stream->weight = weight; in nghttp2_stream_change_weight()
267 dep_stream->sum_dep_weight += weight - old_weight; in nghttp2_stream_change_weight()
312 int32_t weight) { in nghttp2_stream_dep_distributed_weight() argument
313 weight = stream->weight * weight / stream->sum_dep_weight; in nghttp2_stream_dep_distributed_weight()
315 return nghttp2_max(1, weight); in nghttp2_stream_dep_distributed_weight()
398 n += si->weight; in check_sum_dep()
613 dep_stream->sum_dep_weight = stream->weight; in nghttp2_stream_dep_insert()
758 dep_stream->sum_dep_weight += stream->weight; in nghttp2_stream_dep_add()
777 sum_dep_weight_delta = -stream->weight; in nghttp2_stream_dep_remove()
780 si->weight = nghttp2_stream_dep_distributed_weight(stream, si->weight); in nghttp2_stream_dep_remove()
782 sum_dep_weight_delta += si->weight; in nghttp2_stream_dep_remove()
831 dep_stream->sum_dep_weight = stream->weight; in nghttp2_stream_dep_insert_subtree()
878 dep_stream->sum_dep_weight += stream->weight; in nghttp2_stream_dep_add_subtree()
920 dep_prev->sum_dep_weight -= stream->weight; in nghttp2_stream_dep_remove_subtree()
1007 return stream->weight; in nghttp2_stream_get_weight()