Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred.c get_fdb_out_dev() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock
HALF_LOCKED2 &priv->mdev->priv.eswitch->mode_lock

drivers/infiniband/core/roce_gid_mgmt.c is_eth_active_slave_of_bonding_rcu() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/infiniband/hw/mlx4/main.c mlx4_ib_get_netdev() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 &device->unregistration_lock
HALF_LOCKED2 &ibdev->client_data_rwsem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &table->lock
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &smbdirect_globals.devices.lock
HALF_LOCKED2 global &smc_ib_devices.mutex

drivers/net/bonding/bond_main.c bond_ethtool_get_ts_info() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/net/bonding/bond_main.c bond_hwtstamp_get() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/bonding/bond_main.c bond_hwtstamp_set() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/bonding/bond_sysfs.c bonding_show_active_slave() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 rcu_read
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/infiniband/hw/hns/hns_roce_bond.c hns_roce_set_bond_netdev() -> bond_option_active_slave_get_rcu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read