Home
last modified time | relevance | path

Searched refs:lnk_idx (Results 1 – 2 of 2) sorted by relevance

/net/smc/
Dsmc_llc.c699 int prim_lnk_idx, lnk_idx, i, rc; in smc_llc_add_link_cont() local
714 lnk_idx = link_new->link_idx; in smc_llc_add_link_cont()
730 addc_llc->rt[i].rmb_key_new = htonl(rmb->mr_rx[lnk_idx]->rkey); in smc_llc_add_link_cont()
732 cpu_to_be64((u64)sg_dma_address(rmb->sgt[lnk_idx].sgl)); in smc_llc_add_link_cont()
875 int lnk_idx, rc = 0; in smc_llc_cli_add_link() local
893 lnk_idx = smc_llc_alloc_alt_link(lgr, lgr_new_t); in smc_llc_cli_add_link()
894 if (lnk_idx < 0) in smc_llc_cli_add_link()
896 lnk_new = &lgr->lnk[lnk_idx]; in smc_llc_cli_add_link()
897 rc = smcr_link_init(lgr, lnk_new, lnk_idx, &ini); in smc_llc_cli_add_link()
1163 int lnk_idx, rc = 0; in smc_llc_srv_add_link() local
[all …]
Dsmc_core.c1813 static int smc_rtoken_find_by_link(struct smc_link_group *lgr, int lnk_idx, in smc_rtoken_find_by_link() argument
1820 lgr->rtokens[i][lnk_idx].rkey == rkey) in smc_rtoken_find_by_link()