Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/bonding/bond_main.c bond_ab_arp_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 1-u64max
PARAM_VALUE 1 state (-1)
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_ab_arp_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 0
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_ab_arp_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 1
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_ab_arp_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 2
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_ab_arp_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 2
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_loadbalance_arp_mon() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 1 state (-1)
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_loadbalance_arp_mon() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 0
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_loadbalance_arp_mon() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 2
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_commit() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-128)-(-2),4-127
PARAM_VALUE 1 state (-1)
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 1-u64max
PARAM_VALUE 1 state (-1)
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 1
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 0
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1),1
PARAM_VALUE 1 state 2
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 3
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1)
PARAM_VALUE 1 state 2
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_miimon_inspect() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 0 slave->link_new_state (-1),3
PARAM_VALUE 1 state 0
BUF_SIZE 0 slave 1104
BUF_SIZE 0 slave 1104
DATA_SOURCE 0 slave r netdev_lower_get_next_private_rcu
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_main.c bond_set_slave_link_state() -> bond_propose_link_state()

Type Parameter Key Value
PARAM_VALUE 0 slave 4096-ptr_max
PARAM_VALUE 1 state 0-3
DATA_SOURCE 0 slave $0
DATA_SOURCE 1 state $1
HARD_MAX 1 state 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read