Defined in 1 files as a prototype:
Defined in 2 files as a function:
- net/bridge/br_private.h, line 2314 (as a function)
- net/bridge/br_switchdev.c, line 81 (as a function)
Referenced in 2 files:
Smatch caller information:
net/bridge/br_sysfs_if.c store_flag() -> br_switchdev_set_port_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | p->dev | 4096-ptr_max |
| PARAM_VALUE | 3 | extack | 5815034229123354624 |
| PARAM_VALUE | 3 | extack->_msg | 0 |
| PARAM_VALUE | 3 | extack->bad_attr | 0 |
| PARAM_VALUE | 3 | extack->policy | 0 |
| CAPPED_DATA | 0 | p->dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | p | $0 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/bridge/br_netlink.c br_setport() -> br_switchdev_set_port_flag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | extack | 4971238048455385088 |
| CAPPED_DATA | 1 | flags | 1 |
| CAPPED_DATA | 1 | flags | 1 |
| DATA_SOURCE | 0 | p | $0 |
| DATA_SOURCE | 3 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |