• Home
  • Raw
  • Download

Lines Matching refs:SMC_SINGLE_LINK

175 		struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK];  in smc_lgr_free_work()
187 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_lgr_free_work()
244 lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_lgr_create()
247 lnk->link_id = SMC_SINGLE_LINK; in smc_lgr_create()
317 &lgr->lnk[SMC_SINGLE_LINK], in smc_buf_unuse()
367 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smcr_buf_free()
370 if (buf_desc->mr_rx[SMC_SINGLE_LINK]) in smcr_buf_free()
372 buf_desc->mr_rx[SMC_SINGLE_LINK]); in smcr_buf_free()
379 sg_free_table(&buf_desc->sgt[SMC_SINGLE_LINK]); in smcr_buf_free()
442 smc_link_clear(&lgr->lnk[SMC_SINGLE_LINK]); in smc_lgr_free()
443 put_device(&lgr->lnk[SMC_SINGLE_LINK].smcibdev->ibdev->dev); in smc_lgr_free()
470 smc_llc_link_inactive(&lgr->lnk[SMC_SINGLE_LINK]); in __smc_lgr_terminate()
489 wake_up(&lgr->lnk[SMC_SINGLE_LINK].wr_reg_wait); in __smc_lgr_terminate()
508 lgr->lnk[SMC_SINGLE_LINK].smcibdev == smcibdev && in smc_port_terminate()
509 lgr->lnk[SMC_SINGLE_LINK].ibport == ibport) in smc_port_terminate()
596 !memcmp(lgr->lnk[SMC_SINGLE_LINK].peer_gid, &lcl->gid, in smcr_lgr_match()
598 !memcmp(lgr->lnk[SMC_SINGLE_LINK].peer_mac, lcl->mac, in smcr_lgr_match()
602 lgr->lnk[SMC_SINGLE_LINK].peer_qpn == clcqpn); in smcr_lgr_match()
763 lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smcr_new_buf_create()
764 rc = sg_alloc_table(&buf_desc->sgt[SMC_SINGLE_LINK], 1, in smcr_new_buf_create()
770 sg_set_buf(buf_desc->sgt[SMC_SINGLE_LINK].sgl, in smcr_new_buf_create()
916 smc_ib_sync_sg_for_cpu(lgr->lnk[SMC_SINGLE_LINK].smcibdev, in smc_sndbuf_sync_sg_for_cpu()
926 smc_ib_sync_sg_for_device(lgr->lnk[SMC_SINGLE_LINK].smcibdev, in smc_sndbuf_sync_sg_for_device()
936 smc_ib_sync_sg_for_cpu(lgr->lnk[SMC_SINGLE_LINK].smcibdev, in smc_rmb_sync_sg_for_cpu()
946 smc_ib_sync_sg_for_device(lgr->lnk[SMC_SINGLE_LINK].smcibdev, in smc_rmb_sync_sg_for_device()
990 if ((lgr->rtokens[i][SMC_SINGLE_LINK].rkey == rkey) && in smc_rtoken_add()
991 (lgr->rtokens[i][SMC_SINGLE_LINK].dma_addr == dma_addr) && in smc_rtoken_add()
1000 lgr->rtokens[i][SMC_SINGLE_LINK].rkey = rkey; in smc_rtoken_add()
1001 lgr->rtokens[i][SMC_SINGLE_LINK].dma_addr = dma_addr; in smc_rtoken_add()
1012 if (lgr->rtokens[i][SMC_SINGLE_LINK].rkey == rkey && in smc_rtoken_delete()
1014 lgr->rtokens[i][SMC_SINGLE_LINK].rkey = 0; in smc_rtoken_delete()
1015 lgr->rtokens[i][SMC_SINGLE_LINK].dma_addr = 0; in smc_rtoken_delete()
1048 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_core_exit()