Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

net/sctp/stream.c sctp_stream_shrink_out() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
CAPPED_DATA 0 &ch->list 1
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_prio.c sctp_sched_prio_dequeue_done() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 ch->skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->skb->sk->ns_tracker->free_stack_handle 0-4294967295
DATA_SOURCE 0 ch $1
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_prio.c sctp_sched_prio_enqueue() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_prio.c sctp_sched_prio_sched_all() -> sctp_chunk_stream_no()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/sctp/stream_sched.c sctp_sched_dequeue_done() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->asoc->stream.si->data_chunk_len 16,20
DATA_SOURCE 0 ch $1
PARAM_COMPARE 0 &ch->msg->chunks != $0->frag_list.next
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_rr.c sctp_sched_rr_dequeue_done() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 ch->skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->skb->sk->ns_tracker->free_stack_handle 0-4294967295
DATA_SOURCE 0 ch $1
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_rr.c sctp_sched_rr_enqueue() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_rr.c sctp_sched_rr_sched_all() -> sctp_chunk_stream_no()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/sctp/outqueue.c sctp_outq_head_data() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->asoc 4096-ptr_max
PARAM_VALUE 0 ch->asoc->stream.si->data_chunk_len 16,20
PARAM_VALUE 0 ch->list.next 4096-ptr_max
PARAM_VALUE 0 ch->list.prev 4096-ptr_max
PARAM_VALUE 0 ch->skb 4096-ptr_max
PARAM_VALUE 0 ch->subh.data_hdr 4096-ptr_max
DATA_SOURCE 0 ch $1
RX_PATH
TASK_NOT_RUNNING

net/sctp/outqueue.c sctp_outq_tail_data() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->chunk_hdr 4096-ptr_max
PARAM_VALUE 0 ch->chunk_hdr->type 0,64
PARAM_VALUE 0 ch->list.next 4096-ptr_max
PARAM_VALUE 0 ch->skb 4096-ptr_max
DATA_SOURCE 0 ch $1
BIT_INFO 0 ch->chunk_hdr->type 0x0,0x40
RX_PATH
NO_OVERFLOW_SIMPLE 0 ch->skb->data_len
NO_OVERFLOW_SIMPLE 0 ch->skb->end
NO_OVERFLOW_SIMPLE 0 ch->skb->len
NO_OVERFLOW_SIMPLE 0 ch->skb->tail
NO_OVERFLOW_SIMPLE 0 ch->skb->truesize

net/sctp/stream_sched_fc.c sctp_sched_fc_dequeue_done() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 ch->skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->skb->sk->ns_tracker->free_stack_handle 0-4294967295
DATA_SOURCE 0 ch $1
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_fc.c sctp_sched_fc_enqueue() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

net/sctp/stream_sched_fc.c sctp_sched_fc_sched_all() -> sctp_chunk_stream_no()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk

net/sctp/stream_interleave.c sctp_chunk_assign_mid() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->asoc 4096-ptr_max
PARAM_VALUE 0 ch->asoc->stream.si 4096-ptr_max
PARAM_VALUE 0 ch->asoc->stream.si->data_chunk_len 16,20
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->auth_chunk->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 ch->chunk_hdr 4096-ptr_max
PARAM_VALUE 0 ch->chunk_hdr->type 0,64
PARAM_VALUE 0 ch->has_ssn 0
PARAM_VALUE 0 ch->has_tsn 1
PARAM_VALUE 0 ch->skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ch->skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ch->skb->sk->ns_tracker->free_stack_handle 0-4294967295
DATA_SOURCE 0 ch $0
NOSPEC 0 ch->asoc->rwnd_over
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch->asoc->adv_peer_ack_point 1-u32max
USER_DATA 0 ch->asoc->force_delay 0-1
USER_DATA 0 ch->asoc->outqueue.outstanding_bytes 0-u32max[c][u]
USER_DATA 0 ch->asoc->pathmtu 512-u32max[c][u]
USER_DATA 0 ch->asoc->peer.addip_disabled_mask 0-u16max[u]
USER_DATA 0 ch->asoc->peer.port 0-u16max
USER_DATA 0 ch->asoc->peer.primary_addr.sa.sa_family 2,10[c]
USER_DATA 0 ch->asoc->peer.primary_addr.v4.sin_addr.s_addr 0-u32max
USER_DATA 0 ch->asoc->peer.primary_addr.v4.sin_family 0-u16max
USER_DATA 0 ch->asoc->peer.primary_addr.v4.sin_port 0-u16max
USER_DATA 0 ch->asoc->peer.primary_addr.v6.sin6_family 0-u16max
USER_DATA 0 ch->asoc->peer.primary_addr.v6.sin6_flowinfo 0-u32max
USER_DATA 0 ch->asoc->peer.primary_addr.v6.sin6_port 0-u16max
USER_DATA 0 ch->asoc->peer.primary_addr.v6.sin6_scope_id 0-u32max
USER_DATA 0 ch->asoc->peer.rwnd 1-u32max[c][u]
USER_DATA 0 ch->asoc->peer.tsn_map.base_tsn 0-u32max
USER_DATA 0 ch->asoc->rwnd_over 1-2147483646[c][u]
USER_DATA 0 ch->asoc->rwnd_press 1-2147483134[c][u]
USER_DATA 0 ch->asoc->stream.incnt 0-u16max[c]
USER_DATA 0 ch->asoc->stream.outcnt 0-u16max[c]
USER_DATA 0 ch->chunk_hdr->length 0-u16max
USER_DATA 0 ch->subh.data_hdr->tsn 0-u32max[u]
USER_DATA 0 *ch->skb->data 0-255
NO_OVERFLOW_SIMPLE 0 ch->skb->data_len
NO_OVERFLOW_SIMPLE 0 ch->skb->end
NO_OVERFLOW_SIMPLE 0 ch->skb->len
NO_OVERFLOW_SIMPLE 0 ch->skb->tail
NO_OVERFLOW_SIMPLE 0 ch->skb->truesize
USER_PTR 0 ch->skb->data

net/sctp/stream_interleave.c sctp_validate_data() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->asoc 0,4096-ptr_max
PARAM_VALUE 0 ch->chunk_hdr 4096-ptr_max
PARAM_VALUE 0 ch->chunk_hdr->length 16-u16max
PARAM_VALUE 0 ch->chunk_hdr->type 0
PARAM_VALUE 0 ch->data_accepted 1
PARAM_VALUE 0 ch->pdiscard 0
PARAM_VALUE 0 ch->sctp_hdr 4096-ptr_max
PARAM_VALUE 0 ch->skb 4096-ptr_max
PARAM_VALUE 0 ch->skb->data 4096-ptr_max
PARAM_VALUE 0 ch->subh.data_hdr 4096-ptr_max
BUF_SIZE 0 ch (-1),40
BUF_SIZE 0 ch (-1),40
BUF_SIZE 0 ch->subh.data_hdr 1-s32max
CAPPED_DATA 0 ch->sctp_hdr->vtag 1
DATA_SOURCE 0 ch $0
BIT_INFO 0 ch->chunk_hdr->flags 0x0,0xfb
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch->subh.data_hdr->ppid 0-u32max[u]
USER_DATA 0 ch->subh.data_hdr->ssn 0-u16max[u]
USER_DATA 0 ch->subh.data_hdr->stream 0-u16max[u]
USER_DATA 0 ch->subh.data_hdr->tsn 0-u32max[u]
USER_PTR 0 ch->subh.data_hdr
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/sctp/stream_interleave.c sctp_validate_idata() -> sctp_chunk_stream_no()

Type Parameter Key Value
PARAM_VALUE 0 ch 4096-ptr_max
PARAM_VALUE 0 ch->asoc 0,4096-ptr_max
PARAM_VALUE 0 ch->chunk_hdr 4096-ptr_max
PARAM_VALUE 0 ch->chunk_hdr->length 16-u16max
PARAM_VALUE 0 ch->chunk_hdr->type 64
PARAM_VALUE 0 ch->data_accepted 1
PARAM_VALUE 0 ch->pdiscard 0
PARAM_VALUE 0 ch->sctp_hdr 4096-ptr_max
PARAM_VALUE 0 ch->skb 4096-ptr_max
PARAM_VALUE 0 ch->skb->data 4096-ptr_max
PARAM_VALUE 0 ch->subh.data_hdr 4096-ptr_max
BUF_SIZE 0 ch (-1),40
BUF_SIZE 0 ch (-1),40
BUF_SIZE 0 ch->subh.data_hdr 1-s32max
CAPPED_DATA 0 ch->sctp_hdr->vtag 1
DATA_SOURCE 0 ch $0
BIT_INFO 0 ch->chunk_hdr->flags 0x0,0xfb
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch->subh.data_hdr->ppid 0-u32max[u]
USER_DATA 0 ch->subh.data_hdr->ssn 0-u16max[u]
USER_DATA 0 ch->subh.data_hdr->stream 0-u16max[u]
USER_DATA 0 ch->subh.data_hdr->tsn 0-u32max[u]
USER_PTR 0 ch->subh.data_hdr
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk