/drivers/infiniband/hw/amso1100/ |
H A D | c2_user.h | 60 __u32 lkey; member in struct:c2_create_cq 74 __u32 lkey; member in struct:c2_create_qp
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_keys.c | 40 * ipath_alloc_lkey - allocate an lkey 41 * @rkt: lkey table in which to allocate the lkey 42 * @mr: memory region that this lkey protects 71 * Make sure lkey is never zero which is reserved to indicate an 75 mr->lkey = (r << (32 - ib_ipath_lkey_table_size)) | 78 if (mr->lkey == 0) { 79 mr->lkey |= 1 << 8; 92 * ipath_free_lkey - free an lkey 93 * @rkt: table from which to free the lkey 96 ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey) argument [all...] |
H A D | ipath_mad.c | 669 u16 lkey = key & 0x7FFF; local 673 if (lkey == 0x7FFF) { 699 if ((dd->ipath_pkeys[i] & 0x7FFF) == lkey) { 712 ipath_stats.sps_pkeys[i] = lkey;
|
H A D | ipath_file_ops.c | 610 u16 lkey = key & 0x7FFF; local 613 if (lkey == (IPATH_DEFAULT_P_KEY & 0x7FFF)) { 627 if (!lkey) { 686 if ((dd->ipath_pkeys[i] & 0x7FFF) == lkey) { 708 ipath_stats.sps_pkeys[i] = lkey;
|
/drivers/infiniband/hw/mthca/ |
H A D | mthca_user.h | 74 __u32 lkey; member in struct:mthca_create_cq 88 __u32 lkey; member in struct:mthca_resize_cq 93 __u32 lkey; member in struct:mthca_create_srq 104 __u32 lkey; member in struct:mthca_create_qp
|
H A D | mthca_wqe.h | 66 __be32 lkey; member in struct:mthca_tavor_ud_seg 85 __be32 lkey; member in struct:mthca_bind_seg 103 __be32 lkey; member in struct:mthca_data_seg 120 dseg->lkey = cpu_to_be32(sg->lkey); 127 dseg->lkey = cpu_to_be32(MTHCA_INVAL_LKEY);
|
H A D | mthca_srq.c | 51 __be32 lkey; member in struct:mthca_tavor_srq_context 60 __be32 lkey; member in struct:mthca_arbel_srq_context 104 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); 129 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); 191 scatter->lkey = cpu_to_be32(MTHCA_INVAL_LKEY);
|
H A D | mthca_mr.c | 57 __be32 lkey; member in struct:mthca_mpt_entry 444 mr->ibmr.rkey = mr->ibmr.lkey = hw_index_to_key(dev, key); 472 memset(&mpt_entry->lkey, 0, 473 sizeof *mpt_entry - offsetof(struct mthca_mpt_entry, lkey)); 481 mthca_dbg(dev, "Dumping MPT entry %08x:\n", mr->ibmr.lkey); 545 static void mthca_free_region(struct mthca_dev *dev, u32 lkey) argument 548 key_to_hw_index(dev, lkey)); 550 mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey)); 558 key_to_hw_index(dev, mr->ibmr.lkey) & 563 mthca_free_region(dev, mr->ibmr.lkey); [all...] |
H A D | mthca_provider.c | 465 srq->mr.ibmr.lkey = ucmd.lkey; 560 qp->mr.ibmr.lkey = ucmd.lkey; 681 cq->buf.mr.ibmr.lkey = ucmd.lkey; 772 u32 lkey; local 790 lkey = cq->resize_buf->buf.mr.ibmr.lkey; 796 lkey [all...] |
H A D | mthca_cq.c | 71 __be32 lkey; member in struct:mthca_cq_context 842 cq_context->lkey = cpu_to_be32(cq->buf.mr.ibmr.lkey);
|
H A D | mthca_eq.c | 61 __be32 lkey; member in struct:mthca_eq_context 543 eq_context->lkey = cpu_to_be32(eq->mr.ibmr.lkey);
|
/drivers/infiniband/hw/qib/ |
H A D | qib_keys.c | 37 * qib_alloc_lkey - allocate an lkey 38 * @mr: memory region that this lkey protects 45 * Sets the lkey field mr for non-dma regions. 60 /* special case for dma_mr lkey == 0 */ 85 * Make sure lkey is never zero which is reserved to indicate an 89 mr->lkey = (r << (32 - ib_qib_lkey_table_size)) | 92 if (mr->lkey == 0) { 93 mr->lkey |= 1 << 8; 110 * qib_free_lkey - free an lkey 116 u32 lkey local [all...] |
H A D | qib_mad.c | 926 u16 lkey = key & 0x7FFF; local 930 if (lkey == 0x7FFF) { 956 if ((ppd->pkeys[i] & 0x7FFF) == lkey) {
|
H A D | qib_file_ops.c | 565 u16 lkey = key & 0x7FFF; local 568 if (lkey == (QIB_DEFAULT_P_KEY & 0x7FFF)) { 574 if (!lkey) { 619 if ((ppd->pkeys[i] & 0x7FFF) == lkey) {
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mr.c | 1008 int npages, u64 iova, u32 *lkey, u32 *rkey) 1021 *lkey = *rkey = fmr->mr.key = hw_index_to_key(key); 1038 fmr->mpt->lkey = cpu_to_be32(key); 1116 u32 *lkey, u32 *rkey) 1007 mlx4_map_phys_fmr(struct mlx4_dev *dev, struct mlx4_fmr *fmr, u64 *page_list, int npages, u64 iova, u32 *lkey, u32 *rkey) argument 1115 mlx4_fmr_unmap(struct mlx4_dev *dev, struct mlx4_fmr *fmr, u32 *lkey, u32 *rkey) argument
|
/drivers/staging/rtl8712/ |
H A D | rtl871x_security.h | 79 u32 lkey[4]; member in union:Keytype
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_qes.h | 52 u32 lkey; member in struct:ehca_vsgentry 192 u32 lkey; member in struct:ehca_wqe::__anon1460::__anon1465
|
H A D | ehca_classes.h | 339 u32 lkey; member in struct:ehca_mr_hipzout_parms
|
H A D | ehca_mrmw.c | 176 &e_maxmr->ib.ib_mr.lkey, 260 e_pd, &e_mr->ib.ib_mr.lkey, 289 e_pd, &pginfo, &e_mr->ib.ib_mr.lkey, 405 e_pd, &pginfo, &e_mr->ib.ib_mr.lkey, 491 "shca->maxmr=%p mr->lkey=%x", 492 mr, shca->maxmr, mr->lkey); 577 mr->lkey = tmp_lkey; 617 "hca_hndl=%llx mr_hndl=%llx lkey=%x", 619 e_mr->ipz_mr_handle.handle, mr->lkey); 626 mr_attr->lkey 1021 ehca_reg_mr(struct ehca_shca *shca, struct ehca_mr *e_mr, u64 *iova_start, u64 size, int acl, struct ehca_pd *e_pd, struct ehca_mr_pginfo *pginfo, u32 *lkey, u32 *rkey, enum ehca_reg_type reg_type) argument 1197 ehca_rereg_mr_rereg1(struct ehca_shca *shca, struct ehca_mr *e_mr, u64 *iova_start, u64 size, u32 acl, struct ehca_pd *e_pd, struct ehca_mr_pginfo *pginfo, u32 *lkey, u32 *rkey) argument 1288 ehca_rereg_mr(struct ehca_shca *shca, struct ehca_mr *e_mr, u64 *iova_start, u64 size, int acl, struct ehca_pd *e_pd, struct ehca_mr_pginfo *pginfo, u32 *lkey, u32 *rkey) argument 1471 ehca_reg_smr(struct ehca_shca *shca, struct ehca_mr *e_origmr, struct ehca_mr *e_newmr, u64 *iova_start, int acl, struct ehca_pd *e_pd, u32 *lkey, u32 *rkey) argument 1687 ehca_reg_maxmr(struct ehca_shca *shca, struct ehca_mr *e_newmr, u64 *iova_start, int acl, struct ehca_pd *e_pd, u32 *lkey, u32 *rkey) argument [all...] |
/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.h | 147 u32 lkey; member in struct:srp_target_port
|
/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_phyp.c | 464 mr->lkey = (u32)outs[2]; 493 const u32 pd, u64 *mr_handle, u32 *lkey) 509 *lkey = (u32)outs[2]; 491 ehea_h_alloc_resource_mr(const u64 adapter_handle, const u64 vaddr, const u64 length, const u32 access_ctrl, const u32 pd, u64 *mr_handle, u32 *lkey) argument
|
/drivers/staging/rtl8188eu/include/ |
H A D | rtw_security.h | 94 u32 lkey[4]; member in union:Keytype
|
/drivers/staging/rtl8723au/include/ |
H A D | rtw_security.h | 83 u32 lkey[4]; member in union:Keytype
|
/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma.h | 144 u32 lkey; member in struct:ocrdma_hw_mr
|
/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.h | 245 * @lkey: MR local key 253 u32 lkey; member in struct:iser_mem_reg
|