Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv4/tcp_input.c tcp_shift_skb_data() -> tcp_skb_can_collapse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 0 | to->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | from->data_len | 1 |
| PARAM_VALUE | 1 | from->dev->ndisc_ops->fill_addr_option | 4096-ptr_max |
| PARAM_VALUE | 1 | from->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | from->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 1 | from->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | from->sk->sk_peer_cred->thread_keyring->user->qnkeys | s32min-s32max |
| CAPPED_DATA | 1 | &from->rbnode | 1 |
| DATA_SOURCE | 1 | from | $1 |
| PARAM_COMPARE | 1 | &from->rbnode | != $1->rbnode.__rb_parent_color |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | from->next->data_len | 0-u32max[c] |
| HOST_DATA | 1 | from->next->prev->data_len | 0-u32max[c] |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/tcp_input.c tcp_shift_skb_data() -> tcp_skb_can_collapse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 0 | to->cb | 4096-ptr_max |
| PARAM_VALUE | 0 | to->data | 4096-ptr_max |
| PARAM_VALUE | 0 | to->hdr_len | 0 |
| PARAM_VALUE | 0 | to->head_frag | 0 |
| PARAM_VALUE | 0 | to->ip_summed | 3 |
| PARAM_VALUE | 0 | to->nohdr | 0 |
| PARAM_VALUE | 0 | to->pp_recycle | 0 |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | from->data_len | 1 |
| PARAM_VALUE | 1 | from->dev->ndisc_ops->fill_addr_option | 4096-ptr_max |
| PARAM_VALUE | 1 | from->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | from->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 1 | from->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | from->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 1 | from->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | from->sk->sk_filter | 0 |
| PARAM_VALUE | 1 | from->sk->sk_filter->rcu.func | 1-u64max |
| PARAM_VALUE | 1 | from->sk->sk_frag.page | 0 |
| PARAM_VALUE | 1 | from->sk->sk_owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | from->sk->sk_prot_creator->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | from->sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 1 | from->sk->sk_rcu.next | 0 |
| PARAM_VALUE | 1 | from->sk->sk_reuseport_cb->rcu.func | 1-u64max |
| PARAM_VALUE | 1 | from->sk->sk_security | 0 |
| CAPPED_DATA | 0 | &to->rbnode | 1 |
| PARAM_COMPARE | 0 | &to->rbnode | != $0->rbnode.__rb_parent_color |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | from->next->data_len | 0-u32max[c] |
| HOST_DATA | 1 | from->next->prev->data_len | 0-u32max[c] |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/tcp_output.c tcp_can_coalesce_send_queue_head() -> tcp_skb_can_collapse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 0 | to->len | 0-4294967294 |
| CAPPED_DATA | 0 | to->len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | to | unit_byte |
| UNITS | 1 | from | unit_byte |
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/tcp_output.c tcp_grow_skb() -> tcp_skb_can_collapse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 0 | to->dev->ethtool_ops->get_link_ext_state | 0-s64max |
| PARAM_VALUE | 0 | to->dev->ethtool_ops->get_mm_stats | 0-s64max |
| PARAM_VALUE | 0 | to->dev->ethtool_ops->rxfh_max_num_contexts | 0-4294967295 |
| PARAM_VALUE | 0 | to->dev->ethtool_ops->supported_coalesce_params | 0-s64max |
| PARAM_VALUE | 0 | to->dev->nd_net.net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 0 | to->dev->nd_net.net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 0 | to->dev->ndisc_ops->fill_addr_option | 4096-ptr_max |
| PARAM_VALUE | 0 | to->dev->ndisc_ops->parse_options | 4096-ptr_max |
| PARAM_VALUE | 0 | to->dev->ndisc_ops->update | 4096-ptr_max |
| PARAM_VALUE | 0 | to->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | to->dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| DATA_SOURCE | 0 | to | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | to->next->data_len | 0-u32max[c] |
| HOST_DATA | 0 | to->next->prev->csum_offset | 0-u16max |
| HOST_DATA | 0 | to->next->prev->data_len | 0-u32max[c] |
| HOST_DATA | 0 | to->next->prev->len | 0-u32max[c] |
| HOST_DATA | 0 | to->next->prev->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 0 | to->prev->csum_offset | 0-u16max |
| HOST_DATA | 0 | to->prev->data_len | 0-u32max[c] |
| HOST_DATA | 0 | to->prev->len | 0-u32max[c] |
| HOST_DATA | 0 | to->prev->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 0 | *to->data | 0-255 |
| HOST_DATA | 1 | from->data_len | 0-u32max[c] |
| UNITS | 1 | from | unit_byte |
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/tcp_output.c tcp_retrans_try_collapse() -> tcp_skb_can_collapse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 0 | to->cb | 4096-ptr_max |
| PARAM_VALUE | 0 | to->dev->nd_net.net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 0 | to->dev->nd_net.net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 0 | to->dev->ndisc_ops->fill_addr_option | 9149257602806276096 |
| PARAM_VALUE | 0 | to->dev->ndisc_ops->parse_options | 4570881757937598464 |
| PARAM_VALUE | 0 | to->dev->ndisc_ops->update | 8455145027589103616 |
| PARAM_VALUE | 0 | to->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | to->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | from->unreadable | 0 |
| DATA_SOURCE | 0 | to | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |