Searched refs:lgr_cnt (Results 1 – 2 of 2) sorted by relevance
48 static atomic_t lgr_cnt = ATOMIC_INIT(0); /* number of existing link groups */ variable814 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()
230 use_cnt = atomic_read(&smcd->lgr_cnt); in smc_nl_handle_smcd_dev()