Lines Matching refs:delllc
697 struct smc_llc_msg_del_link *delllc; in smc_llc_send_delete_link() local
707 delllc = (struct smc_llc_msg_del_link *)wr_buf; in smc_llc_send_delete_link()
709 memset(delllc, 0, sizeof(*delllc)); in smc_llc_send_delete_link()
710 delllc->hd.common.llc_type = SMC_LLC_DELETE_LINK; in smc_llc_send_delete_link()
711 smc_llc_init_msg_hdr(&delllc->hd, link->lgr, sizeof(*delllc)); in smc_llc_send_delete_link()
713 delllc->hd.flags |= SMC_LLC_FLAG_RESP; in smc_llc_send_delete_link()
715 delllc->hd.flags |= SMC_LLC_FLAG_DEL_LINK_ORDERLY; in smc_llc_send_delete_link()
717 delllc->link_num = link_del_id; in smc_llc_send_delete_link()
719 delllc->hd.flags |= SMC_LLC_FLAG_DEL_LINK_ALL; in smc_llc_send_delete_link()
720 delllc->reason = htonl(reason); in smc_llc_send_delete_link()
1624 struct smc_llc_msg_del_link delllc = {}; in smc_llc_send_link_delete_all() local
1627 delllc.hd.common.llc_type = SMC_LLC_DELETE_LINK; in smc_llc_send_link_delete_all()
1628 smc_llc_init_msg_hdr(&delllc.hd, lgr, sizeof(delllc)); in smc_llc_send_link_delete_all()
1630 delllc.hd.flags |= SMC_LLC_FLAG_DEL_LINK_ORDERLY; in smc_llc_send_link_delete_all()
1631 delllc.hd.flags |= SMC_LLC_FLAG_DEL_LINK_ALL; in smc_llc_send_link_delete_all()
1632 delllc.reason = htonl(rsn); in smc_llc_send_link_delete_all()
1637 if (!smc_llc_send_message_wait(&lgr->lnk[i], &delllc)) in smc_llc_send_link_delete_all()