Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/bonding/bond_3ad.c, line 250
- drivers/net/bonding/bond_main.c
- drivers/net/bonding/bond_options.c
- include/net/bonding.h
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c bond_is_active_slave_dev() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_3ad.c __port_is_collecting_distributing() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PREEMPT_ADD | |||
| LOCK2 | &bond->mode_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bonding)->mode_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/rep/bond.c bond_is_active_slave_dev() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| LOCK2 | rcu_read |
drivers/net/bonding/bond_main.c __bond_release_one() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| PARAM_VALUE | 0 | slave->backup | 1 |
| BUF_SIZE | 0 | slave | (-1),1104 |
| BUF_SIZE | 0 | slave | (-1),1104 |
| CAPPED_DATA | 0 | slave | 1 |
| CAPPED_DATA | 0 | slave->dev | 1 |
| DATA_SOURCE | 0 | slave | r bond_get_slave_by_dev |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/bonding/bond_main.c bond_ab_arp_inspect() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| BUF_SIZE | 0 | slave | 1104 |
| BUF_SIZE | 0 | slave | 1104 |
| DATA_SOURCE | 0 | slave | r netdev_lower_get_next_private_rcu |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/bonding/bond_main.c bond_ab_arp_inspect() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| BUF_SIZE | 0 | slave | 1104 |
| BUF_SIZE | 0 | slave | 1104 |
| DATA_SOURCE | 0 | slave | r netdev_lower_get_next_private_rcu |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/bonding/bond_main.c bond_arp_rcv() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | slave | $2 |
drivers/net/bonding/bond_main.c bond_lower_state_changed() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | slave | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| BUF_SIZE | 0 | slave | 1104 |
| BUF_SIZE | 0 | slave | 1104 |
| DATA_SOURCE | 0 | slave | r netdev_lower_get_next_private_rcu |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/bonding/bond_main.c bond_na_rcv() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | slave | $2 |
drivers/net/bonding/bond_main.c bond_slave_can_tx() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| DATA_SOURCE | 0 | slave | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
drivers/net/bonding/bond_alb.c bond_slave_can_tx() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 4096-ptr_max |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | slave | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bond->mode_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/bonding/bond_options.c bond_option_all_slaves_active_set() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| BUF_SIZE | 0 | slave | 1104 |
| BUF_SIZE | 0 | slave | 1104 |
| DATA_SOURCE | 0 | slave | r netdev_lower_get_next_private |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_options.c slave_can_set_ns_maddr() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | slave | 1-u64max |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | slave | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/hns/hns_roce_bond.c bond_is_active_slave_dev() -> bond_is_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | slave | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |