Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/switchdev/switchdev.c switchdev_port_attr_set() -> switchdev_port_attr_set_now()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->complete | 0 |
| PARAM_VALUE | 1 | attr->flags | 0,2,4,6 |
| PARAM_VALUE | 1 | attr->id | 1-3,5-13 |
| PARAM_VALUE | 1 | attr->u.brport_flags.mask | 0-6379617 |
| PARAM_VALUE | 2 | extack | 0,948854884830830592,4971238048455385088,5815034229123354624 |
| PARAM_VALUE | 2 | extack->bad_attr | 0,4096-ptr_max |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | extack | $2 |
| BIT_INFO | 1 | attr->flags | 0x0,0x3 |
| NOSPEC | 0 | dev->ifindex | |
| HARD_MAX | 1 | attr->flags | 6 |
| HARD_MAX | 1 | attr->id | 13 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-527362[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| USER_DATA | 1 | attr->u.mc_disabled | 0-1 |
| USER_DATA | 1 | attr->u.mrouter | 0[c] |
| USER_DATA | 1 | attr->u.mst | 0-1 |
| USER_DATA | 1 | attr->u.vlan_filtering | 0-1 |
| USER_DATA | 1 | attr->u.vlan_protocol | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &p->multicast_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/switchdev/switchdev.c switchdev_port_attr_set_deferred() -> switchdev_port_attr_set_now()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 2 | extack | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |