Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv4/inet_connection_sock.c inet_csk_get_port() -> inet_bind2_bucket_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | head | 4096-ptr_max |
| PARAM_VALUE | 3 | tb | 4096-ptr_max |
| PARAM_VALUE | 4 | sk | 4096-ptr_max |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net | 4096-ptr_max |
| BUF_SIZE | 4 | sk->sk_user_data | (-1),4,8,16,24,28,32,40,80,88,96,104,128,168,176,200,208,224,232,256,272 |
| CAPPED_DATA | 4 | sk | 1 |
| CAPPED_DATA | 4 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 4 | sk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | tb->port | 1-u16max[c] |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_write_queue.next->truesize | |
| UNITS | 1 | net | unit_byte |
| UNITS | 4 | sk | unit_byte |
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | 2 | &head->lock | |
| HALF_LOCKED2 | 4 | sk |
net/ipv4/inet_hashtables.c __inet_hash_connect() -> inet_bind2_bucket_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | head | 4096-ptr_max |
| PARAM_VALUE | 2 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | tb | 4096-ptr_max |
| PARAM_VALUE | 3 | tb->fastreuse | (-128)-(-1) |
| PARAM_VALUE | 3 | tb->fastreuseport | (-128)-(-1) |
| PARAM_VALUE | 4 | sk | 4096-ptr_max |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net | 4096-ptr_max |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net->loopback_dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net->loopback_dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 4 | sk->__sk_common.skc_state | 2 |
| PARAM_VALUE | 4 | sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 4 | sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 4 | sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 4 | sk->psp_assoc | 0-1 |
| PARAM_VALUE | 4 | sk->sk_backlog.head->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 4 | sk->sk_backlog.head->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 4 | sk->sk_backlog.head->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| CAPPED_DATA | 1 | net | 1 |
| CAPPED_DATA | 4 | sk->__sk_common.skc_net.net | 1 |
| CAPPED_DATA | 4 | sk->psp_assoc | 1 |
| DATA_SOURCE | 2 | head | r inet_bhashfn_portaddr |
| DATA_SOURCE | 4 | sk | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 4 | sk->sk_backlog.len | |
| UNITS | 1 | net | unit_byte |
| LOCK2 | &head->lock | ||
| LOCK2 | bh | ||
| LOCK2 | 2 | &head->lock | |
| HALF_LOCKED2 | global &once_mutex | ||
| HALF_LOCKED2 | 4 | sk | |
| TYPE_LOCK | (struct inet_bind_hashbucket)->lock |
net/ipv4/inet_hashtables.c __inet_inherit_port() -> inet_bind2_bucket_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | head | 4096-ptr_max |
| PARAM_VALUE | 2 | head->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | tb | 4096-ptr_max |
| PARAM_VALUE | 4 | sk | 4096-ptr_max |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net->ipv4.tcp_congestion_control->cong_avoid | 2230018701915570176 |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net->ipv4.tcp_congestion_control->flags | 1 |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net->ipv4.tcp_congestion_control->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net->ipv4.tcp_congestion_control->ssthresh | 7282641779380248576 |
| PARAM_VALUE | 4 | sk->__sk_common.skc_net.net->ipv4.tcp_congestion_control->undo_cwnd | 7526350595670568960 |
| PARAM_VALUE | 4 | sk->__sk_common.skc_state | 3 |
| PARAM_VALUE | 4 | sk->__sk_common.skc_tx_queue_mapping | u16max |
| PARAM_VALUE | 4 | sk->sk_dst_pending_confirm | 0 |
| PARAM_VALUE | 4 | sk->sk_gso_max_segs | 1-u16max |
| PARAM_VALUE | 4 | sk->sk_gso_type | 1,16 |
| PARAM_VALUE | 4 | sk->sk_rx_dst | 4096-ptr_max |
| PARAM_VALUE | 4 | sk->sk_user_frags.xa_flags | 12 |
| PARAM_VALUE | 4 | sk->sk_user_frags.xa_head | 0 |
| PARAM_VALUE | 4 | sk->tcp_retransmit_timer.entry.pprev | 0 |
| PARAM_VALUE | 4 | sk->tcp_retransmit_timer.flags | 0-4194302 |
| PARAM_VALUE | 4 | sk->tcp_retransmit_timer.lockdep_map->name | 0-255 |
| CAPPED_DATA | 1 | net | 1 |
| CAPPED_DATA | 4 | sk | 1 |
| CAPPED_DATA | 4 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 2 | head | r inet_bhashfn_portaddr |
| DATA_SOURCE | 4 | sk | $1 |
| HARD_MAX | 4 | sk->sk_gso_type | 16 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | &head->lock | ||
| LOCK2 | 2 | &head->lock | |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct inet_bind_hashbucket)->lock |