Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv4/nexthop.c remove_nh_grp_entry() -> replace_nexthop_grp_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldg | 4096-ptr_max |
| PARAM_VALUE | 0 | oldg->num_nh | 0,2-u16max |
| PARAM_VALUE | 0 | oldg->spare | 4096-ptr_max |
| PARAM_VALUE | 0 | oldg->spare->hash_threshold | 0 |
| PARAM_VALUE | 0 | oldg->spare->resilient | 1 |
| PARAM_VALUE | 1 | newg | 4096-ptr_max |
| PARAM_VALUE | 1 | newg->hash_threshold | 0 |
| PARAM_VALUE | 1 | newg->resilient | 1 |
| CAPPED_DATA | 0 | oldg->num_nh | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/nexthop.c replace_nexthop_grp() -> replace_nexthop_grp_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oldg | 4096-ptr_max |
| PARAM_VALUE | 1 | newg | 4096-ptr_max |
| PARAM_VALUE | 1 | newg->hash_threshold | 0 |
| PARAM_VALUE | 1 | newg->resilient | 1 |
| CAPPED_DATA | 0 | oldg->hash_threshold | 1 |
| PARAM_COMPARE | 1 | newg->hash_threshold | == $0->hash_threshold |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 |