Home
last modified time | relevance | path

Searched refs:lnk_cnt (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/smc/
H A Dsmc_ib.h54 atomic_t lnk_cnt; /* number of links on ibdev */ member
H A Dsmc_core.c760 atomic_inc(&lnk->smcibdev->lnk_cnt); in smcr_link_init()
820 if (!atomic_dec_return(&smcibdev->lnk_cnt)) in smcr_link_init()
1290 if (!atomic_dec_return(&smcibdev->lnk_cnt)) in __smcr_link_clear()
1621 if (atomic_read(&smcibdev->lnk_cnt)) in smc_smcr_terminate_all()
1623 !atomic_read(&smcibdev->lnk_cnt)); in smc_smcr_terminate_all()
H A Dsmc_ib.c955 atomic_set(&smcibdev->lnk_cnt, 0); in smc_ib_add_dev()