Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/core/dev.c dev_change_xdp_fd() -> dev_xdp_attach()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_bpf 0,4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_change_carrier 0,885170895855865856,1782477489044140032,2219068876340936704,3313908872681771008,6182840514861293568,6498501278544633856
PARAM_VALUE 0 dev->netdev_ops->ndo_set_config 0,1586268954384080896,2133952100825280512,4430316855586635776
PARAM_VALUE 0 dev->netdev_ops->ndo_set_vf_guid 0,1993202516722049024
PARAM_VALUE 0 dev->netdev_ops->ndo_set_vf_port 0,6678536409099956224
PARAM_VALUE 0 dev->netdev_ops->ndo_set_vf_vlan 0,4096-ptr_max
PARAM_VALUE 1 extack 4971238048455385088
PARAM_VALUE 2 link 0
PARAM_VALUE 3 new_prog 0,4096-ptr_max
PARAM_VALUE 4 old_prog 0,4096-ptr_max
PARAM_VALUE 5 flags 0-30
BUF_SIZE 3 new_prog s32min-(-2),0-s32max
BUF_SIZE 3 new_prog s32min-(-2),0-s32max
BUF_SIZE 4 old_prog s32min-(-2),0-s32max
BUF_SIZE 4 old_prog s32min-(-2),0-s32max
CAPPED_DATA 0 dev 1
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 extack $1
DATA_SOURCE 5 flags $4
FUZZY_MAX 5 flags 0
RX_PATH
TASK_NOT_RUNNING
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

net/core/dev.c dev_xdp_attach_link() -> dev_xdp_attach()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 1 extack 1521901953896292352
PARAM_VALUE 1 extack->_msg 0
PARAM_VALUE 1 extack->bad_attr 0
PARAM_VALUE 1 extack->policy 0
PARAM_VALUE 2 link 4096-ptr_max
PARAM_VALUE 2 link->dev 4096-ptr_max
PARAM_VALUE 2 link->link.attach_type 3-7,16-18,23-28,37-38,43,58-61
PARAM_VALUE 2 link->link.id 0
PARAM_VALUE 2 link->link.ops 7343517155048247296
PARAM_VALUE 2 link->link.ops->dealloc 0,4096-ptr_max
PARAM_VALUE 2 link->link.ops->dealloc_deferred 0,1759708710073585664,5585267827817062400,6383829618595254272,7043826165124968448,7435821247301136384
PARAM_VALUE 2 link->link.ops->detach 0,4096-ptr_max
PARAM_VALUE 2 link->link.ops->fill_link_info 0,4096-ptr_max
PARAM_VALUE 2 link->link.ops->poll 0,8364268165973803008
PARAM_VALUE 2 link->link.ops->release 0,4096-ptr_max
PARAM_VALUE 2 link->link.ops->show_fdinfo 0,4096-ptr_max
PARAM_VALUE 2 link->link.ops->update_map 0,3748582149185703936
PARAM_VALUE 2 link->link.ops->update_prog 0,4096-ptr_max
PARAM_VALUE 2 link->link.prog 4096-ptr_max
PARAM_VALUE 2 link->link.refcnt.counter 1
PARAM_VALUE 2 link->link.sleepable 0
PARAM_VALUE 2 link->link.type 6
PARAM_VALUE 3 new_prog 0
PARAM_VALUE 4 old_prog 0
BUF_SIZE 2 link 144
CAPPED_DATA 0 dev->ifindex 1
CAPPED_DATA 2 link->dev->ifindex 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 extack $1
DATA_SOURCE 2 link $2
LOCK2 global &rtnl_mutex