Searched refs:lgr_cnt (Results 1 – 3 of 3) sorted by relevance
89 atomic_t lgr_cnt; member
49 static atomic_t lgr_cnt = ATOMIC_INIT(0); /* number of existing link groups */ variable885 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()
247 use_cnt = atomic_read(&smcd->lgr_cnt); in smc_nl_handle_smcd_dev()