Lines Matching refs:pri_spec
785 const nghttp2_priority_spec *pri_spec = pri_spec_in; in nghttp2_session_reprioritize_stream() local
787 assert(pri_spec->stream_id != stream->stream_id); in nghttp2_session_reprioritize_stream()
793 if (pri_spec->stream_id != 0) { in nghttp2_session_reprioritize_stream()
795 nghttp2_session_get_stream_raw(session, pri_spec->stream_id); in nghttp2_session_reprioritize_stream()
798 session_detect_idle_stream(session, pri_spec->stream_id)) { in nghttp2_session_reprioritize_stream()
802 session, pri_spec->stream_id, NGHTTP2_FLAG_NONE, in nghttp2_session_reprioritize_stream()
810 pri_spec = &pri_spec_default; in nghttp2_session_reprioritize_stream()
814 if (pri_spec->stream_id == 0) { in nghttp2_session_reprioritize_stream()
829 if (dep_stream == stream->dep_prev && !pri_spec->exclusive) { in nghttp2_session_reprioritize_stream()
831 nghttp2_stream_change_weight(stream, pri_spec->weight); in nghttp2_session_reprioritize_stream()
839 stream->weight = pri_spec->weight; in nghttp2_session_reprioritize_stream()
841 if (pri_spec->exclusive) { in nghttp2_session_reprioritize_stream()
916 nghttp2_priority_spec pri_spec; in nghttp2_session_add_item() local
924 nghttp2_priority_spec_init(&pri_spec, stream->stream_id, in nghttp2_session_add_item()
929 NGHTTP2_STREAM_FLAG_NONE, &pri_spec, in nghttp2_session_add_item()
1039 nghttp2_priority_spec *pri_spec = pri_spec_in; in nghttp2_session_open_stream() local
1062 if (pri_spec->stream_id != 0) { in nghttp2_session_open_stream()
1064 nghttp2_session_get_stream_raw(session, pri_spec->stream_id); in nghttp2_session_open_stream()
1067 session_detect_idle_stream(session, pri_spec->stream_id)) { in nghttp2_session_open_stream()
1073 session, pri_spec->stream_id, NGHTTP2_FLAG_NONE, in nghttp2_session_open_stream()
1094 pri_spec = &pri_spec_default; in nghttp2_session_open_stream()
1104 stream, stream_id, flags, initial_state, pri_spec->weight, in nghttp2_session_open_stream()
1118 stream->weight = pri_spec->weight; in nghttp2_session_open_stream()
1148 if (pri_spec->stream_id == 0) { in nghttp2_session_open_stream()
1154 if (pri_spec->exclusive) { in nghttp2_session_open_stream()
2127 &frame->headers.pri_spec, NGHTTP2_STREAM_INITIAL, in session_prep_frame()
2744 &frame->priority.pri_spec, NGHTTP2_STREAM_IDLE, NULL); in session_after_frame_sent1()
2750 &frame->priority.pri_spec); in session_after_frame_sent1()
3995 if (frame->headers.pri_spec.stream_id == frame->hd.stream_id) { in nghttp2_session_on_request_headers_received()
4008 &frame->headers.pri_spec, NGHTTP2_STREAM_OPENING, NULL); in nghttp2_session_on_request_headers_received()
4203 if (frame->priority.pri_spec.stream_id == frame->hd.stream_id) { in nghttp2_session_on_priority_received()
4224 &frame->priority.pri_spec, NGHTTP2_STREAM_IDLE, NULL); in nghttp2_session_on_priority_received()
4236 &frame->priority.pri_spec); in nghttp2_session_on_priority_received()
4692 nghttp2_priority_spec pri_spec; in nghttp2_session_on_push_promise_received() local
4752 nghttp2_priority_spec_init(&pri_spec, stream->stream_id, in nghttp2_session_on_push_promise_received()
4757 NGHTTP2_STREAM_FLAG_NONE, &pri_spec, NGHTTP2_STREAM_RESERVED, NULL); in nghttp2_session_on_push_promise_received()
7456 nghttp2_priority_spec pri_spec; in nghttp2_session_upgrade_internal() local
7489 nghttp2_priority_spec_default_init(&pri_spec); in nghttp2_session_upgrade_internal()
7492 session, 1, NGHTTP2_STREAM_FLAG_NONE, &pri_spec, NGHTTP2_STREAM_OPENING, in nghttp2_session_upgrade_internal()
7727 const nghttp2_priority_spec *pri_spec) in nghttp2_session_change_stream_priority() argument
7733 if (stream_id == 0 || stream_id == pri_spec->stream_id) { in nghttp2_session_change_stream_priority()
7742 pri_spec_copy = *pri_spec; in nghttp2_session_change_stream_priority()
7761 const nghttp2_priority_spec *pri_spec) in nghttp2_session_create_idle_stream() argument
7766 if (stream_id == 0 || stream_id == pri_spec->stream_id || in nghttp2_session_create_idle_stream()
7776 pri_spec_copy = *pri_spec; in nghttp2_session_create_idle_stream()