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_bind_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 |
| DATA_SOURCE | 4 | l3mdev | r inet_sk_bound_l3mdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | snum | 1-u16max[c] |
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | 2 | &head->lock |
net/ipv4/inet_hashtables.c __inet_hash_connect() -> inet_bind_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 |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 4 | l3mdev | r inet_sk_bound_l3mdev |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 2 | &head->lock | |
| HALF_LOCKED2 | global &once_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct inet_bind_hashbucket)->lock |
net/ipv4/inet_hashtables.c __inet_inherit_port() -> inet_bind_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 |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 4 | l3mdev | r inet_sk_bound_l3mdev |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | &head2->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 |