Home
last modified time | relevance | path

Searched refs:lgr_cnt (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/net/
H A Dsmc.h89 atomic_t lgr_cnt; member
/openbmc/linux/net/smc/
H A Dsmc_core.c49 static atomic_t lgr_cnt = ATOMIC_INIT(0); /* number of existing link groups */ variable
885 atomic_inc(&ini->ism_dev[ini->ism_selected]->lgr_cnt); in smc_lgr_create()
928 atomic_inc(&lgr_cnt); in smc_lgr_create()
1373 if (!atomic_dec_return(&lgr->smcd->lgr_cnt)) in __smc_lgr_free()
1377 if (!atomic_dec_return(&lgr_cnt)) in __smc_lgr_free()
1559 if (atomic_read(&smcd->lgr_cnt)) in smc_smcd_terminate_all()
1560 wait_event(smcd->lgrs_deleted, !atomic_read(&smcd->lgr_cnt)); in smc_smcd_terminate_all()
1599 if (atomic_read(&lgr_cnt)) in smc_smcr_terminate_all()
1600 wait_event(lgrs_deleted, !atomic_read(&lgr_cnt)); in smc_smcr_terminate_all()
H A Dsmc_ism.c247 use_cnt = atomic_read(&smcd->lgr_cnt); in smc_nl_handle_smcd_dev()