Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv4/nexthop.c replace_nexthop_single() -> replace_nexthop_single_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 2 | old->id | 1-u32max |
| PARAM_VALUE | 2 | old->is_group | 0 |
| PARAM_VALUE | 2 | old->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->id | 1-u32max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->nh_info | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->refcnt.refs.counter | 1 |
| PARAM_VALUE | 3 | oldi | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->nh_parent | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->nh_parent->id | 1-u32max |
| PARAM_VALUE | 3 | oldi->nh_parent->is_group | 0 |
| PARAM_VALUE | 3 | oldi->nh_parent->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->nh_parent->nh_info | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->nh_parent->refcnt.refs.counter | 1 |
| PARAM_VALUE | 4 | newi | 4096-ptr_max |
| PARAM_VALUE | 4 | newi->fdb_nh | 0 |
| PARAM_VALUE | 4 | newi->fib_nhc.nhc_gw_family | 0,2,10 |
| PARAM_VALUE | 4 | newi->nh_parent | 4096-ptr_max |
| PARAM_VALUE | 4 | newi->nh_parent->id | 1-u32max |
| PARAM_VALUE | 4 | newi->nh_parent->is_group | 0 |
| PARAM_VALUE | 4 | newi->nh_parent->nh_info | 4096-ptr_max |
| PARAM_VALUE | 5 | extack | 4971238048455385088 |
| PARAM_VALUE | 5 | extack->bad_attr | 0 |
| PARAM_VALUE | 5 | extack->cookie_len | 0 |
| PARAM_VALUE | 5 | extack->miss_nest | 0 |
| PARAM_VALUE | 5 | extack->miss_type | 0 |
| PARAM_VALUE | 5 | extack->policy | 0 |
| PARAM_VALUE | 5 | *extack->_msg_buf | 0-255 |
| CAPPED_DATA | 2 | old | 1 |
| CAPPED_DATA | 2 | old->id | 1 |
| CAPPED_DATA | 2 | &old->grp_list | 1 |
| CAPPED_DATA | 4 | newi->nh_parent->id | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | old | $1 |
| DATA_SOURCE | 5 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | old->nh_flags | 0-127[c] |
| USER_DATA | 2 | old->protocol | 0-255 |
| USER_DATA | 3 | oldi->nh_parent->nh_flags | 0-127[c] |
| USER_DATA | 3 | oldi->nh_parent->protocol | 0-255 |
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &net->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 |
net/ipv4/nexthop.c replace_nexthop_single() -> replace_nexthop_single_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group_nh->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 2 | old->id | 1-u32max |
| PARAM_VALUE | 2 | old->is_group | 0 |
| PARAM_VALUE | 2 | old->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->id | 1-u32max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->nh_info | 4096-ptr_max |
| PARAM_VALUE | 2 | old->nh_info->nh_parent->refcnt.refs.counter | 1 |
| PARAM_VALUE | 3 | oldi | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->fdb_nh | 0 |
| PARAM_VALUE | 3 | oldi->fib_nhc.nhc_gw_family | 0,2,10 |
| PARAM_VALUE | 3 | oldi->nh_parent | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->nh_parent->id | 1-u32max |
| PARAM_VALUE | 3 | oldi->nh_parent->is_group | 0 |
| PARAM_VALUE | 3 | oldi->nh_parent->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->nh_parent->nh_info | 4096-ptr_max |
| PARAM_VALUE | 3 | oldi->nh_parent->refcnt.refs.counter | 1 |
| PARAM_VALUE | 4 | newi | 4096-ptr_max |
| PARAM_VALUE | 4 | newi->nh_parent | 4096-ptr_max |
| PARAM_VALUE | 4 | newi->nh_parent->id | 1-u32max |
| PARAM_VALUE | 4 | newi->nh_parent->is_group | 0 |
| PARAM_VALUE | 4 | newi->nh_parent->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 4 | newi->nh_parent->nh_info | 4096-ptr_max |
| PARAM_VALUE | 5 | extack | 0 |
| CAPPED_DATA | 2 | old | 1 |
| CAPPED_DATA | 2 | old->id | 1 |
| CAPPED_DATA | 2 | &old->grp_list | 1 |
| CAPPED_DATA | 3 | oldi->nh_parent->id | 1 |
| CAPPED_DATA | 4 | newi->nh_parent->id | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | old | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | oldi->nh_parent->nh_flags | 0-127[c] |
| USER_DATA | 3 | oldi->nh_parent->protocol | 0-255 |
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &net->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 |