Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/sctp/output.c sctp_packet_append_data() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->stream.si->data_chunk_len | 16,20 |
| PARAM_VALUE | 0 | chunk->auth_chunk->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | chunk->auth_chunk->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | chunk->auth_chunk->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | chunk->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->chunk_hdr->type | 0,64 |
| PARAM_VALUE | 0 | chunk->skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | chunk->skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | chunk->skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| BUF_SIZE | 0 | chunk | (-1),1-s32max |
| BUF_SIZE | 0 | chunk | (-1),1-s32max |
| DATA_SOURCE | 0 | chunk | $1 |
| NOSPEC | 0 | chunk->asoc->rwnd_over | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chunk->asoc->adv_peer_ack_point | 1-u32max |
| USER_DATA | 0 | chunk->asoc->force_delay | 0-1 |
| USER_DATA | 0 | chunk->asoc->outqueue.outstanding_bytes | 0-u32max[c][u] |
| USER_DATA | 0 | chunk->asoc->pathmtu | 512-u32max[c][u] |
| USER_DATA | 0 | chunk->asoc->peer.addip_disabled_mask | 0-u16max[u] |
| USER_DATA | 0 | chunk->asoc->peer.port | 0-u16max |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.sa.sa_family | 2,10[c] |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.v4.sin_addr.s_addr | 0-u32max |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.v4.sin_family | 0-u16max |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.v4.sin_port | 0-u16max |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.v6.sin6_family | 0-u16max |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.v6.sin6_flowinfo | 0-u32max |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.v6.sin6_port | 0-u16max |
| USER_DATA | 0 | chunk->asoc->peer.primary_addr.v6.sin6_scope_id | 0-u32max |
| USER_DATA | 0 | chunk->asoc->peer.rwnd | 1-u32max[c][u] |
| USER_DATA | 0 | chunk->asoc->peer.tsn_map.base_tsn | 0-u32max |
| USER_DATA | 0 | chunk->asoc->rwnd_over | 1-2147483646[c][u] |
| USER_DATA | 0 | chunk->asoc->rwnd_press | 1-2147483134[c][u] |
| USER_DATA | 0 | chunk->asoc->stream.incnt | 0-u16max[c] |
| USER_DATA | 0 | chunk->asoc->stream.outcnt | 0-u16max[c] |
| USER_DATA | 0 | chunk->chunk_hdr->length | 0-u16max |
| USER_DATA | 0 | *chunk->skb->data | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->end | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->len | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->tail | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->truesize | |
| USER_PTR | 0 | chunk->skb->data |
net/sctp/output.c sctp_packet_can_append_data() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->stream.si->data_chunk_len | 16,20 |
| PARAM_VALUE | 0 | chunk->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->chunk_hdr->type | 0,64 |
| BUF_SIZE | 0 | chunk | (-1),1-s32max |
| BUF_SIZE | 0 | chunk | (-1),1-s32max |
| DATA_SOURCE | 0 | chunk | $1 |
| BIT_INFO | 0 | chunk->chunk_hdr->type | 0x0,0x40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->end | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->len | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->tail | |
| NO_OVERFLOW_SIMPLE | 0 | chunk->skb->truesize |
net/sctp/outqueue.c sctp_check_transmitted() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->peer.prsctp_capable | 1 |
| PARAM_VALUE | 0 | chunk->msg->abandoned | 1 |
| PARAM_VALUE | 0 | chunk->transport | 1-u64max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
net/sctp/outqueue.c sctp_check_transmitted() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->peer.prsctp_capable | 1 |
| PARAM_VALUE | 0 | chunk->msg->abandoned | 1 |
| PARAM_VALUE | 0 | chunk->transport | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
net/sctp/outqueue.c sctp_check_transmitted() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->subh.data_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 1 |
net/sctp/outqueue.c sctp_check_transmitted() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->stream.si | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->subh.data_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->transport | 0 |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 1 |
net/sctp/outqueue.c sctp_check_transmitted() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->subh.data_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->transport | 1-u64max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
net/sctp/outqueue.c sctp_prsctp_prune_sent() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->msg | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->msg->abandoned | 1 |
| PARAM_VALUE | 0 | chunk->transport | 1-u64max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
| CAPPED_DATA | 0 | &chunk->transmitted_list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk |
net/sctp/outqueue.c sctp_prsctp_prune_sent() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->msg | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->msg->abandoned | 1 |
| PARAM_VALUE | 0 | chunk->transport | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
| CAPPED_DATA | 0 | &chunk->transmitted_list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk |
net/sctp/outqueue.c sctp_retransmit_mark() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->peer.prsctp_capable | 1 |
| PARAM_VALUE | 0 | chunk->msg->abandoned | 1 |
| PARAM_VALUE | 0 | chunk->transport | 1-u64max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/sctp/outqueue.c sctp_retransmit_mark() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->peer.prsctp_capable | 1 |
| PARAM_VALUE | 0 | chunk->msg->abandoned | 1 |
| PARAM_VALUE | 0 | chunk->transport | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/sctp/outqueue.c sctp_retransmit_mark() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->peer.prsctp_capable | 1 |
| PARAM_VALUE | 0 | chunk->asoc->stream.si | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->msg->abandoned | 1 |
| PARAM_VALUE | 0 | chunk->transport | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chunk->tsn_gap_acked | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/sctp/outqueue.c sctp_retransmit_mark() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/sctp/outqueue.c sctp_retransmit_mark() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->stream.si | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->chunk_hdr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock |
net/sctp/outqueue.c sctp_retransmit_mark() -> sctp_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->asoc->stream.si | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->transport | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock |