Lines Matching refs:prio_head

66 		p = SCTP_SO(stream, i)->ext->prio_head;  in sctp_sched_prio_get_head()
95 struct sctp_stream_priorities *prio_head = soute->prio_head; in sctp_sched_prio_unsched() local
100 if (prio_head->next == soute) in sctp_sched_prio_unsched()
102 sctp_sched_prio_next_stream(prio_head); in sctp_sched_prio_unsched()
107 if (list_empty(&prio_head->active)) { in sctp_sched_prio_unsched()
108 list_del_init(&prio_head->prio_sched); in sctp_sched_prio_unsched()
110 prio_head->next = NULL; in sctp_sched_prio_unsched()
120 struct sctp_stream_priorities *prio, *prio_head; in sctp_sched_prio_sched() local
122 prio_head = soute->prio_head; in sctp_sched_prio_sched()
132 if (prio_head->next) { in sctp_sched_prio_sched()
133 list_add(&soute->prio_list, prio_head->next->prio_list.prev); in sctp_sched_prio_sched()
137 list_add(&soute->prio_list, &prio_head->active); in sctp_sched_prio_sched()
138 prio_head->next = soute; in sctp_sched_prio_sched()
141 if (prio->prio > prio_head->prio) { in sctp_sched_prio_sched()
142 list_add(&prio_head->prio_sched, prio->prio_sched.prev); in sctp_sched_prio_sched()
147 list_add_tail(&prio_head->prio_sched, &stream->prio_list); in sctp_sched_prio_sched()
155 struct sctp_stream_priorities *prio_head, *old; in sctp_sched_prio_set() local
159 prio_head = sctp_sched_prio_get_head(stream, prio, gfp); in sctp_sched_prio_set()
160 if (!prio_head) in sctp_sched_prio_set()
164 old = soute->prio_head; in sctp_sched_prio_set()
165 soute->prio_head = prio_head; in sctp_sched_prio_set()
175 if (soute && soute->prio_head == old) in sctp_sched_prio_set()
189 *value = SCTP_SO(stream, sid)->ext->prio_head->prio; in sctp_sched_prio_get()
209 struct sctp_stream_priorities *prio = SCTP_SO(stream, sid)->ext->prio_head; in sctp_sched_prio_free_sid()
215 SCTP_SO(stream, sid)->ext->prio_head = NULL; in sctp_sched_prio_free_sid()
218 SCTP_SO(stream, i)->ext->prio_head == prio) in sctp_sched_prio_free_sid()
241 prio = SCTP_SO(stream, i)->ext->prio_head; in sctp_sched_prio_free()
304 prio = soute->prio_head; in sctp_sched_prio_dequeue_done()