Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv4/tcp_diag.c tcp_diag_dump() -> ib2_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ib | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ibb->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct inet_bind_hashbucket)->lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/ipv4/inet_hashtables.c inet_bind2_bucket_match() -> ib2_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ib | 4096-ptr_max |
| DATA_SOURCE | 0 | ib | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &head->lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct inet_bind_hashbucket)->lock |
net/ipv4/inet_hashtables.c inet_bind2_bucket_match_addr_any() -> ib2_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ib | 4096-ptr_max |
| DATA_SOURCE | 0 | ib | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &head->lock | ||
| LOCK2 | &head2->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &port_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct inet_bind_hashbucket)->lock |