Searched refs:lnk_cnt (Results 1 – 3 of 3) sorted by relevance
54 atomic_t lnk_cnt; /* number of links on ibdev */ member
752 atomic_inc(&lnk->smcibdev->lnk_cnt); in smcr_link_init()812 if (!atomic_dec_return(&smcibdev->lnk_cnt)) in smcr_link_init()1257 if (!atomic_dec_return(&smcibdev->lnk_cnt)) in __smcr_link_clear()1582 if (atomic_read(&smcibdev->lnk_cnt)) in smc_smcr_terminate_all()1584 !atomic_read(&smcibdev->lnk_cnt)); in smc_smcr_terminate_all()
949 atomic_set(&smcibdev->lnk_cnt, 0); in smc_ib_add_dev()