Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/bonding/bond_3ad.c ad_agg_selection_logic() -> __disable_port()

Type Parameter Key Value
PARAM_VALUE 0 port 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &bond->mode_lock
HALF_LOCKED2 &slave->bond->mode_lock
TYPE_LOCK (struct bonding)->mode_lock

drivers/net/bonding/bond_3ad.c ad_disable_collecting_distributing() -> __disable_port()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->actor_oper_port_state 0-207
PARAM_VALUE 0 port->aggregator 4096-ptr_max
PARAM_VALUE 0 port->aggregator->partner_system.mac_addr_value 4096-ptr_max
PARAM_VALUE 0 port->slave 4096-ptr_max
PARAM_VALUE 0 port->sm_mux_state 1,3
PARAM_VALUE 0 *port->slave->bond->dev->name 0-255
BUF_SIZE 0 port 256
DATA_SOURCE 0 port $0
BIT_INFO 0 port->actor_oper_port_state 0x0,0xcf
HARD_MAX 0 port->sm_mux_state 3
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &bond->mode_lock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bonding)->mode_lock

drivers/net/bonding/bond_3ad.c bond_3ad_bind_slave() -> __disable_port()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->actor_admin_port_state 4-5
PARAM_VALUE 0 port->actor_oper_port_state 4-7
PARAM_VALUE 0 port->actor_port_aggregator_identifier 0
PARAM_VALUE 0 port->actor_port_priority 255
PARAM_VALUE 0 port->aggregator 0
PARAM_VALUE 0 port->churn_actor_count 0
PARAM_VALUE 0 port->churn_partner_count 0
PARAM_VALUE 0 port->is_enabled 1
PARAM_VALUE 0 port->lacpdu.actor_information_length 20
PARAM_VALUE 0 port->lacpdu.actor_key 0
PARAM_VALUE 0 port->lacpdu.actor_port 0
PARAM_VALUE 0 port->lacpdu.actor_port_priority 0
PARAM_VALUE 0 port->lacpdu.actor_state 0
PARAM_VALUE 0 port->lacpdu.actor_system_priority 0
PARAM_VALUE 0 port->lacpdu.collector_information_length 16
PARAM_VALUE 0 port->lacpdu.collector_max_delay 0
PARAM_VALUE 0 port->lacpdu.partner_information_length 20
PARAM_VALUE 0 port->lacpdu.partner_key 0
PARAM_VALUE 0 port->lacpdu.partner_port 0
PARAM_VALUE 0 port->lacpdu.partner_port_priority 0
PARAM_VALUE 0 port->lacpdu.partner_state 0
PARAM_VALUE 0 port->lacpdu.partner_system_priority 0
PARAM_VALUE 0 port->lacpdu.subtype 1
PARAM_VALUE 0 port->lacpdu.terminator_length 0
PARAM_VALUE 0 port->lacpdu.tlv_type_actor_info 1
PARAM_VALUE 0 port->lacpdu.tlv_type_collector_info 3
PARAM_VALUE 0 port->lacpdu.tlv_type_partner_info 2
PARAM_VALUE 0 port->lacpdu.tlv_type_terminator 0
PARAM_VALUE 0 port->lacpdu.version_number 1
PARAM_VALUE 0 port->next_port_in_aggregator 0
PARAM_VALUE 0 port->ntt 0
PARAM_VALUE 0 port->partner_admin.key 1
PARAM_VALUE 0 port->partner_admin.port_number 1
PARAM_VALUE 0 port->partner_admin.port_priority 255
PARAM_VALUE 0 port->partner_admin.port_state 0
PARAM_VALUE 0 port->partner_admin.system_priority u16max
PARAM_VALUE 0 port->partner_oper.key 1
PARAM_VALUE 0 port->partner_oper.port_number 1
PARAM_VALUE 0 port->partner_oper.port_priority 255
PARAM_VALUE 0 port->partner_oper.port_state 0
PARAM_VALUE 0 port->partner_oper.system_priority u16max
PARAM_VALUE 0 port->slave 4096-ptr_max
PARAM_VALUE 0 port->slave->ad_info 4096-ptr_max
PARAM_VALUE 0 port->slave->bond 4096-ptr_max
PARAM_VALUE 0 port->slave->speed 0-9,11-99,101-999,1001-2499,2501-4999,5001-9999,10001-13999
PARAM_VALUE 0 port->sm_churn_actor_state 0
PARAM_VALUE 0 port->sm_churn_actor_timer_counter 0
PARAM_VALUE 0 port->sm_churn_partner_state 0
PARAM_VALUE 0 port->sm_churn_partner_timer_counter 0
PARAM_VALUE 0 port->sm_mux_state 0
PARAM_VALUE 0 port->sm_mux_timer_counter 0
PARAM_VALUE 0 port->sm_periodic_state 0
PARAM_VALUE 0 port->sm_periodic_timer_counter 0
PARAM_VALUE 0 port->sm_rx_state 0
PARAM_VALUE 0 port->sm_rx_timer_counter 0
PARAM_VALUE 0 port->sm_tx_state 0
PARAM_VALUE 0 port->sm_tx_timer_counter 3
PARAM_VALUE 0 port->transaction_id 0
BUF_SIZE 0 port 256
NOCHECK_CALL