Lines Matching refs:nghttp2_stream

47     const nghttp2_stream *lhs, *rhs;  in stream_less()
49 lhs = nghttp2_struct_of(lhsx, nghttp2_stream, pq_entry); in stream_less()
50 rhs = nghttp2_struct_of(rhsx, nghttp2_stream, pq_entry); in stream_less()
63 void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id, in nghttp2_stream_init()
110 void nghttp2_stream_free(nghttp2_stream *stream) in nghttp2_stream_free()
118 void nghttp2_stream_shutdown(nghttp2_stream *stream, nghttp2_shut_flag flag) in nghttp2_stream_shutdown()
127 static int stream_active(nghttp2_stream *stream) in stream_active()
136 static int stream_subtree_active(nghttp2_stream *stream) in stream_subtree_active()
144 static void stream_next_cycle(nghttp2_stream *stream, uint32_t last_cycle) in stream_next_cycle()
155 static int stream_obq_push(nghttp2_stream *dep_stream, nghttp2_stream *stream) in stream_obq_push()
185 static void stream_obq_remove(nghttp2_stream *stream) in stream_obq_remove()
187 nghttp2_stream *dep_stream; in stream_obq_remove()
221 static int stream_obq_move(nghttp2_stream *dest, nghttp2_stream *src, in stream_obq_move()
222 nghttp2_stream *stream) in stream_obq_move()
237 void nghttp2_stream_reschedule(nghttp2_stream *stream) in nghttp2_stream_reschedule()
239 nghttp2_stream *dep_stream; in nghttp2_stream_reschedule()
260 void nghttp2_stream_change_weight(nghttp2_stream *stream, int32_t weight) in nghttp2_stream_change_weight()
262 nghttp2_stream *dep_stream; in nghttp2_stream_change_weight()
318 static nghttp2_stream *stream_last_sib(nghttp2_stream *stream) in stream_last_sib()
326 int32_t nghttp2_stream_dep_distributed_weight(nghttp2_stream *stream, in nghttp2_stream_dep_distributed_weight()
336 static void ensure_inactive(nghttp2_stream *stream) in ensure_inactive()
338 nghttp2_stream *si; in ensure_inactive()
363 static void check_queued(nghttp2_stream *stream) in check_queued()
365 nghttp2_stream *si; in check_queued()
413 static void check_sum_dep(nghttp2_stream *stream) in check_sum_dep()
415 nghttp2_stream *si; in check_sum_dep()
430 static void check_dep_prev(nghttp2_stream *stream) in check_dep_prev()
432 nghttp2_stream *si; in check_dep_prev()
446 static void validate_tree(nghttp2_stream *stream) in validate_tree()
448 nghttp2_stream *si; in validate_tree()
476 static void validate_tree(nghttp2_stream *stream) in validate_tree()
482 static int stream_update_dep_on_attach_item(nghttp2_stream *stream) in stream_update_dep_on_attach_item()
495 static int stream_update_dep_on_detach_item(nghttp2_stream *stream) in stream_update_dep_on_detach_item()
506 int nghttp2_stream_attach_item(nghttp2_stream *stream, in nghttp2_stream_attach_item()
531 int nghttp2_stream_detach_item(nghttp2_stream *stream) in nghttp2_stream_detach_item()
543 int nghttp2_stream_defer_item(nghttp2_stream *stream, uint8_t flags) in nghttp2_stream_defer_item()
555 int nghttp2_stream_resume_deferred_item(nghttp2_stream *stream, uint8_t flags) in nghttp2_stream_resume_deferred_item()
571 int nghttp2_stream_check_deferred_item(nghttp2_stream *stream) in nghttp2_stream_check_deferred_item()
576 int nghttp2_stream_check_deferred_by_flow_control(nghttp2_stream *stream) in nghttp2_stream_check_deferred_by_flow_control()
597 nghttp2_stream *stream, int32_t new_initial_window_size, in nghttp2_stream_update_remote_initial_window_size()
606 nghttp2_stream *stream, int32_t new_initial_window_size, in nghttp2_stream_update_local_initial_window_size()
614 void nghttp2_stream_promise_fulfilled(nghttp2_stream *stream) in nghttp2_stream_promise_fulfilled()
620 int nghttp2_stream_dep_find_ancestor(nghttp2_stream *stream, in nghttp2_stream_dep_find_ancestor()
621 nghttp2_stream *target) in nghttp2_stream_dep_find_ancestor()
631 int nghttp2_stream_dep_insert(nghttp2_stream *dep_stream, in nghttp2_stream_dep_insert()
632 nghttp2_stream *stream) in nghttp2_stream_dep_insert()
634 nghttp2_stream *si; in nghttp2_stream_dep_insert()
672 static void set_dep_prev(nghttp2_stream *stream, nghttp2_stream *dep) in set_dep_prev()
679 static void link_dep(nghttp2_stream *dep_stream, nghttp2_stream *stream) in link_dep()
687 static void link_sib(nghttp2_stream *a, nghttp2_stream *b) in link_sib()
695 static void insert_link_dep(nghttp2_stream *dep_stream, nghttp2_stream *stream) in insert_link_dep()
697 nghttp2_stream *sib_next; in insert_link_dep()
708 static void unlink_sib(nghttp2_stream *stream) in unlink_sib()
710 nghttp2_stream *prev, *next, *dep_next; in unlink_sib()
745 static void unlink_dep(nghttp2_stream *stream) in unlink_dep()
747 nghttp2_stream *prev, *next, *dep_next; in unlink_dep()
786 void nghttp2_stream_dep_add(nghttp2_stream *dep_stream, nghttp2_stream *stream) in nghttp2_stream_dep_add()
802 int nghttp2_stream_dep_remove(nghttp2_stream *stream) in nghttp2_stream_dep_remove()
804 nghttp2_stream *dep_prev, *si; in nghttp2_stream_dep_remove()
854 int nghttp2_stream_dep_insert_subtree(nghttp2_stream *dep_stream, in nghttp2_stream_dep_insert_subtree()
855 nghttp2_stream *stream) in nghttp2_stream_dep_insert_subtree()
857 nghttp2_stream *last_sib; in nghttp2_stream_dep_insert_subtree()
858 nghttp2_stream *dep_next; in nghttp2_stream_dep_insert_subtree()
859 nghttp2_stream *si; in nghttp2_stream_dep_insert_subtree()
906 int nghttp2_stream_dep_add_subtree(nghttp2_stream *dep_stream, in nghttp2_stream_dep_add_subtree()
907 nghttp2_stream *stream) in nghttp2_stream_dep_add_subtree()
934 void nghttp2_stream_dep_remove_subtree(nghttp2_stream *stream) in nghttp2_stream_dep_remove_subtree()
936 nghttp2_stream *next, *dep_prev; in nghttp2_stream_dep_remove_subtree()
970 int nghttp2_stream_in_dep_tree(nghttp2_stream *stream) in nghttp2_stream_in_dep_tree()
976 nghttp2_outbound_item *nghttp2_stream_next_outbound_item(nghttp2_stream *stream) in nghttp2_stream_next_outbound_item()
979 nghttp2_stream *si; in nghttp2_stream_next_outbound_item()
994 stream = nghttp2_struct_of(ent, nghttp2_stream, pq_entry); in nghttp2_stream_next_outbound_item()
998 nghttp2_stream_proto_state nghttp2_stream_get_state(nghttp2_stream *stream) in nghttp2_stream_get_state()
1029 nghttp2_stream *nghttp2_stream_get_parent(nghttp2_stream *stream) in nghttp2_stream_get_parent()
1034 nghttp2_stream *nghttp2_stream_get_next_sibling(nghttp2_stream *stream) in nghttp2_stream_get_next_sibling()
1039 nghttp2_stream *nghttp2_stream_get_previous_sibling(nghttp2_stream *stream) in nghttp2_stream_get_previous_sibling()
1044 nghttp2_stream *nghttp2_stream_get_first_child(nghttp2_stream *stream) in nghttp2_stream_get_first_child()
1049 int32_t nghttp2_stream_get_weight(nghttp2_stream *stream) in nghttp2_stream_get_weight()
1054 int32_t nghttp2_stream_get_sum_dependency_weight(nghttp2_stream *stream) in nghttp2_stream_get_sum_dependency_weight()
1059 int32_t nghttp2_stream_get_stream_id(nghttp2_stream *stream) in nghttp2_stream_get_stream_id()