Lines Matching refs:prio_head
79 p = SCTP_SO(stream, i)->ext->prio_head;
108 struct sctp_stream_priorities *prio_head = soute->prio_head;
113 if (prio_head->next == soute)
115 sctp_sched_prio_next_stream(prio_head);
120 if (list_empty(&prio_head->active)) {
121 list_del_init(&prio_head->prio_sched);
123 prio_head->next = NULL;
133 struct sctp_stream_priorities *prio, *prio_head;
135 prio_head = soute->prio_head;
145 if (prio_head->next) {
146 list_add(&soute->prio_list, prio_head->next->prio_list.prev);
150 list_add(&soute->prio_list, &prio_head->active);
151 prio_head->next = soute;
154 if (prio->prio > prio_head->prio) {
155 list_add(&prio_head->prio_sched, prio->prio_sched.prev);
160 list_add_tail(&prio_head->prio_sched, &stream->prio_list);
168 struct sctp_stream_priorities *prio_head, *old;
171 old = soute->prio_head;
175 prio_head = sctp_sched_prio_get_head(stream, prio, gfp);
176 if (!prio_head)
180 soute->prio_head = prio_head;
191 *value = SCTP_SO(stream, sid)->ext->prio_head->prio;
211 sctp_sched_prio_head_put(SCTP_SO(stream, sid)->ext->prio_head);
212 SCTP_SO(stream, sid)->ext->prio_head = NULL;
231 prio = SCTP_SO(stream, i)->ext->prio_head;
294 prio = soute->prio_head;