Home
last modified time | relevance | path

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

/net/smc/
Dsmc_core.c48 static atomic_t lgr_cnt = ATOMIC_INIT(0); /* number of existing link groups */ variable
814 atomic_inc(&ini->ism_dev[ini->ism_selected]->lgr_cnt); in smc_lgr_create()
831 atomic_inc(&lgr_cnt); in smc_lgr_create()
1232 if (!atomic_dec_return(&lgr->smcd->lgr_cnt)) in smc_lgr_free()
1235 if (!atomic_dec_return(&lgr_cnt)) in smc_lgr_free()
1383 if (atomic_read(&smcd->lgr_cnt)) in smc_smcd_terminate_all()
1384 wait_event(smcd->lgrs_deleted, !atomic_read(&smcd->lgr_cnt)); in smc_smcd_terminate_all()
1423 if (atomic_read(&lgr_cnt)) in smc_smcr_terminate_all()
1424 wait_event(lgrs_deleted, !atomic_read(&lgr_cnt)); in smc_smcr_terminate_all()
Dsmc_ism.c230 use_cnt = atomic_read(&smcd->lgr_cnt); in smc_nl_handle_smcd_dev()