lkey             1097 drivers/infiniband/core/mad.c 	mad_send_wr->sg_list[0].lkey = mad_agent->qp->pd->local_dma_lkey;
lkey             1106 drivers/infiniband/core/mad.c 	mad_send_wr->sg_list[1].lkey = mad_agent->qp->pd->local_dma_lkey;
lkey             2936 drivers/infiniband/core/mad.c 	sg_list.lkey = qp_info->port_priv->pd->local_dma_lkey;
lkey              587 drivers/infiniband/core/nldev.c 		if (nla_put_u32(msg, RDMA_NLDEV_ATTR_RES_LKEY, mr->lkey))
lkey               74 drivers/infiniband/core/rw.c 		reg->inv_wr.ex.invalidate_rkey = reg->mr->lkey;
lkey              163 drivers/infiniband/core/rw.c 			reg->wr.wr.ex.invalidate_rkey = reg->mr->lkey;
lkey              224 drivers/infiniband/core/rw.c 			sge->lkey = qp->pd->local_dma_lkey;
lkey              253 drivers/infiniband/core/rw.c 	ctx->single.sge.lkey = qp->pd->local_dma_lkey;
lkey              436 drivers/infiniband/core/rw.c 	ctx->reg->reg_wr.key = ctx->reg->mr->lkey;
lkey              480 drivers/infiniband/core/rw.c 	ib_update_fast_reg_key(reg->mr, ib_inc_rkey(reg->mr->lkey));
lkey              481 drivers/infiniband/core/rw.c 	reg->reg_wr.key = reg->mr->lkey;
lkey              482 drivers/infiniband/core/rw.c 	reg->sge.lkey = reg->mr->lkey;
lkey              765 drivers/infiniband/core/uverbs_cmd.c 	resp.lkey      = mr->lkey;
lkey              851 drivers/infiniband/core/uverbs_cmd.c 	resp.lkey      = mr->lkey;
lkey              139 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_LKEY, &mr->lkey,
lkey              140 drivers/infiniband/core/uverbs_std_types_mr.c 			     sizeof(mr->lkey));
lkey              309 drivers/infiniband/core/verbs.c 			pd->local_dma_lkey = pd->__internal_mr->lkey;
lkey              114 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		sg_list[i].lkey = ib_sg_list[i].lkey;
lkey              417 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	wqe->bind.parent_l_key = ib_mr->lkey;
lkey              472 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		if (mr->ib_mr.lkey)
lkey              525 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	mr->ib_mr.lkey = mr->qplib_mr.lkey;
lkey             1966 drivers/infiniband/hw/bnxt_re/ib_verbs.c 			wqe->sg_list[i].lkey = wqe->sg_list[i - 1].lkey;
lkey             1992 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		wqe->sg_list[0].lkey = sge.lkey;
lkey             2028 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	ref.lkey = wqe->sg_list[0].lkey;
lkey             2035 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	wqe->sg_list[0].lkey = sge.lkey;
lkey             2040 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	sqp_entry->sge.lkey = ref.lkey;
lkey             2917 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	s_sge[0].lkey = 0xFFFFFFFF;
lkey             2926 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	s_sge[1].lkey = 0xFFFFFFFF;
lkey             2932 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	r_sge[0].lkey = 0xFFFFFFFF;
lkey             2936 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	r_sge[1].lkey = sqp_entry->sge.lkey;
lkey             3304 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	mr->ib_mr.lkey = mr->qplib_mr.lkey;
lkey             3307 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		mr->ib_mr.rkey = mr->ib_mr.lkey;
lkey             3393 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	mr->ib_mr.lkey = mr->qplib_mr.lkey;
lkey             3394 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	mr->ib_mr.rkey = mr->ib_mr.lkey;
lkey             3587 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	mr->ib_mr.lkey = mr->qplib_mr.lkey;
lkey             3588 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	mr->ib_mr.rkey = mr->qplib_mr.lkey;
lkey              689 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		hw_sge->l_key = cpu_to_le32(wqe->sg_list[i].lkey);
lkey             1468 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		sge->lkey = 0xFFFFFFFF;
lkey             1499 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		sge->lkey = 0xFFFFFFFF;
lkey             1583 drivers/infiniband/hw/bnxt_re/qplib_fp.c 			hw_sge->l_key = cpu_to_le32(wqe->sg_list[i].lkey);
lkey             1857 drivers/infiniband/hw/bnxt_re/qplib_fp.c 		hw_sge->l_key = cpu_to_le32(wqe->sg_list[i].lkey);
lkey               64 drivers/infiniband/hw/bnxt_re/qplib_fp.h 	u32				lkey;
lkey              565 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	if (mrw->lkey == 0xFFFFFFFF) {
lkey              579 drivers/infiniband/hw/bnxt_re/qplib_sp.c 		req.key = cpu_to_le32(mrw->lkey);
lkey              624 drivers/infiniband/hw/bnxt_re/qplib_sp.c 		mrw->lkey = le32_to_cpu(resp.xid);
lkey              639 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	req.lkey = cpu_to_le32(mrw->lkey);
lkey              725 drivers/infiniband/hw/bnxt_re/qplib_sp.c 	req.key = cpu_to_le32(mr->lkey);
lkey              113 drivers/infiniband/hw/bnxt_re/qplib_sp.h 	u32				lkey;
lkey             1481 drivers/infiniband/hw/bnxt_re/roce_hsi.h 	__le32 lkey;
lkey               50 drivers/infiniband/hw/cxgb3/iwch_mem.c 	mhp->ibmr.rkey = mhp->ibmr.lkey = stag;
lkey              623 drivers/infiniband/hw/cxgb3/iwch_provider.c 	mhp->ibmr.rkey = mhp->ibmr.lkey = stag;
lkey               77 drivers/infiniband/hw/cxgb3/iwch_qp.c 		wqe->send.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey);
lkey              115 drivers/infiniband/hw/cxgb3/iwch_qp.c 			    cpu_to_be32(wr->sg_list[i].lkey);
lkey              142 drivers/infiniband/hw/cxgb3/iwch_qp.c 	wqe->read.local_stag = cpu_to_be32(wr->sg_list[0].lkey);
lkey              209 drivers/infiniband/hw/cxgb3/iwch_qp.c 		mhp = get_mhp(rhp, (sg_list[i].lkey) >> 8);
lkey              265 drivers/infiniband/hw/cxgb3/iwch_qp.c 		wqe->recv.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey);
lkey              329 drivers/infiniband/hw/cxgb3/iwch_qp.c 		if (wr->sg_list[i].lkey != 0)
lkey              498 drivers/infiniband/hw/cxgb3/iwch_qp.c 			if (wr->sg_list[0].lkey)
lkey              400 drivers/infiniband/hw/cxgb4/mem.c 	mhp->ibmr.rkey = mhp->ibmr.lkey = stag;
lkey              748 drivers/infiniband/hw/cxgb4/mem.c 	mhp->ibmr.rkey = mhp->ibmr.lkey = stag;
lkey              470 drivers/infiniband/hw/cxgb4/qp.c 		*flitp = cpu_to_be64(((u64)sg_list[i].lkey << 32) |
lkey              669 drivers/infiniband/hw/cxgb4/qp.c 		wqe->read.stag_sink = cpu_to_be32(wr->sg_list[0].lkey);
lkey             1179 drivers/infiniband/hw/cxgb4/qp.c 				c4iw_invalidate_mr(rhp, wr->sg_list[0].lkey);
lkey             1478 drivers/infiniband/hw/efa/efa_verbs.c 	mr->ibmr.lkey = result.l_key;
lkey             1481 drivers/infiniband/hw/efa/efa_verbs.c 	ibdev_dbg(&dev->ibdev, "Registered mr[%d]\n", mr->ibmr.lkey);
lkey             1501 drivers/infiniband/hw/efa/efa_verbs.c 	ibdev_dbg(&dev->ibdev, "Deregister mr[%d]\n", ibmr->lkey);
lkey             1503 drivers/infiniband/hw/efa/efa_verbs.c 	params.l_key = mr->ibmr.lkey;
lkey             1099 drivers/infiniband/hw/hfi1/tid_rdma.c 		} else if (sge->length == 0 && sge->mr->lkey) {
lkey               48 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	dseg->lkey = cpu_to_le32(sg->lkey);
lkey              206 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				       cpu_to_le32(wr->sg_list[0].lkey);
lkey              213 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				       cpu_to_le32(wr->sg_list[1].lkey);
lkey              416 drivers/infiniband/hw/hns/hns_roce_hw_v1.h 	__le32    lkey;
lkey               54 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	dseg->lkey = cpu_to_le32(sg->lkey);
lkey              671 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			dseg->lkey = cpu_to_le32(HNS_ROCE_INVALID_LKEY);
lkey             2310 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	mpt_entry->lkey = cpu_to_le32(mr->key);
lkey             2446 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	mpt_entry->lkey = cpu_to_le32(mw->rkey);
lkey             6275 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			dseg[i].lkey = cpu_to_le32(wr->sg_list[i].lkey);
lkey             6281 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 			dseg[i].lkey = cpu_to_le32(0x100);
lkey              967 drivers/infiniband/hw/hns/hns_roce_hw_v2.h 	__le32	lkey;
lkey             1215 drivers/infiniband/hw/hns/hns_roce_hw_v2.h 	__le32    lkey;
lkey             1006 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = mr->key;
lkey             1193 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = mr->key;
lkey             1412 drivers/infiniband/hw/hns/hns_roce_mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = mr->key;
lkey             3728 drivers/infiniband/hw/i40iw/i40iw_cm.c 							ibmr->lkey);
lkey             1574 drivers/infiniband/hw/i40iw/i40iw_verbs.c 	iwmr->ibmr.lkey = stag;
lkey             1851 drivers/infiniband/hw/i40iw/i40iw_verbs.c 		iwmr->ibmr.lkey = stag;
lkey             1917 drivers/infiniband/hw/i40iw/i40iw_verbs.c 	iwmr->ibmr.lkey = stag;
lkey             2105 drivers/infiniband/hw/i40iw/i40iw_verbs.c 		sg_list[i].stag = sgl[i].lkey;
lkey             2215 drivers/infiniband/hw/i40iw/i40iw_verbs.c 			info.op.rdma_read.lo_addr.stag = ib_wr->sg_list->lkey;
lkey              638 drivers/infiniband/hw/mlx4/mad.c 	list.lkey = tun_ctx->pd->local_dma_lkey;
lkey             1324 drivers/infiniband/hw/mlx4/mad.c 	sg_list.lkey = ctx->pd->local_dma_lkey;
lkey             1437 drivers/infiniband/hw/mlx4/mad.c 	list.lkey = sqp_ctx->pd->local_dma_lkey;
lkey               76 drivers/infiniband/hw/mlx4/mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key;
lkey              440 drivers/infiniband/hw/mlx4/mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key;
lkey              686 drivers/infiniband/hw/mlx4/mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key;
lkey              722 drivers/infiniband/hw/mlx4/mr.c 	fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mfmr.mr.key;
lkey              742 drivers/infiniband/hw/mlx4/mr.c 				 &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey);
lkey              763 drivers/infiniband/hw/mlx4/mr.c 		mlx4_fmr_unmap(mdev, &ifmr->mfmr, &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey);
lkey             3468 drivers/infiniband/hw/mlx4/qp.c 	dseg->lkey       = cpu_to_be32(sg->lkey);
lkey             3487 drivers/infiniband/hw/mlx4/qp.c 	dseg->lkey       = cpu_to_be32(sg->lkey);
lkey             3905 drivers/infiniband/hw/mlx4/qp.c 			scat->lkey = cpu_to_be32(wr->sg_list->lkey);
lkey             3916 drivers/infiniband/hw/mlx4/qp.c 			scat[i].lkey       = cpu_to_be32(MLX4_INVALID_LKEY);
lkey              154 drivers/infiniband/hw/mlx4/srq.c 				scatter->lkey = cpu_to_be32(MLX4_INVALID_LKEY);
lkey              341 drivers/infiniband/hw/mlx4/srq.c 			scat[i].lkey       = cpu_to_be32(wr->sg_list[i].lkey);
lkey              347 drivers/infiniband/hw/mlx4/srq.c 			scat[i].lkey       = cpu_to_be32(MLX4_INVALID_LKEY);
lkey              722 drivers/infiniband/hw/mlx5/mr.c 	mr->ibmr.lkey = mr->mmkey.key;
lkey              985 drivers/infiniband/hw/mlx5/mr.c 	sg.lkey = dev->umrc.pd->local_dma_lkey;
lkey             1141 drivers/infiniband/hw/mlx5/mr.c 	mr->ibmr.lkey = mr->mmkey.key;
lkey             1681 drivers/infiniband/hw/mlx5/mr.c 	mr->ibmr.lkey = mr->mmkey.key;
lkey             2010 drivers/infiniband/hw/mlx5/mr.c 		if (ibmr->lkey == mmr->sig->err_item.key)
lkey             2073 drivers/infiniband/hw/mlx5/mr.c 	u32 lkey = mr->ibmr.pd->local_dma_lkey;
lkey             2084 drivers/infiniband/hw/mlx5/mr.c 		klms[i].key = cpu_to_be32(lkey);
lkey             2106 drivers/infiniband/hw/mlx5/mr.c 			klms[i + j].key = cpu_to_be32(lkey);
lkey              213 drivers/infiniband/hw/mlx5/odp.c 			pklm->key = cpu_to_be32(mtt->ibmr.lkey);
lkey              460 drivers/infiniband/hw/mlx5/odp.c 	mr->ibmr.lkey = mr->mmkey.key;
lkey              975 drivers/infiniband/hw/mlx5/odp.c 		key = be32_to_cpu(dseg->lkey);
lkey             1647 drivers/infiniband/hw/mlx5/odp.c 				mlx5_base_mkey(sg_list[i].lkey));
lkey             1667 drivers/infiniband/hw/mlx5/odp.c 				mlx5_base_mkey(sg_list[i].lkey));
lkey             1668 drivers/infiniband/hw/mlx5/odp.c 		if (!mmkey || mmkey->key != sg_list[i].lkey) {
lkey             1710 drivers/infiniband/hw/mlx5/odp.c 		ret = pagefault_single_data_segment(dev, pd, sg->lkey, sg->addr,
lkey             4154 drivers/infiniband/hw/mlx5/qp.c 	dseg->lkey       = cpu_to_be32(sg->lkey);
lkey             4400 drivers/infiniband/hw/mlx5/qp.c 	dseg->lkey = cpu_to_be32(pd->ibpd.local_dma_lkey);
lkey             4609 drivers/infiniband/hw/mlx5/qp.c 	data_key = pi_mr->ibmr.lkey;
lkey             4613 drivers/infiniband/hw/mlx5/qp.c 		prot_key = pi_mr->ibmr.lkey;
lkey             5127 drivers/infiniband/hw/mlx5/qp.c 					pa_pi_mr.ibmr.lkey =
lkey             5404 drivers/infiniband/hw/mlx5/qp.c 			scat[i].lkey       = cpu_to_be32(MLX5_INVALID_LKEY);
lkey              462 drivers/infiniband/hw/mlx5/srq.c 			scat[i].lkey       = cpu_to_be32(wr->sg_list[i].lkey);
lkey              468 drivers/infiniband/hw/mlx5/srq.c 			scat[i].lkey       = cpu_to_be32(MLX5_INVALID_LKEY);
lkey              197 drivers/infiniband/hw/mthca/mthca_av.c 	ah->key = pd->ntmr.ibmr.lkey;
lkey             1669 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_RESIZE_CQ(struct mthca_dev *dev, int cq_num, u32 lkey, u8 log_size)
lkey             1690 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, lkey,     RESIZE_CQ_LKEY_OFFSET);
lkey              300 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_RESIZE_CQ(struct mthca_dev *dev, int cq_num, u32 lkey, u8 log_size);
lkey               71 drivers/infiniband/hw/mthca/mthca_cq.c 	__be32 lkey;
lkey              834 drivers/infiniband/hw/mthca/mthca_cq.c 	cq_context->lkey            = cpu_to_be32(cq->buf.mr.ibmr.lkey);
lkey               61 drivers/infiniband/hw/mthca/mthca_eq.c 	__be32 lkey;
lkey              543 drivers/infiniband/hw/mthca/mthca_eq.c 	eq_context->lkey            = cpu_to_be32(eq->mr.ibmr.lkey);
lkey               57 drivers/infiniband/hw/mthca/mthca_mr.c 	__be32 lkey;
lkey              444 drivers/infiniband/hw/mthca/mthca_mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = hw_index_to_key(dev, key);
lkey              472 drivers/infiniband/hw/mthca/mthca_mr.c 	memset(&mpt_entry->lkey, 0,
lkey              473 drivers/infiniband/hw/mthca/mthca_mr.c 	       sizeof *mpt_entry - offsetof(struct mthca_mpt_entry, lkey));
lkey              481 drivers/infiniband/hw/mthca/mthca_mr.c 		mthca_dbg(dev, "Dumping MPT entry %08x:\n", mr->ibmr.lkey);
lkey              545 drivers/infiniband/hw/mthca/mthca_mr.c static void mthca_free_region(struct mthca_dev *dev, u32 lkey)
lkey              548 drivers/infiniband/hw/mthca/mthca_mr.c 			key_to_hw_index(dev, lkey));
lkey              550 drivers/infiniband/hw/mthca/mthca_mr.c 	mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey));
lkey              558 drivers/infiniband/hw/mthca/mthca_mr.c 			      key_to_hw_index(dev, mr->ibmr.lkey) &
lkey              563 drivers/infiniband/hw/mthca/mthca_mr.c 	mthca_free_region(dev, mr->ibmr.lkey);
lkey              594 drivers/infiniband/hw/mthca/mthca_mr.c 	mr->ibmr.rkey = mr->ibmr.lkey = hw_index_to_key(dev, key);
lkey              644 drivers/infiniband/hw/mthca/mthca_mr.c 		mthca_dbg(dev, "Dumping MPT entry %08x:\n", mr->ibmr.lkey);
lkey              683 drivers/infiniband/hw/mthca/mthca_mr.c 	mthca_free_region(dev, fmr->ibmr.lkey);
lkey              732 drivers/infiniband/hw/mthca/mthca_mr.c 	key = tavor_key_to_hw_index(fmr->ibmr.lkey);
lkey              734 drivers/infiniband/hw/mthca/mthca_mr.c 	fmr->ibmr.lkey = fmr->ibmr.rkey = tavor_hw_index_to_key(key);
lkey              744 drivers/infiniband/hw/mthca/mthca_mr.c 	mpt_entry.lkey   = cpu_to_be32(key);
lkey              748 drivers/infiniband/hw/mthca/mthca_mr.c 	__raw_writel((__force u32) mpt_entry.lkey, &fmr->mem.tavor.mpt->key);
lkey              772 drivers/infiniband/hw/mthca/mthca_mr.c 	key = arbel_key_to_hw_index(fmr->ibmr.lkey);
lkey              777 drivers/infiniband/hw/mthca/mthca_mr.c 	fmr->ibmr.lkey = fmr->ibmr.rkey = arbel_hw_index_to_key(key);
lkey              794 drivers/infiniband/hw/mthca/mthca_mr.c 	fmr->mem.arbel.mpt->lkey   = cpu_to_be32(key);
lkey              430 drivers/infiniband/hw/mthca/mthca_provider.c 		srq->mr.ibmr.lkey = ucmd.lkey;
lkey              516 drivers/infiniband/hw/mthca/mthca_provider.c 			qp->mr.ibmr.lkey = ucmd.lkey;
lkey              643 drivers/infiniband/hw/mthca/mthca_provider.c 		cq->buf.mr.ibmr.lkey = ucmd.lkey;
lkey              730 drivers/infiniband/hw/mthca/mthca_provider.c 	u32 lkey;
lkey              748 drivers/infiniband/hw/mthca/mthca_provider.c 		lkey = cq->resize_buf->buf.mr.ibmr.lkey;
lkey              754 drivers/infiniband/hw/mthca/mthca_provider.c 		lkey = ucmd.lkey;
lkey              757 drivers/infiniband/hw/mthca/mthca_provider.c 	ret = mthca_RESIZE_CQ(dev, cq->cqn, lkey, ilog2(entries));
lkey              711 drivers/infiniband/hw/mthca/mthca_qp.c 	qp_context->wqe_lkey   = cpu_to_be32(qp->mr.ibmr.lkey);
lkey             1225 drivers/infiniband/hw/mthca/mthca_qp.c 				scatter->lkey = cpu_to_be32(MTHCA_INVAL_LKEY);
lkey             1559 drivers/infiniband/hw/mthca/mthca_qp.c 	data->lkey       = cpu_to_be32(to_mpd(sqp->qp.ibqp.pd)->ntmr.ibmr.lkey);
lkey             1608 drivers/infiniband/hw/mthca/mthca_qp.c 	useg->lkey    = cpu_to_be32(to_mah(wr->ah)->key);
lkey               53 drivers/infiniband/hw/mthca/mthca_srq.c 	__be32 lkey;
lkey               62 drivers/infiniband/hw/mthca/mthca_srq.c 	__be32 lkey;
lkey              110 drivers/infiniband/hw/mthca/mthca_srq.c 	context->lkey        = cpu_to_be32(srq->mr.ibmr.lkey);
lkey              137 drivers/infiniband/hw/mthca/mthca_srq.c 	context->lkey = cpu_to_be32(srq->mr.ibmr.lkey);
lkey              198 drivers/infiniband/hw/mthca/mthca_srq.c 			scatter->lkey = cpu_to_be32(MTHCA_INVAL_LKEY);
lkey               66 drivers/infiniband/hw/mthca/mthca_wqe.h 	__be32 lkey;
lkey               85 drivers/infiniband/hw/mthca/mthca_wqe.h 	__be32 lkey;
lkey              103 drivers/infiniband/hw/mthca/mthca_wqe.h 	__be32 lkey;
lkey              120 drivers/infiniband/hw/mthca/mthca_wqe.h 	dseg->lkey       = cpu_to_be32(sg->lkey);
lkey              127 drivers/infiniband/hw/mthca/mthca_wqe.h 	dseg->lkey       = cpu_to_be32(MTHCA_INVAL_LKEY);
lkey              174 drivers/infiniband/hw/ocrdma/ocrdma.h 	u32 lkey;
lkey             1937 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	hwmr->lkey = rsp->lrkey;
lkey             1943 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_dealloc_lkey(struct ocrdma_dev *dev, int fr_mr, u32 lkey)
lkey             1951 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	cmd->lkey = lkey;
lkey             2004 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	hwmr->lkey = rsp->lrkey;
lkey             2021 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	cmd->lrkey = hwmr->lkey;
lkey              119 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_dealloc_lkey(struct ocrdma_dev *, int fmr, u32 lkey);
lkey             1478 drivers/infiniband/hw/ocrdma/ocrdma_sli.h 	u32 lkey;
lkey             1869 drivers/infiniband/hw/ocrdma/ocrdma_sli.h 		u32 lkey;
lkey              717 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	mr->ibmr.lkey = mr->hwmr.lkey;
lkey              719 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		mr->ibmr.rkey = mr->hwmr.lkey;
lkey              904 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	mr->ibmr.lkey = mr->hwmr.lkey;
lkey              906 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		mr->ibmr.rkey = mr->hwmr.lkey;
lkey              922 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	(void) ocrdma_mbx_dealloc_lkey(dev, mr->hwmr.fr_mr, mr->hwmr.lkey);
lkey             1912 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		sge[i].lrkey = sg_list[i].lkey;
lkey             2061 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	hdr->lkey = wr->key;
lkey             2153 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			hdr->lkey = wr->ex.invalidate_rkey;
lkey             2173 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			hdr->lkey = wr->ex.invalidate_rkey;
lkey             2950 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	mr->ibmr.rkey = mr->hwmr.lkey;
lkey             2951 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	mr->ibmr.lkey = mr->hwmr.lkey;
lkey             2952 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	dev->stag_arr[(mr->hwmr.lkey >> 8) & (OCRDMA_MAX_STAG - 1)] =
lkey             2670 drivers/infiniband/hw/qedr/verbs.c 	mr->ibmr.lkey = mr->hw_mr.itid << 8 | mr->hw_mr.key;
lkey             2676 drivers/infiniband/hw/qedr/verbs.c 		 mr->ibmr.lkey);
lkey             2766 drivers/infiniband/hw/qedr/verbs.c 	mr->ibmr.lkey = mr->hw_mr.itid << 8 | mr->hw_mr.key;
lkey             2767 drivers/infiniband/hw/qedr/verbs.c 	mr->ibmr.rkey = mr->ibmr.lkey;
lkey             2769 drivers/infiniband/hw/qedr/verbs.c 	DP_DEBUG(dev, QEDR_MSG_MR, "alloc frmr: %x\n", mr->ibmr.lkey);
lkey             2888 drivers/infiniband/hw/qedr/verbs.c 	mr->ibmr.lkey = mr->hw_mr.itid << 8 | mr->hw_mr.key;
lkey             2893 drivers/infiniband/hw/qedr/verbs.c 	DP_DEBUG(dev, QEDR_MSG_MR, "get dma mr: lkey = %x\n", mr->ibmr.lkey);
lkey             3022 drivers/infiniband/hw/qedr/verbs.c 		sge->l_key = cpu_to_le32(wr->sg_list[i].lkey);
lkey             3516 drivers/infiniband/hw/qedr/verbs.c 				    wr->sg_list[i].length, wr->sg_list[i].lkey);
lkey             3597 drivers/infiniband/hw/qedr/verbs.c 				  wr->sg_list[i].lkey);
lkey              577 drivers/infiniband/hw/qib/qib_file_ops.c 	u16 lkey = key & 0x7FFF;
lkey              579 drivers/infiniband/hw/qib/qib_file_ops.c 	if (lkey == (QIB_DEFAULT_P_KEY & 0x7FFF))
lkey              583 drivers/infiniband/hw/qib/qib_file_ops.c 	if (!lkey)
lkey              620 drivers/infiniband/hw/qib/qib_file_ops.c 		if ((ppd->pkeys[i] & 0x7FFF) == lkey)
lkey              928 drivers/infiniband/hw/qib/qib_mad.c 	u16 lkey = key & 0x7FFF;
lkey              932 drivers/infiniband/hw/qib/qib_mad.c 	if (lkey == 0x7FFF) {
lkey              958 drivers/infiniband/hw/qib/qib_mad.c 		if ((ppd->pkeys[i] & 0x7FFF) == lkey) {
lkey              185 drivers/infiniband/hw/qib/qib_ud.c 		} else if (sge->length == 0 && sge->mr->lkey) {
lkey              161 drivers/infiniband/hw/qib/qib_verbs.c 		} else if (sge.length == 0 && sge.mr->lkey) {
lkey              194 drivers/infiniband/hw/qib/qib_verbs.c 		} else if (sge->length == 0 && sge->mr->lkey) {
lkey              626 drivers/infiniband/hw/usnic/usnic_ib_verbs.c 	mr->ibmr.lkey = mr->ibmr.rkey = 0;
lkey              467 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	u32 lkey;
lkey              563 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	u32 lkey;
lkey               94 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c 	mr->ibmr.lkey = resp->lkey;
lkey              182 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c 	mr->ibmr.lkey = resp->lkey;
lkey              254 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c 	mr->ibmr.lkey = resp->lkey;
lkey              364 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->lkey = 0;
lkey              795 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 			sge->lkey = wr->sg_list[i].lkey;
lkey              886 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 			sge->lkey = wr->sg_list[i].lkey;
lkey              223 drivers/infiniband/sw/rdmavt/mr.c 	mr->lkey = (r << (32 - dev->dparms.lkey_table_size)) |
lkey              226 drivers/infiniband/sw/rdmavt/mr.c 	if (mr->lkey == 0) {
lkey              227 drivers/infiniband/sw/rdmavt/mr.c 		mr->lkey |= 1 << 8;
lkey              251 drivers/infiniband/sw/rdmavt/mr.c 	u32 lkey = mr->lkey;
lkey              258 drivers/infiniband/sw/rdmavt/mr.c 	if (!lkey) {
lkey              268 drivers/infiniband/sw/rdmavt/mr.c 		r = lkey >> (32 - dev->dparms.lkey_table_size);
lkey              302 drivers/infiniband/sw/rdmavt/mr.c 	mr->ibmr.lkey = mr->mr.lkey;
lkey              303 drivers/infiniband/sw/rdmavt/mr.c 	mr->ibmr.rkey = mr->mr.lkey;
lkey              458 drivers/infiniband/sw/rdmavt/mr.c 	rvt_qp_mr_clean(qp, mr->lkey);
lkey              491 drivers/infiniband/sw/rdmavt/mr.c 	if (mr->lkey) {
lkey              502 drivers/infiniband/sw/rdmavt/mr.c 			   t, mr, mr->pd, mr->lkey,
lkey              515 drivers/infiniband/sw/rdmavt/mr.c bool rvt_mr_has_lkey(struct rvt_mregion *mr, u32 lkey)
lkey              517 drivers/infiniband/sw/rdmavt/mr.c 	return mr && lkey == mr->lkey;
lkey              528 drivers/infiniband/sw/rdmavt/mr.c bool rvt_ss_has_lkey(struct rvt_sge_state *ss, u32 lkey)
lkey              536 drivers/infiniband/sw/rdmavt/mr.c 	rval = rvt_mr_has_lkey(ss->sge.mr, lkey);
lkey              539 drivers/infiniband/sw/rdmavt/mr.c 		rval = rvt_mr_has_lkey(ss->sg_list[i].mr, lkey);
lkey              667 drivers/infiniband/sw/rdmavt/mr.c 	if (!mr->mr.lkey || mr->umem)
lkey              670 drivers/infiniband/sw/rdmavt/mr.c 	if ((key & 0xFFFFFF00) != (mr->mr.lkey & 0xFFFFFF00))
lkey              673 drivers/infiniband/sw/rdmavt/mr.c 	ibmr->lkey = key;
lkey              675 drivers/infiniband/sw/rdmavt/mr.c 	mr->mr.lkey = key;
lkey              703 drivers/infiniband/sw/rdmavt/mr.c 	if (unlikely(!mr || mr->lkey != rkey || qp->ibqp.pd != mr->pd))
lkey              750 drivers/infiniband/sw/rdmavt/mr.c 	fmr->ibfmr.rkey = fmr->mr.lkey;
lkey              751 drivers/infiniband/sw/rdmavt/mr.c 	fmr->ibfmr.lkey = fmr->mr.lkey;
lkey              882 drivers/infiniband/sw/rdmavt/mr.c 	if (last_sge && sge->lkey == last_sge->mr->lkey &&
lkey              884 drivers/infiniband/sw/rdmavt/mr.c 		if (sge->lkey) {
lkey              926 drivers/infiniband/sw/rdmavt/mr.c 	if (sge->lkey == 0) {
lkey              951 drivers/infiniband/sw/rdmavt/mr.c 	mr = rcu_dereference(rkt->table[sge->lkey >> rkt->shift]);
lkey              959 drivers/infiniband/sw/rdmavt/mr.c 		     mr->lkey != sge->lkey || mr->pd != &pd->ibpd))
lkey             1067 drivers/infiniband/sw/rdmavt/mr.c 		     mr->lkey != rkey || qp->ibqp.pd != mr->pd))
lkey              660 drivers/infiniband/sw/rdmavt/qp.c static bool rvt_swqe_has_lkey(struct rvt_swqe *wqe, u32 lkey)
lkey              667 drivers/infiniband/sw/rdmavt/qp.c 		if (rvt_mr_has_lkey(sge->mr, lkey))
lkey              678 drivers/infiniband/sw/rdmavt/qp.c static bool rvt_qp_sends_has_lkey(struct rvt_qp *qp, u32 lkey)
lkey              685 drivers/infiniband/sw/rdmavt/qp.c 		if (rvt_swqe_has_lkey(wqe, lkey))
lkey              692 drivers/infiniband/sw/rdmavt/qp.c 		if (rvt_mr_has_lkey(qp->s_rdma_mr, lkey))
lkey              702 drivers/infiniband/sw/rdmavt/qp.c static bool rvt_qp_acks_has_lkey(struct rvt_qp *qp, u32 lkey)
lkey              710 drivers/infiniband/sw/rdmavt/qp.c 		if (rvt_mr_has_lkey(e->rdma_sge.mr, lkey))
lkey              727 drivers/infiniband/sw/rdmavt/qp.c void rvt_qp_mr_clean(struct rvt_qp *qp, u32 lkey)
lkey              742 drivers/infiniband/sw/rdmavt/qp.c 	if (rvt_ss_has_lkey(&qp->r_sge, lkey) ||
lkey              743 drivers/infiniband/sw/rdmavt/qp.c 	    rvt_qp_sends_has_lkey(qp, lkey) ||
lkey              744 drivers/infiniband/sw/rdmavt/qp.c 	    rvt_qp_acks_has_lkey(qp, lkey))
lkey             1871 drivers/infiniband/sw/rdmavt/qp.c 				wqe->sg_list[i].lkey = wr->sg_list[i].lkey;
lkey             2277 drivers/infiniband/sw/rdmavt/qp.c 			wqe->sg_list[i].lkey = wr->sg_list[i].lkey;
lkey             2297 drivers/infiniband/sw/rdmavt/qp.c 	BUILD_BUG_ON(offsetof(struct ib_sge, lkey) !=
lkey             2298 drivers/infiniband/sw/rdmavt/qp.c 		     offsetof(struct rvt_wqe_sge, lkey));
lkey               73 drivers/infiniband/sw/rdmavt/trace_mr.h 		__field(u32, lkey)
lkey               84 drivers/infiniband/sw/rdmavt/trace_mr.h 		__entry->lkey = mr->lkey;
lkey               94 drivers/infiniband/sw/rdmavt/trace_mr.h 		__entry->lkey,
lkey              133 drivers/infiniband/sw/rdmavt/trace_mr.h 		__field(u32, lkey)
lkey              148 drivers/infiniband/sw/rdmavt/trace_mr.h 		__entry->lkey = sge->mr->lkey;
lkey              164 drivers/infiniband/sw/rdmavt/trace_mr.h 		__entry->lkey,
lkey               79 drivers/infiniband/sw/rxe/rxe_mr.c 	u32 lkey = mem->pelem.index << 8 | rxe_get_key();
lkey               80 drivers/infiniband/sw/rxe/rxe_mr.c 	u32 rkey = (access & IB_ACCESS_REMOTE) ? lkey : 0;
lkey               83 drivers/infiniband/sw/rxe/rxe_mr.c 		mem->ibmr.lkey		= lkey;
lkey               87 drivers/infiniband/sw/rxe/rxe_mr.c 	mem->lkey		= lkey;
lkey              246 drivers/infiniband/sw/rxe/rxe_mr.c 	mem->ibmr.rkey = mem->ibmr.lkey;
lkey              461 drivers/infiniband/sw/rxe/rxe_mr.c 		mem = lookup_mem(pd, access, sge->lkey, lookup_local);
lkey              486 drivers/infiniband/sw/rxe/rxe_mr.c 				mem = lookup_mem(pd, access, sge->lkey,
lkey              579 drivers/infiniband/sw/rxe/rxe_mr.c 	if (unlikely((type == lookup_local && mem->lkey != key) ||
lkey              650 drivers/infiniband/sw/rxe/rxe_req.c 			rmr->lkey = wqe->wr.wr.reg.key;
lkey              328 drivers/infiniband/sw/rxe/rxe_verbs.h 	u32			lkey;
lkey              121 drivers/infiniband/sw/siw/siw_mem.c 	mr->base_mr.lkey = mr->base_mr.rkey = mem->stag;
lkey              234 drivers/infiniband/sw/siw/siw_mem.c 		new = siw_mem_id2obj(sdev, sge->lkey >> 8);
lkey              236 drivers/infiniband/sw/siw/siw_mem.c 			siw_dbg_pd(pd, "STag unknown: 0x%08x\n", sge->lkey);
lkey              243 drivers/infiniband/sw/siw/siw_mem.c 	if (unlikely((*mem)->stag != sge->lkey)) {
lkey              244 drivers/infiniband/sw/siw/siw_mem.c 		siw_dbg_mem((*mem), "STag mismatch: 0x%08x\n", sge->lkey);
lkey              279 drivers/infiniband/sw/siw/siw_qp.c 	wqe->sqe.sge[0].lkey = 0;
lkey              485 drivers/infiniband/sw/siw/siw_qp.c 				rreq->source_stag = htonl(wqe->sqe.sge[0].lkey);
lkey              874 drivers/infiniband/sw/siw/siw_qp.c 	rreq->sge[0].lkey = sqe->sge[0].lkey;
lkey              875 drivers/infiniband/sw/siw/siw_qp.c 	rreq->sge[1].lkey = sqe->sge[1].lkey;
lkey              915 drivers/infiniband/sw/siw/siw_qp.c 			wqe->sqe.sge[0].lkey = irqe->sge[0].lkey;
lkey              960 drivers/infiniband/sw/siw/siw_qp.c 			wqe->sqe.sge[0].lkey = 0;
lkey              175 drivers/infiniband/sw/siw/siw_qp_rx.c 		srx->ddp_stag = wqe->sqe.sge[0].lkey;
lkey              367 drivers/infiniband/sw/siw/siw_qp_rx.c 				wqe->rqe.sge[i].lkey = rqe->sge[i].lkey;
lkey              667 drivers/infiniband/sw/siw/siw_qp_rx.c 		 lkey = be32_to_cpu(srx->hdr.rreq.source_stag),
lkey              700 drivers/infiniband/sw/siw/siw_qp_rx.c 		resp->sge[0].lkey = lkey;
lkey              752 drivers/infiniband/sw/siw/siw_qp_rx.c 		wqe->sqe.sge[0].lkey = orqe->sge[0].lkey;
lkey             1272 drivers/infiniband/sw/siw/siw_qp_rx.c 			rv = siw_invalidate_stag(qp->pd, wqe->sqe.sge[0].lkey);
lkey              137 drivers/infiniband/sw/siw/siw_qp_tx.c 		c_tx->pkt.rreq.sink_stag = htonl(wqe->sqe.sge[0].lkey);
lkey              664 drivers/infiniband/sw/siw/siw_verbs.c 	sqe->sge[0].lkey = 0;
lkey             1360 drivers/infiniband/sw/siw/siw_verbs.c 		mr->base_mr.lkey |= ureq.stag_key;
lkey               30 drivers/infiniband/sw/siw/siw_verbs.h 		siw_sge->lkey = sge->lkey;
lkey              336 drivers/infiniband/ulp/ipoib/ipoib_cm.c 		sge[i].lkey = priv->pd->local_dma_lkey;
lkey              219 drivers/infiniband/ulp/ipoib/ipoib_verbs.c 		priv->tx_sge[i].lkey = priv->pd->local_dma_lkey;
lkey              225 drivers/infiniband/ulp/ipoib/ipoib_verbs.c 	priv->rx_sge[0].lkey = priv->pd->local_dma_lkey;
lkey              214 drivers/infiniband/ulp/iser/iscsi_iser.c 	tx_desc->tx_sg[0].lkey   = device->pd->local_dma_lkey;
lkey              155 drivers/infiniband/ulp/iser/iser_initiator.c 		tx_dsg->lkey = mem_reg->sge.lkey;
lkey              280 drivers/infiniband/ulp/iser/iser_initiator.c 		rx_sg->lkey = device->pd->local_dma_lkey;
lkey              472 drivers/infiniband/ulp/iser/iser_initiator.c 	tx_dsg->lkey = mem_reg->sge.lkey;
lkey              534 drivers/infiniband/ulp/iser/iser_initiator.c 		tx_dsg->lkey = device->pd->local_dma_lkey;
lkey              196 drivers/infiniband/ulp/iser/iser_memory.c 	reg->sge.lkey = device->pd->local_dma_lkey;
lkey              210 drivers/infiniband/ulp/iser/iser_memory.c 		 " length=0x%x\n", reg->sge.lkey, reg->rkey,
lkey              258 drivers/infiniband/ulp/iser/iser_memory.c 	reg->sge.lkey = fmr->fmr->lkey;
lkey              265 drivers/infiniband/ulp/iser/iser_memory.c 		 " length=0x%x\n", reg->sge.lkey, reg->rkey,
lkey              426 drivers/infiniband/ulp/iser/iser_memory.c 	sig_reg->sge.lkey = mr->lkey;
lkey              432 drivers/infiniband/ulp/iser/iser_memory.c 		 sig_reg->sge.lkey, sig_reg->rkey, sig_reg->sge.addr,
lkey              474 drivers/infiniband/ulp/iser/iser_memory.c 	reg->sge.lkey = mr->lkey;
lkey              480 drivers/infiniband/ulp/iser/iser_memory.c 		 reg->sge.lkey, reg->rkey, reg->sge.addr, reg->sge.length);
lkey              981 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->sge.lkey = ib_conn->device->pd->local_dma_lkey;
lkey              195 drivers/infiniband/ulp/isert/ib_isert.c 		rx_sg->lkey = device->pd->local_dma_lkey;
lkey              891 drivers/infiniband/ulp/isert/ib_isert.c 	if (tx_desc->tx_sg[0].lkey != device->pd->local_dma_lkey) {
lkey              892 drivers/infiniband/ulp/isert/ib_isert.c 		tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey;
lkey              929 drivers/infiniband/ulp/isert/ib_isert.c 	tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey;
lkey              933 drivers/infiniband/ulp/isert/ib_isert.c 		  tx_desc->tx_sg[0].lkey);
lkey              969 drivers/infiniband/ulp/isert/ib_isert.c 	sge.lkey = isert_conn->device->pd->local_dma_lkey;
lkey              972 drivers/infiniband/ulp/isert/ib_isert.c 		sge.addr, sge.length, sge.lkey);
lkey             1018 drivers/infiniband/ulp/isert/ib_isert.c 		tx_dsg->lkey	= isert_conn->device->pd->local_dma_lkey;
lkey             1880 drivers/infiniband/ulp/isert/ib_isert.c 		tx_dsg->lkey	= device->pd->local_dma_lkey;
lkey             2008 drivers/infiniband/ulp/isert/ib_isert.c 	tx_dsg->lkey	= device->pd->local_dma_lkey;
lkey             2051 drivers/infiniband/ulp/isert/ib_isert.c 		tx_dsg->lkey	= device->pd->local_dma_lkey;
lkey             1856 drivers/infiniband/ulp/srp/ib_srp.c 			sge[i].lkey   = target->lkey;
lkey             2081 drivers/infiniband/ulp/srp/ib_srp.c 	iu->sge[0].lkey   = target->lkey;
lkey             2103 drivers/infiniband/ulp/srp/ib_srp.c 	list.lkey   = target->lkey;
lkey             3804 drivers/infiniband/ulp/srp/ib_srp.c 	target->lkey		= host->srp_dev->pd->local_dma_lkey;
lkey              210 drivers/infiniband/ulp/srp/ib_srp.h 	u32			lkey;
lkey              830 drivers/infiniband/ulp/srpt/ib_srpt.c 	list.lkey = sdev->lkey;
lkey             2860 drivers/infiniband/ulp/srpt/ib_srpt.c 	sge.lkey = sdev->lkey;
lkey             3129 drivers/infiniband/ulp/srpt/ib_srpt.c 	sdev->lkey = sdev->pd->local_dma_lkey;
lkey              425 drivers/infiniband/ulp/srpt/ib_srpt.h 	u32			lkey;
lkey              312 drivers/net/ethernet/ibm/ehea/ehea.h 	u32 lkey;
lkey              488 drivers/net/ethernet/ibm/ehea/ehea_main.c 		rwqe->sg_list[0].l_key = pr->recv_mr.lkey;
lkey             1601 drivers/net/ethernet/ibm/ehea/ehea_main.c 				  u32 lkey)
lkey             1625 drivers/net/ethernet/ibm/ehea/ehea_main.c 			sg1entry->l_key = lkey;
lkey             1638 drivers/net/ethernet/ibm/ehea/ehea_main.c 				    struct ehea_swqe *swqe, u32 lkey)
lkey             1649 drivers/net/ethernet/ibm/ehea/ehea_main.c 	write_swqe2_immediate(skb, swqe, lkey);
lkey             1658 drivers/net/ethernet/ibm/ehea/ehea_main.c 			sg1entry->l_key = lkey;
lkey             1671 drivers/net/ethernet/ibm/ehea/ehea_main.c 			sgentry->l_key = lkey;
lkey             1986 drivers/net/ethernet/ibm/ehea/ehea_main.c 		       struct ehea_swqe *swqe, u32 lkey)
lkey             1992 drivers/net/ethernet/ibm/ehea/ehea_main.c 	write_swqe2_data(skb, dev, swqe, lkey);
lkey             2015 drivers/net/ethernet/ibm/ehea/ehea_main.c 	u32 lkey;
lkey             2059 drivers/net/ethernet/ibm/ehea/ehea_main.c 		lkey = pr->send_mr.lkey;
lkey             2060 drivers/net/ethernet/ibm/ehea/ehea_main.c 		ehea_xmit2(skb, dev, swqe, lkey);
lkey             2582 drivers/net/ethernet/ibm/ehea/ehea_main.c 	u32 lkey = pr->recv_mr.lkey;
lkey             2590 drivers/net/ethernet/ibm/ehea/ehea_main.c 		rwqe->sg_list[0].l_key = lkey;
lkey             2599 drivers/net/ethernet/ibm/ehea/ehea_main.c 		rwqe->sg_list[0].l_key = lkey;
lkey              450 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 	mr->lkey = (u32)outs[2];
lkey              479 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 			     const u32 pd, u64 *mr_handle, u32 *lkey)
lkey              495 drivers/net/ethernet/ibm/ehea/ehea_phyp.c 	*lkey = (u32)outs[2];
lkey              394 drivers/net/ethernet/ibm/ehea/ehea_phyp.h 			     const u32 pd, u64 *mr_handle, u32 *lkey);
lkey              878 drivers/net/ethernet/ibm/ehea/ehea_qmr.c 					&mr->handle, &mr->lkey);
lkey              119 drivers/net/ethernet/mellanox/mlx4/en_rx.c 		rx_desc->data[i].lkey = cpu_to_be32(priv->mdev->mr.key);
lkey              128 drivers/net/ethernet/mellanox/mlx4/en_rx.c 		rx_desc->data[i].lkey = cpu_to_be32(MLX4_EN_MEMTYPE_PAD);
lkey              796 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		data->lkey = mr_key;
lkey              813 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		data->lkey = mr_key;
lkey             1115 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		tx_desc->data.lkey = ring->mr_key;
lkey              308 drivers/net/ethernet/mellanox/mlx4/mlx4.h 	__be32 lkey;
lkey              366 drivers/net/ethernet/mellanox/mlx4/mr.c 		(*mpt_entry)->lkey = 0;
lkey              997 drivers/net/ethernet/mellanox/mlx4/mr.c 		      int npages, u64 iova, u32 *lkey, u32 *rkey)
lkey             1010 drivers/net/ethernet/mellanox/mlx4/mr.c 	*lkey = *rkey = fmr->mr.key = hw_index_to_key(key);
lkey             1027 drivers/net/ethernet/mellanox/mlx4/mr.c 	fmr->mpt->lkey   = cpu_to_be32(key);
lkey             1105 drivers/net/ethernet/mellanox/mlx4/mr.c 		    u32 *lkey, u32 *rkey)
lkey              185 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h 	dseg->lkey       = sq->mkey_be;
lkey              300 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c 	dseg->lkey       = sq->mkey_be;
lkey              582 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 			wqe->data[0].lkey = rq->mkey_be;
lkey              593 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 				wqe->data[f].lkey = rq->mkey_be;
lkey              598 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 				wqe->data[f].lkey = cpu_to_be32(MLX5_INVALID_LKEY);
lkey             1505 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 			dseg->lkey = sq->mkey_be;
lkey              204 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 		dseg->lkey       = sq->mkey_be;
lkey              222 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c 		dseg->lkey       = sq->mkey_be;
lkey              118 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c 	data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key);
lkey              158 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c 		data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key);
lkey               16 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 	u32 lkey;
lkey              253 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 	wq_dseg->lkey = cpu_to_be32(data_seg->lkey);
lkey              346 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 	send_info->read.lkey = send_ring->mr->mkey.key;
lkey              374 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 		send_info->write.lkey = send_ring->mr->mkey.key;
lkey              433 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 	send_info.write.lkey = 0;
lkey              485 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 		send_info.write.lkey = 0;
lkey              539 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 		send_info.write.lkey = 0;
lkey              563 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 	send_info.write.lkey = 0;
lkey              977 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c 	send_info.write.lkey = 0;
lkey             1194 drivers/nvme/host/rdma.c 		sge->lkey = queue->device->pd->local_dma_lkey;
lkey             1351 drivers/nvme/host/rdma.c 	sge->lkey   = queue->device->pd->local_dma_lkey;
lkey             1382 drivers/nvme/host/rdma.c 	list.lkey   = queue->device->pd->local_dma_lkey;
lkey              263 drivers/nvme/target/rdma.c 		sge->lkey = ndev->pd->local_dma_lkey;
lkey              293 drivers/nvme/target/rdma.c 	c->sge[0].lkey = ndev->pd->local_dma_lkey;
lkey              378 drivers/nvme/target/rdma.c 	r->send_sge.lkey = ndev->pd->local_dma_lkey;
lkey               81 drivers/staging/rtl8188eu/include/rtw_security.h 	u32    lkey[4];
lkey               67 drivers/staging/rtl8712/rtl871x_security.h 	u32 lkey[4];
lkey             1629 drivers/staging/rtl8723bs/hal/sdio_halinit.c 							psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].lkey[0],
lkey             1630 drivers/staging/rtl8723bs/hal/sdio_halinit.c 							psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].lkey[1],
lkey             1631 drivers/staging/rtl8723bs/hal/sdio_halinit.c 							psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].lkey[2],
lkey             1632 drivers/staging/rtl8723bs/hal/sdio_halinit.c 							psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].lkey[3]
lkey               86 drivers/staging/rtl8723bs/include/rtw_security.h         u32    lkey[4];
lkey              442 fs/cifs/cifsglob.h 	__u8 (*parse_lease_buf)(void *buf, unsigned int *epoch, char *lkey);
lkey              740 fs/cifs/smbdirect.c 	request->sge[0].lkey = info->pd->local_dma_lkey;
lkey              757 fs/cifs/smbdirect.c 		request->sge[0].length, request->sge[0].lkey);
lkey              905 fs/cifs/smbdirect.c 	request->sge[0].lkey = info->pd->local_dma_lkey;
lkey             1007 fs/cifs/smbdirect.c 		request->sge[i+1].lkey = info->pd->local_dma_lkey;
lkey             1102 fs/cifs/smbdirect.c 	response->sge.lkey = info->pd->local_dma_lkey;
lkey             1134 fs/cifs/smbdirect.c 		response->sge.length, response->sge.lkey);
lkey             3767 fs/jfs/jfs_dtree.c 	struct component_name lkey;
lkey             3770 fs/jfs/jfs_dtree.c 	lkey.name = kmalloc_array(JFS_NAME_MAX + 1, sizeof(wchar_t),
lkey             3772 fs/jfs/jfs_dtree.c 	if (lkey.name == NULL)
lkey             3778 fs/jfs/jfs_dtree.c 		kfree(lkey.name);
lkey             3783 fs/jfs/jfs_dtree.c 	dtGetKey(lp, li, &lkey, flag);
lkey             3784 fs/jfs/jfs_dtree.c 	lkey.name[lkey.namlen] = 0;
lkey             3787 fs/jfs/jfs_dtree.c 		ciToUpper(&lkey);
lkey             3799 fs/jfs/jfs_dtree.c 	namlen = min(lkey.namlen, rkey.namlen);
lkey             3800 fs/jfs/jfs_dtree.c 	for (pl = lkey.name, pr = rkey.name;
lkey             3810 fs/jfs/jfs_dtree.c 	if (lkey.namlen < rkey.namlen) {
lkey             3817 fs/jfs/jfs_dtree.c 	kfree(lkey.name);
lkey               95 fs/reiserfs/do_balan.c 			replace_key(tb, tb->CFL[0], tb->lkey[0], tbS0, 0);
lkey               98 fs/reiserfs/do_balan.c 				replace_key(tb, tb->CFL[0], tb->lkey[0],
lkey              135 fs/reiserfs/do_balan.c 			replace_key(tb, tb->CFL[0], tb->lkey[0], tbS0, 0);
lkey              163 fs/reiserfs/do_balan.c 						    tb->lkey[0], tb->FR[0], 1);
lkey              490 fs/reiserfs/do_balan.c 		left_delim_key = internal_key(tb->CFL[0], tb->lkey[0]);
lkey             1272 fs/reiserfs/do_balan.c 			replace_key(tb, tb->CFL[0], tb->lkey[0], tbS0, 0);
lkey             1303 fs/reiserfs/do_balan.c 				replace_key(tb, tb->CFL[0], tb->lkey[0],
lkey             1441 fs/reiserfs/do_balan.c 			copy_key(internal_key(tb->CFL[0], tb->lkey[0]),
lkey              986 fs/reiserfs/fix_node.c 	    tb->lkey[h] : B_NR_ITEMS(tb->FL[h]);
lkey             1129 fs/reiserfs/fix_node.c 				       LEFT_PARENTS) ? (tb->lkey[h - 1] =
lkey             1206 fs/reiserfs/fix_node.c 		tb->lkey[h] = position - 1;
lkey             2173 fs/reiserfs/fix_node.c 		     tb->FL[h]) ? tb->lkey[h] : B_NR_ITEMS(tb->
lkey               49 fs/reiserfs/ibalance.c 		*d_key = tb->lkey[h];
lkey               62 fs/reiserfs/ibalance.c 		*d_key = tb->lkey[h];
lkey              592 fs/reiserfs/ibalance.c 					    tb->lkey[h]);
lkey              769 fs/reiserfs/ibalance.c 	memcpy(internal_key(tb->CFL[h], tb->lkey[h]), key, KEY_SIZE);
lkey              769 fs/reiserfs/lbalance.c 				replace_key(tb, tb->CFL[0], tb->lkey[0],
lkey              774 fs/reiserfs/lbalance.c 			replace_key(tb, tb->CFL[0], tb->lkey[0], S0, 0);
lkey              696 fs/reiserfs/prints.c 		tb->cur_blknum, tb->lkey[0], tb->rkey[0]);
lkey             2455 fs/reiserfs/reiserfs.h 	int lkey[MAX_HEIGHT];
lkey             2127 fs/xfs/libxfs/xfs_btree.c 	union xfs_btree_key	*lkey;	/* keys from the next level up */
lkey             2142 fs/xfs/libxfs/xfs_btree.c 	lkey = &key;
lkey             2143 fs/xfs/libxfs/xfs_btree.c 	hkey = xfs_btree_high_key_from_key(cur, lkey);
lkey             2144 fs/xfs/libxfs/xfs_btree.c 	xfs_btree_get_keys(cur, block, lkey);
lkey             2160 fs/xfs/libxfs/xfs_btree.c 		    !(cur->bc_ops->diff_two_keys(cur, nlkey, lkey) != 0 ||
lkey             2163 fs/xfs/libxfs/xfs_btree.c 		xfs_btree_copy_keys(cur, nlkey, lkey, 1);
lkey             2167 fs/xfs/libxfs/xfs_btree.c 		xfs_btree_get_node_keys(cur, block, lkey);
lkey             3229 fs/xfs/libxfs/xfs_btree.c 	union xfs_btree_key	*lkey;
lkey             3238 fs/xfs/libxfs/xfs_btree.c 	lkey = &nkey;
lkey             3292 fs/xfs/libxfs/xfs_btree.c 					&optr, &ptr, &nptr, &ncur, lkey, stat);
lkey             3382 fs/xfs/libxfs/xfs_btree.c 		xfs_btree_get_keys(cur, block, lkey);
lkey             3404 fs/xfs/libxfs/xfs_btree.c 		xfs_btree_copy_keys(cur, key, lkey, 1);
lkey             1416 include/linux/mlx4/device.h 		      int npages, u64 iova, u32 *lkey, u32 *rkey);
lkey             1421 include/linux/mlx4/device.h 		    u32 *lkey, u32 *rkey);
lkey              377 include/linux/mlx4/qp.h 	__be32			lkey;
lkey              438 include/linux/mlx4/qp.h 	__be32			lkey;
lkey              342 include/linux/mlx5/qp.h 	__be32			lkey;
lkey             1317 include/rdma/ib_verbs.h 	u32	lkey;
lkey             1763 include/rdma/ib_verbs.h 	u32		   lkey;
lkey             1795 include/rdma/ib_verbs.h 	u32			lkey;
lkey             4156 include/rdma/ib_verbs.h 	mr->lkey = (mr->lkey & 0xffffff00) | newkey;
lkey               78 include/rdma/rdmavt_mr.h 	u32 lkey;
lkey              169 include/rdma/rdmavt_mr.h 	} else if (sge->length == 0 && sge->mr->lkey) {
lkey              194 include/rdma/rdmavt_mr.h bool rvt_ss_has_lkey(struct rvt_sge_state *ss, u32 lkey);
lkey              195 include/rdma/rdmavt_mr.h bool rvt_mr_has_lkey(struct rvt_mregion *mr, u32 lkey);
lkey             1018 include/rdma/rdmavt_qp.h void rvt_qp_mr_clean(struct rvt_qp *qp, u32 lkey);
lkey              351 include/uapi/rdma/ib_user_verbs.h 	__u32 lkey;
lkey              369 include/uapi/rdma/ib_user_verbs.h 	__u32 lkey;
lkey              772 include/uapi/rdma/ib_user_verbs.h 	__u32 lkey;
lkey               75 include/uapi/rdma/mthca-abi.h 	__u32 lkey;
lkey               89 include/uapi/rdma/mthca-abi.h 	__u32 lkey;
lkey               94 include/uapi/rdma/mthca-abi.h 	__u32 lkey;
lkey              105 include/uapi/rdma/mthca-abi.h 	__u32 lkey;
lkey              111 include/uapi/rdma/rdma_user_rxe.h 	__u32	lkey;
lkey               20 include/uapi/rdma/rvt-abi.h 	__u32 lkey;
lkey               82 include/uapi/rdma/siw-abi.h 	__u32 lkey;
lkey              213 include/uapi/rdma/vmw_pvrdma-abi.h 	__u32   lkey;
lkey              399 net/9p/trans_rdma.c 	sge.lkey = rdma->pd->local_dma_lkey;
lkey              491 net/9p/trans_rdma.c 	sge.lkey = rdma->pd->local_dma_lkey;
lkey               66 net/rds/ib_recv.c 		sge->lkey = ic->i_pd->local_dma_lkey;
lkey               71 net/rds/ib_recv.c 		sge->lkey = ic->i_pd->local_dma_lkey;
lkey              580 net/rds/ib_recv.c 	sge->lkey = ic->i_pd->local_dma_lkey;
lkey              206 net/rds/ib_send.c 		sge->lkey = ic->i_pd->local_dma_lkey;
lkey              208 net/rds/ib_send.c 		send->s_sge[1].lkey = ic->i_pd->local_dma_lkey;
lkey              809 net/rds/ib_send.c 	send->s_sge[0].lkey = ic->i_pd->local_dma_lkey;
lkey              925 net/rds/ib_send.c 			send->s_sge[j].lkey = ic->i_pd->local_dma_lkey;
lkey              168 net/sched/cls_flower.c 	const long *lkey = fl_key_get_start(key, mask);
lkey              174 net/sched/cls_flower.c 		*lmkey++ = *lkey++ & *lmask++;
lkey              471 net/smc/smc_wr.c 		lnk->wr_tx_sges[i].lkey = lnk->roce_pd->local_dma_lkey;
lkey              472 net/smc/smc_wr.c 		lnk->wr_tx_rdma_sges[i].tx_rdma_sge[0].wr_tx_rdma_sge[0].lkey =
lkey              474 net/smc/smc_wr.c 		lnk->wr_tx_rdma_sges[i].tx_rdma_sge[0].wr_tx_rdma_sge[1].lkey =
lkey              476 net/smc/smc_wr.c 		lnk->wr_tx_rdma_sges[i].tx_rdma_sge[1].wr_tx_rdma_sge[0].lkey =
lkey              478 net/smc/smc_wr.c 		lnk->wr_tx_rdma_sges[i].tx_rdma_sge[1].wr_tx_rdma_sge[1].lkey =
lkey              497 net/smc/smc_wr.c 		lnk->wr_rx_sges[i].lkey = lnk->roce_pd->local_dma_lkey;
lkey              598 net/sunrpc/xprtrdma/rpc_rdma.c 	sge->lkey = rdmab_lkey(rb);
lkey              633 net/sunrpc/xprtrdma/rpc_rdma.c 	sge[sge_no].lkey = rdmab_lkey(rb);
lkey              683 net/sunrpc/xprtrdma/rpc_rdma.c 			sge[sge_no].lkey = rdmab_lkey(rb);
lkey              710 net/sunrpc/xprtrdma/rpc_rdma.c 		sge[sge_no].lkey = rdmab_lkey(rb);
lkey              145 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c 	ctxt->rc_recv_sge.lkey = rdma->sc_pd->local_dma_lkey;
lkey              157 net/sunrpc/xprtrdma/svc_rdma_sendto.c 		ctxt->sc_sges[i].lkey = rdma->sc_pd->local_dma_lkey;
lkey             1433 net/sunrpc/xprtrdma/verbs.c 	rb->rg_iov.lkey = r_xprt->rx_ia.ri_pd->local_dma_lkey;
lkey              142 net/sunrpc/xprtrdma/xprt_rdma.h 	return rb->rg_iov.lkey;