Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/netkit.c netkit_new_link() -> rtnl_create_link()

Type Parameter Key Value
PARAM_VALUE 1 ifname 8947128439599321088
PARAM_VALUE 2 name_assign_type 1,3
PARAM_VALUE 3 ops 4081548727733526528
PARAM_VALUE 4 tb 4096-ptr_max
PARAM_VALUE 5 extack 4971238048455385088
BUF_SIZE 1 ifname 16
BUF_SIZE 4 tb 560
BUF_SIZE 4 tb 560
CAPPED_DATA 4 tb 1
DATA_SOURCE 5 extack $2
FUZZY_MAX 2 name_assign_type 3
BIT_INFO 2 name_assign_type 0x1,0x3
HARD_MAX 2 name_assign_type 3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ifname 0-255
USER_PTR 1 ifname
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &ops->srcu
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

drivers/net/can/vxcan.c vxcan_newlink() -> rtnl_create_link()

Type Parameter Key Value
PARAM_VALUE 1 ifname 8818695455379853312
PARAM_VALUE 2 name_assign_type 1,3
PARAM_VALUE 3 ops 8340435381260423168
PARAM_VALUE 4 tb 4096-ptr_max
PARAM_VALUE 5 extack 4971238048455385088
BUF_SIZE 1 ifname 16
BUF_SIZE 4 tb 560
BUF_SIZE 4 tb 560
DATA_SOURCE 5 extack $2
FUZZY_MAX 2 name_assign_type 3
STR_LEN 0 net (-1),15
BIT_INFO 2 name_assign_type 0x1,0x3
HARD_MAX 2 name_assign_type 3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ifname 0-255
USER_PTR 1 ifname
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &ops->srcu
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

drivers/net/veth.c veth_newlink() -> rtnl_create_link()

Type Parameter Key Value
PARAM_VALUE 1 ifname 1055484300160000000
PARAM_VALUE 2 name_assign_type 1,3
PARAM_VALUE 3 ops 1857866742864596992
PARAM_VALUE 4 tb 4096-ptr_max
PARAM_VALUE 5 extack 4971238048455385088
BUF_SIZE 1 ifname 16
BUF_SIZE 4 tb 560
BUF_SIZE 4 tb 560
DATA_SOURCE 5 extack $2
FUZZY_MAX 2 name_assign_type 3
STR_LEN 0 net (-1),15
BIT_INFO 2 name_assign_type 0x1,0x3
HARD_MAX 2 name_assign_type 3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ifname 0-255
USER_PTR 1 ifname
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &ops->srcu
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

net/core/rtnetlink.c rtnl_newlink_create() -> rtnl_create_link()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 ifname 7837600394740301824
PARAM_VALUE 2 name_assign_type 1,3
PARAM_VALUE 3 ops 4096-ptr_max
PARAM_VALUE 3 ops->alloc 0,1182153660833808384,3130032447137456128
PARAM_VALUE 3 ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 3 ops->peer_type 0-1
PARAM_VALUE 3 ops->setup 0,4096-ptr_max
PARAM_VALUE 3 ops->srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 3 ops->validate 0,4096-ptr_max
PARAM_VALUE 4 tb 4096-ptr_max
PARAM_VALUE 5 extack 4971238048455385088
BUF_SIZE 0 net (-1),10304,10432
BUF_SIZE 0 net (-1),10304,10432
BUF_SIZE 1 ifname 16
BUF_SIZE 4 tb 560
BUF_SIZE 4 tb 560
CAPPED_DATA 0 net 1
DATA_SOURCE 0 net $3
DATA_SOURCE 3 ops $2
DATA_SOURCE 4 tb $7
DATA_SOURCE 5 extack $9
FUZZY_MAX 2 name_assign_type 3
STR_LEN 0 net (-1),15
BIT_INFO 2 name_assign_type 0x1,0x3
HARD_MAX 2 name_assign_type 3
HARD_MAX 3 ops->maxtype 50
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *ifname 0-255
USER_PTR 1 ifname
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

drivers/net/wwan/wwan_core.c wwan_create_default_link() -> rtnl_create_link()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 ifname 7705159993810358272
PARAM_VALUE 2 name_assign_type 1
PARAM_VALUE 3 ops 5730498400631803904
PARAM_VALUE 4 tb 9174126955830697984
PARAM_VALUE 4 (*tb).nla_len 0
PARAM_VALUE 4 (*tb).nla_type 0
PARAM_VALUE 5 extack 0
BUF_SIZE 1 ifname 7
BUF_SIZE 4 tb 560
STR_LEN 0 net 6
TERMINATED 1 ifname 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock