Lines Matching refs:TAILQ_FIRST

81 		strq = TAILQ_FIRST(&asoc->ss_data.out.wheel);  in sctp_ss_default_clear()
184 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_default_select()
188 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_default_select()
205 if (TAILQ_FIRST(&strq->outqueue) && in sctp_ss_default_select()
206 TAILQ_FIRST(&strq->outqueue)->net != NULL && in sctp_ss_default_select()
207 TAILQ_FIRST(&strq->outqueue)->net != net) { in sctp_ss_default_select()
234 sp = TAILQ_FIRST(&strq->outqueue); in sctp_ss_default_scheduled()
291 sp = TAILQ_FIRST(&strq->outqueue); in sctp_ss_default_is_user_msgs_incomplete()
315 strqt = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_rr_add()
358 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_rrp_packet_done()
362 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_rrp_packet_done()
379 if (TAILQ_FIRST(&strq->outqueue) && in sctp_ss_rrp_packet_done()
380 TAILQ_FIRST(&strq->outqueue)->net != NULL && in sctp_ss_rrp_packet_done()
381 TAILQ_FIRST(&strq->outqueue)->net != net) { in sctp_ss_rrp_packet_done()
407 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_prio_clear()
454 strqt = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_prio_add()
521 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_prio_select()
528 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_prio_select()
545 if (TAILQ_FIRST(&strq->outqueue) && in sctp_ss_prio_select()
546 TAILQ_FIRST(&strq->outqueue)->net != NULL && in sctp_ss_prio_select()
547 TAILQ_FIRST(&strq->outqueue)->net != net) { in sctp_ss_prio_select()
600 strq = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_fb_clear()
642 strq->ss_params.ss.fb.rounds = TAILQ_FIRST(&strq->outqueue)->length; in sctp_ss_fb_add()
696TAILQ_FIRST(&asoc->ss_data.out.wheel) == TAILQ_LAST(&asoc->ss_data.out.wheel, sctpwheel_listhead))… in sctp_ss_fb_select()
697 strqt = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_fb_select()
705 … (net == NULL || (TAILQ_FIRST(&strqt->outqueue) && TAILQ_FIRST(&strqt->outqueue)->net == NULL) || in sctp_ss_fb_select()
706 (net != NULL && TAILQ_FIRST(&strqt->outqueue) && TAILQ_FIRST(&strqt->outqueue)->net != NULL && in sctp_ss_fb_select()
707 TAILQ_FIRST(&strqt->outqueue)->net == net))))) { in sctp_ss_fb_select()
717 strqt = TAILQ_FIRST(&asoc->ss_data.out.wheel); in sctp_ss_fb_select()
735 sp = TAILQ_FIRST(&strq->outqueue); in sctp_ss_fb_scheduled()
750 if (TAILQ_FIRST(&strq->outqueue)) { in sctp_ss_fb_scheduled()
751 strq->ss_params.ss.fb.rounds = TAILQ_FIRST(&strq->outqueue)->length; in sctp_ss_fb_scheduled()
786 sp = TAILQ_FIRST(&asoc->strmout[i].outqueue); in sctp_ss_fcfs_init()
812 sp = TAILQ_FIRST(&asoc->ss_data.out.list); in sctp_ss_fcfs_clear()
884 sp = TAILQ_FIRST(&asoc->ss_data.out.list); in sctp_ss_fcfs_select()
903 if (TAILQ_FIRST(&strq->outqueue) && in sctp_ss_fcfs_select()
904 TAILQ_FIRST(&strq->outqueue)->net != NULL && in sctp_ss_fcfs_select()
905 TAILQ_FIRST(&strq->outqueue)->net != net) { in sctp_ss_fcfs_select()
925 sp = TAILQ_FIRST(&strq->outqueue); in sctp_ss_fcfs_scheduled()