Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/core/dev.c unregister_netdevice_many() -> unregister_netdevice_many_notify()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 portid 0
PARAM_VALUE 2 nlh 0
DATA_SOURCE 0 head $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 &port->pnodes_lock
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 global &rtnl_mutex

net/core/rtnetlink.c rtnl_delete_link() -> unregister_netdevice_many_notify()

Type Parameter Key Value
PARAM_VALUE 0 head 4837116953216237568
PARAM_VALUE 0 head->next 4837116953216237568
PARAM_VALUE 0 head->prev 4837116953216237568
PARAM_VALUE 2 nlh 4096-ptr_max
PARAM_VALUE 2 nlh->nlmsg_flags 1-u16max
PARAM_VALUE 2 nlh->nlmsg_len 17-u32max
PARAM_VALUE 2 nlh->nlmsg_type 16-123
BUF_SIZE 2 nlh 1-s32max
BUF_SIZE 2 nlh 1-s32max
CAPPED_DATA 2 nlh->nlmsg_len 1
DATA_SOURCE 1 portid $1
DATA_SOURCE 2 nlh $2
CONSTRAINT 2 nlh <=49
BIT_INFO 2 nlh->nlmsg_flags 0x1,0xffffffffffffffff
NOSPEC 2 nlh->nlmsg_len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 nlh->nlmsg_flags 1-u16max[u]
USER_DATA 2 nlh->nlmsg_len 17-s32max[c]
USER_DATA 2 nlh->nlmsg_pid 0-u32max[u]
USER_DATA 2 nlh->nlmsg_seq 0-u32max[u]
USER_DATA 2 nlh->nlmsg_type 16-123[u]
UNITS 2 nlh unit_byte
USER_PTR 2 nlh
LOCK2 &tgt_net->rtnl_mutex
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
TYPE_LOCK (struct net)->rtnl_mutex