Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/smc/smc_llc.c smc_llc_do_delete_rkey() -> smc_llc_usable_link()

Type Parameter Key Value
PARAM_VALUE 0 lgr 4096-ptr_max
DATA_SOURCE 0 lgr $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &lgr->llc_conf_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smc_link_group)->llc_conf_mutex

net/smc/smc_core.c smcr_port_add() -> smc_llc_usable_link()

Type Parameter Key Value
PARAM_VALUE 0 lgr 4096-ptr_max
CAPPED_DATA 0 &lgr->list 1
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 global &smc_lgr_list.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct smc_lgr_list)->lock