Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev.c bpf_xdp_link_update() -> dev_xdp_install()
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0-2 |
| PARAM_VALUE | 2 | bpf_op | 0,4096-ptr_max |
| PARAM_VALUE | 3 | extack | 0 |
| PARAM_VALUE | 5 | prog | 4096-ptr_max |
| BUF_SIZE | 5 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | prog | s32min-(-2),1-s32max |
| CAPPED_DATA | 5 | prog->expected_attach_type | 1 |
| CAPPED_DATA | 5 | prog->type | 1 |
| DATA_SOURCE | 1 | mode | r dev_xdp_mode |
| DATA_SOURCE | 5 | prog | $1 |
| LOCK2 | global &rtnl_mutex |
net/core/dev.c dev_xdp_detach_link() -> dev_xdp_install()
| 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->netdev_ops->ndo_bpf | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0-2 |
| PARAM_VALUE | 2 | bpf_op | 0,4096-ptr_max |
| PARAM_VALUE | 3 | extack | 0 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | prog | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | mode | r dev_xdp_mode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex |
net/core/dev.c dev_xdp_uninstall() -> dev_xdp_install()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_uninit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->qdisc | 7935956897246715904 |
| PARAM_VALUE | 0 | dev->tcx_egress | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->tcx_ingress | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0-2 |
| PARAM_VALUE | 2 | bpf_op | 4096-ptr_max |
| PARAM_VALUE | 3 | extack | 0 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | prog | 0 |
| CAPPED_DATA | 0 | dev->ingress_queue | 1 |
| CAPPED_DATA | 0 | dev->num_tx_queues | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &ovs_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &dev->lock |