Searched refs:lgr_cnt (Results 1 – 3 of 3) sorted by relevance
95 atomic_t lgr_cnt; member
49 static atomic_t lgr_cnt = ATOMIC_INIT(0); /* number of existing link groups */ variable932 atomic_inc(&ini->ism_dev[ini->ism_selected]->lgr_cnt); in smc_lgr_create()975 atomic_inc(&lgr_cnt); in smc_lgr_create()1444 if (!atomic_dec_return(&lgr->smcd->lgr_cnt)) in __smc_lgr_free()1448 if (!atomic_dec_return(&lgr_cnt)) in __smc_lgr_free()1636 if (atomic_read(&smcd->lgr_cnt)) in smc_smcd_terminate_all()1637 wait_event(smcd->lgrs_deleted, !atomic_read(&smcd->lgr_cnt)); in smc_smcd_terminate_all()1676 if (atomic_read(&lgr_cnt)) in smc_smcr_terminate_all()1677 wait_event(lgrs_deleted, !atomic_read(&lgr_cnt)); in smc_smcr_terminate_all()
314 use_cnt = atomic_read(&smcd->lgr_cnt); in smc_nl_handle_smcd_dev()