Lines Matching refs:stcb
50 sctp_ss_default_init(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_ss_default_init() argument
54 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_init()
65 stcb->asoc.ss_functions.sctp_ss_add_to_stream(stcb, asoc, in sctp_ss_default_init()
73 sctp_ss_default_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_clear() argument
76 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_clear()
91 sctp_ss_default_init_stream(struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream… in sctp_ss_default_init_stream() argument
93 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_init_stream()
96 if (stcb->asoc.ss_data.locked_on_sending == with_strq) { in sctp_ss_default_init_stream()
97 stcb->asoc.ss_data.locked_on_sending = strq; in sctp_ss_default_init_stream()
99 if (stcb->asoc.ss_data.last_out_stream == with_strq) { in sctp_ss_default_init_stream()
100 stcb->asoc.ss_data.last_out_stream = strq; in sctp_ss_default_init_stream()
108 sctp_ss_default_add(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_add() argument
112 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_add()
124 sctp_ss_default_is_empty(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc) in sctp_ss_default_is_empty()
126 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_is_empty()
132 sctp_ss_default_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_default_remove() argument
136 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_remove()
165 sctp_ss_default_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, in sctp_ss_default_select()
170 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_select()
220 sctp_ss_default_scheduled(struct sctp_tcb *stcb, in sctp_ss_default_scheduled() argument
230 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_scheduled()
247 sctp_ss_default_packet_done(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net SCTP_UNUSED, in sctp_ss_default_packet_done()
250 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_packet_done()
257 sctp_ss_default_get_value(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc SCTP_UNU… in sctp_ss_default_get_value()
260 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_get_value()
267 sctp_ss_default_set_value(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc SCTP_UNU… in sctp_ss_default_set_value()
270 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_set_value()
277 sctp_ss_default_is_user_msgs_incomplete(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association … in sctp_ss_default_is_user_msgs_incomplete()
282 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_default_is_user_msgs_incomplete()
303 sctp_ss_rr_add(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_rr_add() argument
309 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_rr_add()
336 sctp_ss_rrp_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net SCTP_UNUSED, in sctp_ss_rrp_select()
339 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_rrp_select()
345 sctp_ss_rrp_packet_done(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, in sctp_ss_rrp_packet_done()
350 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_rrp_packet_done()
399 sctp_ss_prio_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_prio_clear() argument
402 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_prio_clear()
420 sctp_ss_prio_init_stream(struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_ou… in sctp_ss_prio_init_stream() argument
422 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_prio_init_stream()
425 if (stcb->asoc.ss_data.locked_on_sending == with_strq) { in sctp_ss_prio_init_stream()
426 stcb->asoc.ss_data.locked_on_sending = strq; in sctp_ss_prio_init_stream()
428 if (stcb->asoc.ss_data.last_out_stream == with_strq) { in sctp_ss_prio_init_stream()
429 stcb->asoc.ss_data.last_out_stream = strq; in sctp_ss_prio_init_stream()
442 sctp_ss_prio_add(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_prio_add() argument
447 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_prio_add()
470 sctp_ss_prio_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_prio_remove() argument
473 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_prio_remove()
502 sctp_ss_prio_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, in sctp_ss_prio_select()
507 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_prio_select()
560 sctp_ss_prio_get_value(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc SCTP_UNUSED, in sctp_ss_prio_get_value()
563 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_prio_get_value()
573 sctp_ss_prio_set_value(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_prio_set_value() argument
576 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_prio_set_value()
582 sctp_ss_prio_remove(stcb, asoc, strq, NULL); in sctp_ss_prio_set_value()
583 sctp_ss_prio_add(stcb, asoc, strq, NULL); in sctp_ss_prio_set_value()
592 sctp_ss_fb_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_fb_clear() argument
595 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fb_clear()
613 sctp_ss_fb_init_stream(struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_out … in sctp_ss_fb_init_stream() argument
615 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fb_init_stream()
618 if (stcb->asoc.ss_data.locked_on_sending == with_strq) { in sctp_ss_fb_init_stream()
619 stcb->asoc.ss_data.locked_on_sending = strq; in sctp_ss_fb_init_stream()
621 if (stcb->asoc.ss_data.last_out_stream == with_strq) { in sctp_ss_fb_init_stream()
622 stcb->asoc.ss_data.last_out_stream = strq; in sctp_ss_fb_init_stream()
635 sctp_ss_fb_add(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_fb_add() argument
638 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fb_add()
650 sctp_ss_fb_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_fb_remove() argument
653 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fb_remove()
682 sctp_ss_fb_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, in sctp_ss_fb_select()
687 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fb_select()
724 sctp_ss_fb_scheduled(struct sctp_tcb *stcb, struct sctp_nets *net SCTP_UNUSED, in sctp_ss_fb_scheduled() argument
732 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fb_scheduled()
764 sctp_ss_fcfs_add(struct sctp_tcb *stcb, struct sctp_association *asoc,
769 sctp_ss_fcfs_init(struct sctp_tcb *stcb, struct sctp_association *asoc) in sctp_ss_fcfs_init() argument
775 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fcfs_init()
794 sctp_ss_fcfs_add(stcb, asoc, &asoc->strmout[i], sp); in sctp_ss_fcfs_init()
804 sctp_ss_fcfs_clear(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_fcfs_clear() argument
809 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fcfs_clear()
822 sctp_ss_fcfs_init_stream(struct sctp_tcb *stcb, struct sctp_stream_out *strq, struct sctp_stream_ou… in sctp_ss_fcfs_init_stream() argument
824 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fcfs_init_stream()
827 if (stcb->asoc.ss_data.locked_on_sending == with_strq) { in sctp_ss_fcfs_init_stream()
828 stcb->asoc.ss_data.locked_on_sending = strq; in sctp_ss_fcfs_init_stream()
830 if (stcb->asoc.ss_data.last_out_stream == with_strq) { in sctp_ss_fcfs_init_stream()
831 stcb->asoc.ss_data.last_out_stream = strq; in sctp_ss_fcfs_init_stream()
839 sctp_ss_fcfs_add(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_fcfs_add() argument
842 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fcfs_add()
852 sctp_ss_fcfs_is_empty(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_association *asoc) in sctp_ss_fcfs_is_empty()
854 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fcfs_is_empty()
860 sctp_ss_fcfs_remove(struct sctp_tcb *stcb, struct sctp_association *asoc, in sctp_ss_fcfs_remove() argument
863 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fcfs_remove()
873 sctp_ss_fcfs_select(struct sctp_tcb *stcb SCTP_UNUSED, struct sctp_nets *net, in sctp_ss_fcfs_select()
879 SCTP_TCB_LOCK_ASSERT(stcb); in sctp_ss_fcfs_select()
914 sctp_ss_fcfs_scheduled(struct sctp_tcb *stcb, in sctp_ss_fcfs_scheduled() argument