/freebsd/sys/dev/mthca/ |
H A D | mthca_wqe.h | 66 __be32 lkey; member 85 __be32 lkey; member 103 __be32 lkey; member 120 dseg->lkey = cpu_to_be32(sg->lkey); in mthca_set_data_seg() 127 dseg->lkey = cpu_to_be32(MTHCA_INVAL_LKEY); in mthca_set_data_seg_inval()
|
H A D | mthca_user.h | 74 __u32 lkey; member 88 __u32 lkey; member 93 __u32 lkey; member 104 __u32 lkey; member
|
H A D | mthca_mr.c | 57 __be32 lkey; member 444 mr->ibmr.rkey = mr->ibmr.lkey = hw_index_to_key(dev, key); in mthca_mr_alloc() 472 memset(&mpt_entry->lkey, 0, in mthca_mr_alloc() 473 sizeof *mpt_entry - offsetof(struct mthca_mpt_entry, lkey)); in mthca_mr_alloc() 481 mthca_dbg(dev, "Dumping MPT entry %08x:\n", mr->ibmr.lkey); in mthca_mr_alloc() 545 static void mthca_free_region(struct mthca_dev *dev, u32 lkey) in mthca_free_region() argument 548 key_to_hw_index(dev, lkey)); in mthca_free_region() 550 mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey)); in mthca_free_region() 558 key_to_hw_index(dev, mr->ibmr.lkey) & in mthca_free_mr() 563 mthca_free_region(dev, mr->ibmr.lkey); in mthca_free_mr() [all …]
|
H A D | mthca_srq.c | 53 __be32 lkey; member 62 __be32 lkey; member 110 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); in mthca_tavor_init_srq_context() 131 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); in mthca_arbel_init_srq_context() 192 scatter->lkey = cpu_to_be32(MTHCA_INVAL_LKEY); in mthca_alloc_srq_buf()
|
H A D | mthca_provider.c | 429 srq->mr.ibmr.lkey = ucmd.lkey; in mthca_create_srq() 515 qp->mr.ibmr.lkey = ucmd.lkey; in mthca_create_qp() 638 cq->buf.mr.ibmr.lkey = ucmd.lkey; in mthca_create_cq() 725 u32 lkey; in mthca_resize_cq() local 743 lkey = cq->resize_buf->buf.mr.ibmr.lkey; in mthca_resize_cq() 749 lkey = ucmd.lkey; in mthca_resize_cq() 752 ret = mthca_RESIZE_CQ(dev, cq->cqn, lkey, ilog2(entries)); in mthca_resize_cq()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | rdma_verbs.h | 180 sge.lkey = mr->lkey; in rdma_post_recv() 193 sge.lkey = mr ? mr->lkey : 0; in rdma_post_send() 207 sge.lkey = mr->lkey; in rdma_post_read() 221 sge.lkey = mr ? mr->lkey : 0; in rdma_post_write() 236 sge.lkey = mr ? mr->lkey : 0; in rdma_post_ud_send()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | mthca-abi.h | 76 __u32 lkey; member 90 __u32 lkey; member 95 __u32 lkey; member 106 __u32 lkey; member
|
/freebsd/sys/dev/iser/ |
H A D | iser_initiator.c | 115 if (tx_desc->tx_sg[0].lkey != device->mr->lkey) { in iser_create_send_desc() 116 tx_desc->tx_sg[0].lkey = device->mr->lkey; in iser_create_send_desc() 234 rx_sg->lkey = device->mr->lkey; in iser_alloc_rx_descriptors() 439 tx_dsg->lkey = device->mr->lkey; in iser_send_control()
|
H A D | iser_memory.c | 114 reg->sge.lkey = device->mr->lkey; in iser_reg_dma() 202 reg->sge.lkey = mr->lkey; in iser_fast_reg_mr()
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | mlx5dv.h | 383 uint32_t lkey; member 564 uint32_t length, uint32_t lkey, in mlx5dv_set_data_seg() argument 568 seg->lkey = htobe32(lkey); in mlx5dv_set_data_seg() 582 uint32_t length, uint32_t lkey, in mlx5dv_x86_set_data_seg() argument 585 __m128i val = _mm_set_epi32((uint32_t)address, (uint32_t)(address >> 32), lkey, length); in mlx5dv_x86_set_data_seg()
|
H A D | srq.c | 121 scat[i].lkey = htobe32(wr->sg_list[i].lkey); in mlx5_post_srq_recv() 127 scat[i].lkey = htobe32(MLX5_INVALID_LKEY); in mlx5_post_srq_recv()
|
/freebsd/usr.sbin/ypserv/ |
H A D | yp_dblookup.c | 565 static DBT lkey = { NULL, 0 }; in yp_next_record() local 594 (dbp->seq)(dbp,&lkey,&ldata,R_FIRST); in yp_next_record() 595 while (key->size != lkey.size || in yp_next_record() 596 strncmp(key->data, lkey.data, in yp_next_record() 598 if ((dbp->seq)(dbp,&lkey,&ldata,R_NEXT)) { in yp_next_record() 638 lkey.data = &keybuf; in yp_next_record() 639 lkey.size = key->size; in yp_next_record()
|
/freebsd/contrib/ofed/libmlx4/ |
H A D | wqe.h | 102 uint32_t lkey; member 144 uint32_t lkey; member
|
H A D | srq.c | 97 scat[i].lkey = htobe32(wr->sg_list[i].lkey); in mlx4_post_srq_recv() 103 scat[i].lkey = htobe32(MLX4_INVALID_LKEY); in mlx4_post_srq_recv() 166 scatter->lkey = htobe32(MLX4_INVALID_LKEY); in mlx4_alloc_srq_buf()
|
H A D | qp.c | 139 bseg->lkey = htobe32(wr->bind_mw.bind_info.mr->lkey); in set_bind_seg() 188 dseg->lkey = htobe32(sg->lkey); in __set_data_seg() 194 dseg->lkey = htobe32(sg->lkey); in set_data_seg() 548 scat[i].lkey = htobe32(MLX4_INVALID_LKEY); in mlx4_post_recv()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mr.c | 79 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_get_dma_mr() 176 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_reg_user_mr() 415 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_alloc_mr() 451 fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mfmr.mr.key; in mlx4_ib_fmr_alloc() 471 &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); in mlx4_ib_map_phys_fmr() 492 mlx4_fmr_unmap(mdev, &ifmr->mfmr, &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); in mlx4_ib_unmap_fmr()
|
H A D | mlx4_ib_srq.c | 156 scatter->lkey = cpu_to_be32(MLX4_INVALID_LKEY); in mlx4_ib_create_srq() 347 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); in mlx4_ib_post_srq_recv() 353 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); in mlx4_ib_post_srq_recv()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_lookup.c | 726 struct iplookupiterkey *lkey; in ipf_lookup_iterderef() local 731 lkey = &key.ilik_unstr; in ipf_lookup_iterderef() 733 if (lkey->ilik_ival != IPFGENITER_LOOKUP) in ipf_lookup_iterderef() 739 if (lkey->ilik_type == backends[i]->ipfl_type) { in ipf_lookup_iterderef() 742 lkey->ilik_otype, in ipf_lookup_iterderef() 743 lkey->ilik_unit, in ipf_lookup_iterderef()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 550 wqe->bind.parent_l_key = ib_mr->lkey; in bnxt_re_legacy_create_fence_wqe() 642 mr->ib_mr.lkey = mr->qplib_mr.lkey; in bnxt_re_legacy_create_fence_mr() 661 mr->ib_mr.lkey = mr->qplib_mr.lkey; in bnxt_re_legacy_create_fence_mr() 682 if (mr->ib_mr.lkey) { in bnxt_re_legacy_create_fence_mr() 717 if (mr->ib_mr.lkey) in bnxt_re_legacy_destroy_fence_mr() 3005 wqe->sg_list[i].lkey = wqe->sg_list[i - 1].lkey; in bnxt_re_build_qp1_send() 3009 wqe->sg_list[0].lkey = sge.lkey; in bnxt_re_build_qp1_send() 3031 wqe->sg_list[indx].lkey = wr->sg_list[indx].lkey; in bnxt_re_build_gsi_send() 3076 ref.lkey = wr->sg_list[0].lkey; in bnxt_re_build_qp1_recv() 3082 wqe->sg_list[0].lkey = sge.lkey; in bnxt_re_build_qp1_recv() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_mr.c | 139 ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_LKEY, &mr->lkey, in UVERBS_HANDLER() 140 sizeof(mr->lkey)); in UVERBS_HANDLER()
|
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | mckey.c | 190 sge.lkey = node->mr->lkey; in post_recvs() 225 sge.lkey = node->mr->lkey; in post_sends()
|
H A D | rping.c | 374 cb->recv_sgl.lkey = cb->recv_mr->lkey; in rping_setup_wr() 380 cb->send_sgl.lkey = cb->send_mr->lkey; in rping_setup_wr() 388 cb->rdma_sgl.lkey = cb->rdma_mr->lkey; in rping_setup_wr() 699 cb->rdma_sq_wr.sg_list->lkey, in rping_test_server()
|
H A D | cmatose.c | 170 sge.lkey = node->mr->lkey; in post_recvs() 200 sge.lkey = node->mr->lkey; in post_sends()
|
H A D | udaddy.c | 185 sge.lkey = node->mr->lkey; in post_recvs() 220 sge.lkey = node->mr->lkey; in post_sends()
|
/freebsd/contrib/sendmail/makemap/ |
H A D | makemap.c | 743 char *lkey; local 748 lkey = sm_lowercase(ibuf); 749 db_key.data = lkey; 750 db_key.size = strlen(lkey);
|