Lines Matching refs:to_lnk
1065 struct smc_link *to_lnk) in smc_switch_link_and_count() argument
1070 conn->lnk = to_lnk; in smc_switch_link_and_count()
1079 struct smc_link *to_lnk = NULL; in smc_switch_conns() local
1097 to_lnk = &lgr->lnk[i]; in smc_switch_conns()
1100 if (!to_lnk || !smc_wr_tx_link_hold(to_lnk)) { in smc_switch_conns()
1124 smc_switch_link_and_count(conn, to_lnk); in smc_switch_conns()
1131 rc = smc_cdc_get_free_slot(conn, to_lnk, &wr_buf, NULL, &pend); in smc_switch_conns()
1136 smc_switch_link_and_count(conn, to_lnk); in smc_switch_conns()
1145 smc_wr_tx_link_put(to_lnk); in smc_switch_conns()
1146 return to_lnk; in smc_switch_conns()
1149 smcr_link_down_cond_sched(to_lnk); in smc_switch_conns()
1150 smc_wr_tx_link_put(to_lnk); in smc_switch_conns()
1770 struct smc_link *to_lnk; in smcr_link_down() local
1776 to_lnk = smc_switch_conns(lgr, lnk, true); in smcr_link_down()
1777 if (!to_lnk) { /* no backup link available */ in smcr_link_down()
1786 smc_llc_srv_delete_link_local(to_lnk, del_link_id); in smcr_link_down()
1798 smc_llc_send_delete_link(to_lnk, del_link_id, in smcr_link_down()