Lines Matching refs:rkeyllc
490 struct smc_llc_msg_confirm_rkey *rkeyllc; in smc_llc_send_confirm_rkey() local
501 rkeyllc = (struct smc_llc_msg_confirm_rkey *)wr_buf; in smc_llc_send_confirm_rkey()
502 memset(rkeyllc, 0, sizeof(*rkeyllc)); in smc_llc_send_confirm_rkey()
503 rkeyllc->hd.common.llc_type = SMC_LLC_CONFIRM_RKEY; in smc_llc_send_confirm_rkey()
504 smc_llc_init_msg_hdr(&rkeyllc->hd, send_link->lgr, sizeof(*rkeyllc)); in smc_llc_send_confirm_rkey()
510 rkeyllc->rtoken[rtok_ix].link_id = link->link_id; in smc_llc_send_confirm_rkey()
511 rkeyllc->rtoken[rtok_ix].rmb_key = in smc_llc_send_confirm_rkey()
513 rkeyllc->rtoken[rtok_ix].rmb_vaddr = rmb_desc->is_vm ? in smc_llc_send_confirm_rkey()
521 rkeyllc->rtoken[0].num_rkeys = rtok_ix - 1; in smc_llc_send_confirm_rkey()
522 rkeyllc->rtoken[0].rmb_key = in smc_llc_send_confirm_rkey()
524 rkeyllc->rtoken[0].rmb_vaddr = rmb_desc->is_vm ? in smc_llc_send_confirm_rkey()
539 struct smc_llc_msg_delete_rkey *rkeyllc; in smc_llc_send_delete_rkey() local
549 rkeyllc = (struct smc_llc_msg_delete_rkey *)wr_buf; in smc_llc_send_delete_rkey()
550 memset(rkeyllc, 0, sizeof(*rkeyllc)); in smc_llc_send_delete_rkey()
551 rkeyllc->hd.common.llc_type = SMC_LLC_DELETE_RKEY; in smc_llc_send_delete_rkey()
552 smc_llc_init_msg_hdr(&rkeyllc->hd, link->lgr, sizeof(*rkeyllc)); in smc_llc_send_delete_rkey()
553 rkeyllc->num_rkeys = 1; in smc_llc_send_delete_rkey()
554 rkeyllc->rkey[0] = htonl(rmb_desc->mr[link->link_idx]->rkey); in smc_llc_send_delete_rkey()