Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/smc/af_smc.c smc_connect_rdma() -> smc_switch_link_and_count()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->alert_node.__rb_parent_color 1
PARAM_VALUE 0 conn->alert_node.rb_left 4096-ptr_max
PARAM_VALUE 0 conn->alert_node.rb_right 4096-ptr_max
PARAM_VALUE 0 conn->alert_token_local 1-u32max
PARAM_VALUE 0 conn->cdc_pend_tx_wq.head.next 4096-ptr_max
PARAM_VALUE 0 conn->cdc_pend_tx_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 conn->freed 0
PARAM_VALUE 0 conn->lgr 4096-ptr_max
PARAM_VALUE 0 conn->local_tx_ctrl.common.type 254
PARAM_VALUE 0 conn->local_tx_ctrl.len 44
PARAM_VALUE 0 conn->peer_rmbe_idx 0-1
PARAM_VALUE 0 conn->rmbe_size_comp 0-15
PARAM_VALUE 0 conn->rmbe_update_limit 2304-s32max
PARAM_VALUE 0 conn->rx_off 0,32
PARAM_VALUE 0 conn->rx_tsklet.use_callback 1
PARAM_VALUE 0 conn->urg_state 3
PARAM_VALUE 1 to_lnk 4096-ptr_max
PARAM_VALUE 1 to_lnk->peer_qpn 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &smc_client_lgr_pending
HALF_LOCKED2 &smc->sk
HALF_LOCKED2 sk

net/smc/smc_core.c smc_switch_conns() -> smc_switch_link_and_count()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->lnk 4096-ptr_max
PARAM_VALUE 0 conn->send_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 to_lnk 4096-ptr_max
CAPPED_DATA 0 conn->lnk 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 conn unit_byte
LOCK2 &lgr->conns_lock
LOCK2 bh
LOCK2 0 &conn->send_lock
HALF_LOCKED2 &lgr->llc_conf_mutex
HALF_LOCKED2 &lgr->llc_conf_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smc_connection)->send_lock
TYPE_LOCK (struct smc_link_group)->conns_lock
TYPE_LOCK (struct smc_link_group)->llc_conf_mutex

net/smc/smc_core.c smc_switch_conns() -> smc_switch_link_and_count()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->lnk 4096-ptr_max
PARAM_VALUE 0 conn->send_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 to_lnk 4096-ptr_max
CAPPED_DATA 0 conn->lnk 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 0 conn unit_byte
LOCK2 bh
LOCK2 0 &conn->send_lock
HALF_LOCKED2 &lgr->llc_conf_mutex
HALF_LOCKED2 &lgr->llc_conf_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smc_connection)->send_lock
TYPE_LOCK (struct smc_link_group)->llc_conf_mutex