Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/ipv4/inet_connection_sock.c inet_csk_find_open_port() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_connection_sock.c inet_csk_get_port() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | lport | 1-u16max |
| DATA_SOURCE | 1 | lport | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | lport | 1-u16max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_hashtables.c __inet_bhash2_update_saddr() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_hashtables.c __inet_hash_connect() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| CAPPED_DATA | 0 | net | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | global &once_mutex | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_hashtables.c __inet_inherit_port() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_hashtables.c __inet_put_port() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &sk->__sk_common.skc_net.net->ipv4.ra_mutex | ||
| HALF_LOCKED2 | &sk->__sk_common.skc_net.net->mctp.keys_lock | ||
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_timewait_sock.c inet_twsk_hashdance_schedule() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_timewait_sock.c inet_twsk_kill() -> inet_bhashfn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |