Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ipv4/nexthop.c nexthop_notify() -> nh_fill_node()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 1 nh 4096-ptr_max
PARAM_VALUE 1 nh->nh_info->fib_nhc.nhc_gw_family 0,2,10
PARAM_VALUE 2 event 104-105
PARAM_VALUE 5 nlflags 0-u16max
PARAM_VALUE 6 op_flags 0
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 1 nh (-1),208
BUF_SIZE 1 nh (-1),208
DATA_SOURCE 0 skb r nlmsg_new
DATA_SOURCE 1 nh $1
DATA_SOURCE 2 event $0
FUZZY_MAX 5 nlflags 0
HARD_MAX 2 event 105
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nh->nh_flags 0-127[c]
USER_DATA 1 nh->protocol 0
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv4/nexthop.c rtm_dump_nexthop_cb() -> nh_fill_node()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 1 nh 4096-ptr_max
PARAM_VALUE 2 event 104
PARAM_VALUE 5 nlflags 2
BUF_SIZE 0 skb (-1)-s32max
BUF_SIZE 0 skb (-1)-s32max
CAPPED_DATA 0 skb->sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 skb $0
DATA_SOURCE 1 nh $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 nh unit_byte

net/ipv4/nexthop.c rtm_get_nexthop() -> nh_fill_node()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 1 nh 4096-ptr_max
PARAM_VALUE 1 nh->nh_info->fib_nhc.nhc_gw_family 0,2,10
PARAM_VALUE 2 event 104
PARAM_VALUE 5 nlflags 0
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
CAPPED_DATA 1 nh->id 1
DATA_SOURCE 0 skb r nlmsg_new
DATA_SOURCE 1 nh r nexthop_find_by_id
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 seq 0-u32max[u]
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 &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex