Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ipv4/tcp_input.c tcp_collapse() -> tcp_rbtree_insert()

Type Parameter Key Value
PARAM_VALUE 0 root 0,4096-ptr_max
PARAM_VALUE 0 root->rb_node 1-u64max
PARAM_VALUE 1 skb 4096-5923856135255236607,5923856135255236609-ptr_max
PARAM_VALUE 1 skb->cb 4096-ptr_max
DATA_SOURCE 0 root $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 skb unit_byte
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/ipv4/tcp_output.c tcp_connect() -> tcp_rbtree_insert()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->rb_node 0,4096-ptr_max
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 1 skb->data 4096-ptr_max
PARAM_VALUE 1 skb->decrypted 1
PARAM_VALUE 1 skb->ip_summed 3
PARAM_VALUE 1 skb->nohdr 1
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->prev 4096-ptr_max
BUF_SIZE 1 skb 320
BUF_SIZE 1 skb 320
DATA_SOURCE 1 skb r tcp_stream_alloc_skb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

net/ipv4/tcp_output.c tcp_event_new_data_sent() -> tcp_rbtree_insert()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 1 skb->cb 4096-ptr_max
PARAM_VALUE 1 skb->csum_offset 16
PARAM_VALUE 1 skb->data->check 0
PARAM_VALUE 1 skb->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 1 skb->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 1 skb->dev->ethtool_ops->rxfh_max_num_contexts 0-4294967295
PARAM_VALUE 1 skb->dev->ethtool_ops->supported_coalesce_params 0-s64max
PARAM_VALUE 1 skb->dev->l3mdev_ops 4096-ptr_max
PARAM_VALUE 1 skb->dev->nd_net.net->ipv4.fqdir->f->frag_expire 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560
PARAM_VALUE 1 skb->dev->nd_net.net->ipv4.fqdir->f->qsize 0,304,320
PARAM_VALUE 1 skb->dev->ndisc_ops->fill_addr_option 4096-ptr_max
PARAM_VALUE 1 skb->dev->ndisc_ops->parse_options 4096-ptr_max
PARAM_VALUE 1 skb->dev->ndisc_ops->update 4096-ptr_max
PARAM_VALUE 1 skb->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 1 skb->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
PARAM_VALUE 1 skb->next 0
PARAM_VALUE 1 skb->prev 0
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 1 skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 1 skb->sk->sk_callback_lock.owner (-1)
PARAM_VALUE 1 skb->sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 1 skb->sk->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 skb->sk->sk_filter->rcu.func 1-u64max
PARAM_VALUE 1 skb->sk->sk_rcu.func 1-u64max
PARAM_VALUE 1 skb->sk->sk_rcu.next 0
PARAM_VALUE 1 skb->sk->sk_user_data 0
PARAM_VALUE 1 *skb->cb 0-255
PARAM_VALUE 1 *skb->dev->name 0-255
BUF_SIZE 1 skb (-1),320
BUF_SIZE 1 skb (-1),320
CAPPED_DATA 1 skb 1
DATA_SOURCE 1 skb $1
MEM_ZERO 1 skb->cb
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 skb->data_len 0-u32max[c]
HOST_DATA 1 skb->inner_protocol 1-255
HOST_DATA 1 skb->len 0-u32max[c]
HOST_DATA 1 skb->next->prev->csum_offset 0-u16max
HOST_DATA 1 skb->next->prev->data_len 0-u32max[c]
HOST_DATA 1 skb->next->prev->len 1-u32max[c]
HOST_DATA 1 skb->next->prev->tstamp 500000002-4294967299794967295[c]
HOST_DATA 1 skb->prev->csum_offset 0-u16max
HOST_DATA 1 skb->prev->data_len 0-u32max[c]
HOST_DATA 1 skb->prev->len 1-u32max[c]
HOST_DATA 1 skb->prev->tstamp 500000002-4294967299794967295[c]
HOST_DATA 1 skb->truesize 0-u32max
HOST_DATA 1 skb->tstamp 500000002-4294967299794967295[c]
HOST_DATA 1 skb->users.refs.counter s32min-0,2-s32max
HOST_DATA 1 *skb->data 0-255
HALF_LOCKED2 &sk->sk_lock.slock

net/ipv4/tcp_output.c tcp_insert_write_queue_after() -> tcp_rbtree_insert()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 1 skb->cb 4096-ptr_max
PARAM_VALUE 1 skb->data 4096-ptr_max
PARAM_VALUE 1 skb->ip_summed 3
PARAM_VALUE 1 skb->nohdr 1
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->prev 4096-ptr_max
PARAM_VALUE 1 skb->tstamp_type 0-1
BUF_SIZE 1 skb 320
BUF_SIZE 1 skb 320
CAPPED_DATA 1 skb->len 1
DATA_SOURCE 1 skb $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 skb->data_len
NO_OVERFLOW_SIMPLE 1 skb->len
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/ipv4/tcp_output.c tcp_send_syn_data() -> tcp_rbtree_insert()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->rb_node 4096-ptr_max
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 1 skb->cb 4096-ptr_max
PARAM_VALUE 1 skb->csum_offset 16
PARAM_VALUE 1 skb->data->check 0
PARAM_VALUE 1 skb->data->urg 1
PARAM_VALUE 1 skb->dev->ip6_ptr->mc_query_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 skb->dev->ip6_ptr->mc_query_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 skb->dev->ip6_ptr->mc_query_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 skb->dev->ip6_ptr->mc_report_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 skb->dev->ip6_ptr->mc_report_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 skb->dev->ip6_ptr->mc_report_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 skb->dev->ip6_ptr->stats.proc_dir_entry 0,4806605944481423360
PARAM_VALUE 1 skb->dev->l3mdev_ops 4096-ptr_max
PARAM_VALUE 1 skb->dev->linkwatch_dev_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 skb->dev->linkwatch_dev_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 1 skb->dev->nd_net.net->ipv4.fqdir->f->frag_expire 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560
PARAM_VALUE 1 skb->dev->nd_net.net->ipv4.fqdir->f->qsize 0,304,320
PARAM_VALUE 1 skb->dev->ndisc_ops->fill_addr_option 4096-ptr_max
PARAM_VALUE 1 skb->dev->ndisc_ops->parse_options 4096-ptr_max
PARAM_VALUE 1 skb->dev->ndisc_ops->update 4096-ptr_max
PARAM_VALUE 1 skb->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 1 skb->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
PARAM_VALUE 1 skb->ignore_df 0
PARAM_VALUE 1 skb->ip_summed 3
PARAM_VALUE 1 skb->next->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 skb->next->sk->ns_tracker->dead 0-1
PARAM_VALUE 1 skb->next->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 skb->sk->__sk_common.skc_net.net->xfrm.nat_keepalive_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 skb->sk->__sk_common.skc_refcnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 1 skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 1 skb->sk->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 1 skb->sk->sk_callback_lock.owner (-1)
PARAM_VALUE 1 skb->sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 1 skb->sk->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 skb->sk->sk_filter->rcu.func 1-u64max
PARAM_VALUE 1 skb->sk->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 1 skb->sk->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 1 skb->sk->sk_rcu.func 1-u64max
PARAM_VALUE 1 skb->sk->sk_rcu.next 0
PARAM_VALUE 1 skb->sk->sk_reuseport_cb->rcu.func 1-u64max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next->prev 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->prev 4096-ptr_max
PARAM_VALUE 1 *skb->cb 0-255
PARAM_VALUE 1 *skb->dev->name 0-255
BUF_SIZE 1 skb 320
BUF_SIZE 1 skb 320
CAPPED_DATA 1 skb 1
DATA_SOURCE 1 skb r tcp_stream_alloc_skb
MEM_ZERO 1 skb->cb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp_output.c tcp_send_synack() -> tcp_rbtree_insert()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->rb_node 4096-ptr_max
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 1 skb->_sk_redir 0
PARAM_VALUE 1 skb->alloc_cpu 0
PARAM_VALUE 1 skb->cloned 0
PARAM_VALUE 1 skb->csum 0
PARAM_VALUE 1 skb->csum_complete_sw 0
PARAM_VALUE 1 skb->csum_level 0
PARAM_VALUE 1 skb->csum_not_inet 0
PARAM_VALUE 1 skb->csum_offset 0
PARAM_VALUE 1 skb->csum_start 0
PARAM_VALUE 1 skb->csum_valid 0
PARAM_VALUE 1 skb->data 4096-ptr_max
PARAM_VALUE 1 skb->data_len 0
PARAM_VALUE 1 skb->decrypted 0
PARAM_VALUE 1 skb->destructor 0
PARAM_VALUE 1 skb->dev_scratch 0
PARAM_VALUE 1 skb->dst_pending_confirm 0
PARAM_VALUE 1 skb->encap_hdr_csum 0
PARAM_VALUE 1 skb->encapsulation 0
PARAM_VALUE 1 skb->end 0
PARAM_VALUE 1 skb->extensions 4096-ptr_max
PARAM_VALUE 1 skb->fclone 0-1
PARAM_VALUE 1 skb->from_ingress 0
PARAM_VALUE 1 skb->hash 0
PARAM_VALUE 1 skb->hdr_len 0
PARAM_VALUE 1 skb->head 1-u64max
PARAM_VALUE 1 skb->head_frag 0
PARAM_VALUE 1 skb->headers.alloc_cpu 0
PARAM_VALUE 1 skb->headers.csum 0
PARAM_VALUE 1 skb->headers.csum_complete_sw 0
PARAM_VALUE 1 skb->headers.csum_level 0
PARAM_VALUE 1 skb->headers.csum_not_inet 0
PARAM_VALUE 1 skb->headers.csum_offset 0
PARAM_VALUE 1 skb->headers.csum_start 0
PARAM_VALUE 1 skb->headers.csum_valid 0
PARAM_VALUE 1 skb->headers.decrypted 0
PARAM_VALUE 1 skb->headers.dst_pending_confirm 0
PARAM_VALUE 1 skb->headers.encap_hdr_csum 0
PARAM_VALUE 1 skb->headers.encapsulation 0
PARAM_VALUE 1 skb->headers.from_ingress 0
PARAM_VALUE 1 skb->headers.hash 0
PARAM_VALUE 1 skb->headers.ignore_df 0
PARAM_VALUE 1 skb->headers.inner_ipproto 0
PARAM_VALUE 1 skb->headers.inner_mac_header 0
PARAM_VALUE 1 skb->headers.inner_network_header 0
PARAM_VALUE 1 skb->headers.inner_protocol 0
PARAM_VALUE 1 skb->headers.inner_protocol_type 0
PARAM_VALUE 1 skb->headers.inner_transport_header 0
PARAM_VALUE 1 skb->headers.ip_summed 0
PARAM_VALUE 1 skb->headers.ipvs_property 0
PARAM_VALUE 1 skb->headers.kcov_handle.val 0
PARAM_VALUE 1 skb->headers.l4_hash 0
PARAM_VALUE 1 skb->headers.mac_header 0
PARAM_VALUE 1 skb->headers.mark 0
PARAM_VALUE 1 skb->headers.napi_id 0
PARAM_VALUE 1 skb->headers.ndisc_nodetype 0
PARAM_VALUE 1 skb->headers.network_header 0
PARAM_VALUE 1 skb->headers.nf_skip_egress 0
PARAM_VALUE 1 skb->headers.nf_trace 0
PARAM_VALUE 1 skb->headers.no_fcs 0
PARAM_VALUE 1 skb->headers.offload_fwd_mark 0
PARAM_VALUE 1 skb->headers.offload_l3_fwd_mark 0
PARAM_VALUE 1 skb->headers.ooo_okay 0
PARAM_VALUE 1 skb->headers.pkt_type 0
PARAM_VALUE 1 skb->headers.priority 0
PARAM_VALUE 1 skb->headers.protocol 0
PARAM_VALUE 1 skb->headers.redirected 0
PARAM_VALUE 1 skb->headers.remcsum_offload 0
PARAM_VALUE 1 skb->headers.reserved_tailroom 0
PARAM_VALUE 1 skb->headers.secmark 0
PARAM_VALUE 1 skb->headers.sender_cpu 0
PARAM_VALUE 1 skb->headers.skb_iif 0
PARAM_VALUE 1 skb->headers.slow_gro 0
PARAM_VALUE 1 skb->headers.sw_hash 0
PARAM_VALUE 1 skb->headers.tc_at_ingress 0
PARAM_VALUE 1 skb->headers.tc_depth 0
PARAM_VALUE 1 skb->headers.tc_index 0
PARAM_VALUE 1 skb->headers.tc_skip_classify 0
PARAM_VALUE 1 skb->headers.transport_header 0
PARAM_VALUE 1 skb->headers.tstamp_type 0
PARAM_VALUE 1 skb->headers.unreadable 0
PARAM_VALUE 1 skb->headers.vlan_all 0
PARAM_VALUE 1 skb->headers.vlan_proto 0
PARAM_VALUE 1 skb->headers.vlan_tci 0
PARAM_VALUE 1 skb->headers.wifi_acked 0
PARAM_VALUE 1 skb->headers.wifi_acked_valid 0
PARAM_VALUE 1 skb->ignore_df 0
PARAM_VALUE 1 skb->inner_ipproto 0
PARAM_VALUE 1 skb->inner_mac_header 0
PARAM_VALUE 1 skb->inner_network_header 0
PARAM_VALUE 1 skb->inner_protocol 0
PARAM_VALUE 1 skb->inner_protocol_type 0
PARAM_VALUE 1 skb->inner_transport_header 0
PARAM_VALUE 1 skb->ip_summed 0
PARAM_VALUE 1 skb->ipvs_property 0
PARAM_VALUE 1 skb->kcov_handle.val 0
PARAM_VALUE 1 skb->l4_hash 0
PARAM_VALUE 1 skb->list.next 0
PARAM_VALUE 1 skb->list.prev 0
PARAM_VALUE 1 skb->ll_node.next 0
PARAM_VALUE 1 skb->mac_header u16max
PARAM_VALUE 1 skb->mac_len 0
PARAM_VALUE 1 skb->mark 0
PARAM_VALUE 1 skb->napi_id 0
PARAM_VALUE 1 skb->ndisc_nodetype 0
PARAM_VALUE 1 skb->network_header 0
PARAM_VALUE 1 skb->next 0
PARAM_VALUE 1 skb->nf_skip_egress 0
PARAM_VALUE 1 skb->nf_trace 0
PARAM_VALUE 1 skb->no_fcs 0
PARAM_VALUE 1 skb->nohdr 1
PARAM_VALUE 1 skb->offload_fwd_mark 0
PARAM_VALUE 1 skb->offload_l3_fwd_mark 0
PARAM_VALUE 1 skb->ooo_okay 0
PARAM_VALUE 1 skb->peeked 0
PARAM_VALUE 1 skb->pkt_type 0
PARAM_VALUE 1 skb->pp_recycle 0
PARAM_VALUE 1 skb->prev 0
PARAM_VALUE 1 skb->priority 0
PARAM_VALUE 1 skb->protocol 0
PARAM_VALUE 1 skb->rbnode.__rb_parent_color 0
PARAM_VALUE 1 skb->rbnode.rb_left 0
PARAM_VALUE 1 skb->rbnode.rb_right 0
PARAM_VALUE 1 skb->redirected 0
PARAM_VALUE 1 skb->remcsum_offload 0
PARAM_VALUE 1 skb->reserved_tailroom 0
PARAM_VALUE 1 skb->secmark 0
PARAM_VALUE 1 skb->sender_cpu 0
PARAM_VALUE 1 skb->sk 0
PARAM_VALUE 1 skb->skb_iif 0
PARAM_VALUE 1 skb->sw_hash 0
PARAM_VALUE 1 skb->tc_at_ingress 0
PARAM_VALUE 1 skb->tc_depth 0
PARAM_VALUE 1 skb->tc_index 0
PARAM_VALUE 1 skb->tc_skip_classify 0
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.next->prev 0
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->next 4096-ptr_max
PARAM_VALUE 1 skb->tcp_tsorted_anchor.prev->prev 4096-ptr_max
PARAM_VALUE 1 skb->transport_header u16max
PARAM_VALUE 1 skb->truesize 0
PARAM_VALUE 1 skb->tstamp_type 0
PARAM_VALUE 1 skb->unreadable 0
PARAM_VALUE 1 skb->users.refs.counter 1
PARAM_VALUE 1 skb->vlan_all 0
PARAM_VALUE 1 skb->vlan_proto 0
PARAM_VALUE 1 skb->vlan_tci 0
PARAM_VALUE 1 skb->wifi_acked 0
PARAM_VALUE 1 skb->wifi_acked_valid 0
PARAM_VALUE 1 *skb->cb 0-255
BUF_SIZE 1 skb 0-s32max
BUF_SIZE 1 skb 0-s32max
DATA_SOURCE 1 skb r skb_copy
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 skb->dev->proto_down
NO_OVERFLOW_SIMPLE 1 skb->end