Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- net/bridge/br_ioctl.c, line 290
- net/bridge/br_netlink.c, line 1357
- net/bridge/br_sysfs_br.c, line 211
Smatch caller information:
net/bridge/br_netlink.c br_changelink() -> br_stp_set_bridge_priority()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | newprio | r nla_get_u16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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/bridge/br_sysfs_br.c set_priority() -> br_stp_set_bridge_priority()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| CAPPED_DATA | 0 | br->dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | br | $0 |
| DATA_SOURCE | 1 | newprio | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | newprio | 0-u16max |
| NO_OVERFLOW_SIMPLE | 1 | newprio | |
| 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_ioctl.c br_dev_siocdevprivate() -> br_stp_set_bridge_priority()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NS_CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | newprio | 0-u16max |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |