Lines Matching refs:to_lnk
1005 struct smc_link *to_lnk) in smc_switch_link_and_count() argument
1010 conn->lnk = to_lnk; in smc_switch_link_and_count()
1019 struct smc_link *to_lnk = NULL; in smc_switch_conns() local
1037 to_lnk = &lgr->lnk[i]; in smc_switch_conns()
1040 if (!to_lnk || !smc_wr_tx_link_hold(to_lnk)) { in smc_switch_conns()
1064 smc_switch_link_and_count(conn, to_lnk); in smc_switch_conns()
1071 rc = smc_cdc_get_free_slot(conn, to_lnk, &wr_buf, NULL, &pend); in smc_switch_conns()
1076 smc_switch_link_and_count(conn, to_lnk); in smc_switch_conns()
1085 smc_wr_tx_link_put(to_lnk); in smc_switch_conns()
1086 return to_lnk; in smc_switch_conns()
1089 smcr_link_down_cond_sched(to_lnk); in smc_switch_conns()
1090 smc_wr_tx_link_put(to_lnk); in smc_switch_conns()
1675 struct smc_link *to_lnk; in smcr_link_down() local
1681 to_lnk = smc_switch_conns(lgr, lnk, true); in smcr_link_down()
1682 if (!to_lnk) { /* no backup link available */ in smcr_link_down()
1691 smc_llc_srv_delete_link_local(to_lnk, del_link_id); in smcr_link_down()
1703 smc_llc_send_delete_link(to_lnk, del_link_id, in smcr_link_down()