Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
net/sctp/stream.c sctp_process_strreset_addstrm_out() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transport | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transport->reconf_timer.flags | 0-4194302 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/sctp/stream.c sctp_process_strreset_outreq() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transport | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transport->reconf_timer.flags | 0-4194302 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/sctp/stream.c sctp_process_strreset_resp() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transport | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transport->reconf_timer.flags | 0-4194302 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/sctp/stream.c sctp_send_add_streams() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->fast_retransmit | 0 |
| PARAM_VALUE | 0 | ch->frag_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->frag_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->list.next | 1-u64max |
| PARAM_VALUE | 0 | ch->list.prev | 1-u64max |
| PARAM_VALUE | 0 | ch->singleton | 1 |
| PARAM_VALUE | 0 | ch->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transmitted_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transmitted_list.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | sk |
net/sctp/stream.c sctp_send_reset_assoc() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->chunk_end | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->fast_retransmit | 0 |
| PARAM_VALUE | 0 | ch->frag_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->frag_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->list.next | 1-u64max |
| PARAM_VALUE | 0 | ch->list.prev | 1-u64max |
| PARAM_VALUE | 0 | ch->singleton | 1 |
| PARAM_VALUE | 0 | ch->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transmitted_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transmitted_list.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | sk |
net/sctp/stream.c sctp_send_reset_streams() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch->asoc | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->chunk_hdr | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->fast_retransmit | 0 |
| PARAM_VALUE | 0 | ch->frag_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->frag_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->list.next | 1-u64max |
| PARAM_VALUE | 0 | ch->list.prev | 1-u64max |
| PARAM_VALUE | 0 | ch->singleton | 1 |
| PARAM_VALUE | 0 | ch->skb | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transmitted_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->transmitted_list.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | sk |
net/sctp/sm_make_chunk.c sctp_chunk_free() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->asoc->stream.si->data_chunk_len | 16,20 |
| PARAM_VALUE | 0 | ch->msg | 0,4096-ptr_max |
| BUF_SIZE | 0 | ch | (-1)-s32max |
| BUF_SIZE | 0 | ch | (-1)-s32max |
| BUF_SIZE | 0 | ch->asoc | (-1),3016 |
| BUF_SIZE | 0 | ch->rcvr | (-1),160 |
| BUF_SIZE | 0 | ch->skb | (-1)-s32max |
| CAPPED_DATA | 0 | ch->msg | 1 |
| DATA_SOURCE | 0 | ch | $0 |
| NOSPEC | 0 | ch->asoc->c.raw_addr_list_len | |
| NOSPEC | 0 | ch->asoc->rwnd_over | |
| NOSPEC | 0 | ch->sinfo.sinfo_stream | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ch->skb->csum | 0-4294967040[c] |
| HOST_DATA | 0 | ch->skb->csum_offset | 0-u16max |
| HOST_DATA | 0 | ch->skb->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 0 | ch->skb->users.refs.counter | s32min-0,2-s32max |
| USER_DATA | 0 | ch->asoc->addip_serial | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->adv_peer_ack_point | 1-u32max |
| USER_DATA | 0 | ch->asoc->c.adaptation_ind | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->c.expiration | s64min-s64max |
| USER_DATA | 0 | ch->asoc->c.initial_tsn | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->c.my_ttag | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->c.padding | 0-255[u] |
| USER_DATA | 0 | ch->asoc->c.peer_addr.sa.sa_family | 0-u16max[u] |
| USER_DATA | 0 | ch->asoc->c.peer_addr.v4.sin_family | 0-u16max[u] |
| USER_DATA | 0 | ch->asoc->c.peer_addr.v6.sin6_family | 0-u16max[u] |
| USER_DATA | 0 | ch->asoc->c.peer_addr.v6.sin6_flowinfo | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->c.peer_addr.v6.sin6_port | 0-u16max[u] |
| USER_DATA | 0 | ch->asoc->c.peer_addr.v6.sin6_scope_id | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->c.peer_ttag | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->c.peer_vtag | 0-u32max[u] |
| USER_DATA | 0 | ch->asoc->c.prsctp_capable | 0-255[u] |
| USER_DATA | 0 | ch->asoc->c.raw_addr_list_len | 0-65331[c][u] |
| USER_DATA | 0 | ch->asoc->c.sinit_max_instreams | 0-u16max[u] |
| USER_DATA | 0 | ch->asoc->c.sinit_num_ostreams | 0-u16max[u] |
| USER_DATA | 0 | ch->asoc->force_delay | 0-1 |
| USER_DATA | 0 | ch->asoc->next_tsn | 0-u32max[u] |
| 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.adaptation_ind | 0-u32max[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.prsctp_capable | 0-1[u] |
| 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->asoc->strreset_outseq | 0-u32max[u] |
| USER_DATA | 0 | ch->chunk_hdr->length | 0-u16max |
| USER_DATA | 0 | ch->sinfo.sinfo_assoc_id | s32min-s32max[u] |
| USER_DATA | 0 | ch->sinfo.sinfo_context | 0-u32max[u] |
| USER_DATA | 0 | ch->sinfo.sinfo_ppid | 0-u32max[u] |
| USER_DATA | 0 | ch->sinfo.sinfo_stream | 0[c] |
| USER_DATA | 0 | ch->sinfo.sinfo_timetolive | 0-u32max[u] |
| USER_DATA | 0 | *ch->skb->data | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ch->asoc->outqueue.out_qlen | |
| 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->head_skb->data | |
| USER_PTR | 0 | ch->skb->data | |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/sctp/ulpevent.c sctp_ulpevent_release_data() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
net/sctp/ulpevent.c sctp_ulpevent_release_frag_data() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sctp/chunk.c sctp_datamsg_destroy() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |
net/sctp/chunk.c sctp_datamsg_destroy() -> sctp_chunk_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->asoc | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | sk |