Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ipv4/nexthop.c fib_check_nh_list() -> fib_check_nexthop()

Type Parameter Key Value
PARAM_VALUE 0 nh 4096-ptr_max
PARAM_VALUE 0 nh->id 1-u32max
PARAM_VALUE 0 nh->net->rtnl_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 nh->net->rtnl_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 nh->nh_grp 4096-ptr_max
PARAM_VALUE 0 nh->nh_info 4096-ptr_max
PARAM_VALUE 0 nh->refcnt.refs.counter 1
PARAM_VALUE 2 extack 4971238048455385088
PARAM_VALUE 2 extack->bad_attr 0
PARAM_VALUE 2 extack->cookie_len 0
PARAM_VALUE 2 extack->miss_nest 0
PARAM_VALUE 2 extack->miss_type 0
PARAM_VALUE 2 extack->policy 0
PARAM_VALUE 2 *extack->_msg_buf 0-255
CAPPED_DATA 0 nh->nh_info 1
DATA_SOURCE 0 nh $1
DATA_SOURCE 2 extack $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nh->nh_flags 0-6[c]
USER_DATA 0 nh->protocol 0-255
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

net/ipv4/fib_semantics.c fib_create_info() -> fib_check_nexthop()

Type Parameter Key Value
PARAM_VALUE 0 nh 4096-ptr_max
PARAM_VALUE 1 scope 0-254
PARAM_VALUE 2 extack 0,4971238048455385088
PARAM_VALUE 2 extack->bad_attr 0
PARAM_VALUE 2 extack->policy 0
PARAM_VALUE 2 *extack->_msg_buf 0-255
DATA_SOURCE 2 extack $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 scope 0[c]
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex