• Home
  • Raw
  • Download

Lines Matching refs:prio_head

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