Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/vxlan/vxlan_core.c, line 813
- net/ipv4/fib_semantics.c, line 1453
- net/ipv4/nexthop.c, line 2808
- net/ipv6/route.c, line 3901
Smatch caller information:
net/ipv4/nexthop.c nexthop_create_group() -> nexthop_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nh | 0,4096-ptr_max |
| DATA_SOURCE | 0 | nh | r nexthop_find_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/fib_semantics.c fib_create_info() -> nexthop_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nh | 4096-ptr_max |
| CAPPED_DATA | 0 | nh->id | 1 |
| DATA_SOURCE | 0 | nh | r nexthop_find_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/route.c ip6_route_info_create_nh() -> nexthop_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nh | 4096-ptr_max |
| PARAM_VALUE | 0 | nh->nh_info->family | 0-1,3-255 |
| CAPPED_DATA | 0 | nh->id | 1 |
| DATA_SOURCE | 0 | nh | r nexthop_find_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/net/vxlan/vxlan_core.c vxlan_fdb_nh_update() -> nexthop_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nh | 4096-ptr_max |
| CAPPED_DATA | 0 | nh->id | 1 |
| DATA_SOURCE | 0 | nh | r nexthop_find_by_id |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vxlan->hash_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct vxlan_dev)->hash_lock |