Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/team/team_core.c team_handle_frame() -> team_port_rx_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/team/team_core.c team_port_disable() -> team_port_rx_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/team/team_core.c team_port_disable_rx() -> team_port_rx_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/team/team_core.c team_port_enable() -> team_port_rx_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | (-1),160,192 |
| BUF_SIZE | 0 | port | (-1),160,192 |
| DATA_SOURCE | 0 | port | $1 |
| NOSPEC | 0 | port->dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->dev->flags | 0-526849[c] |
| USER_DATA | 0 | port->dev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | port->dev->num_tc | 2-16[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->dev->group | |
| 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 |
drivers/net/team/team_core.c team_port_enable_rx() -> team_port_rx_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/team/team_core.c team_port_enabled() -> team_port_rx_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | (-1),160,192 |
| BUF_SIZE | 0 | port | (-1),160,192 |
| DATA_SOURCE | 0 | port | $0 |
| NOSPEC | 0 | port->dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | port->dev->flags | 0-526849[c] |
| USER_DATA | 0 | port->dev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | port->orig.mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | port->dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | port->dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | port->dev->real_num_rx_queues | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/team/team_core.c team_port_rx_en_option_get() -> team_port_rx_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |