/linux-master/net/dns_resolver/ |
H A D | dns_query.c | 79 struct key *rkey; local 128 rkey = request_key_net(&key_type_dns_resolver, desc, net, options); 131 if (IS_ERR(rkey)) { 132 ret = PTR_ERR(rkey); 136 down_read(&rkey->sem); 137 set_bit(KEY_FLAG_ROOT_CAN_INVAL, &rkey->flags); 138 rkey->perm |= KEY_USR_VIEW; 140 ret = key_validate(rkey); 145 ret = PTR_ERR(rkey->payload.data[dns_key_error]); 149 upayload = user_key_payload_locked(rkey); [all...] |
/linux-master/arch/arm64/crypto/ |
H A D | sm4-ce.h | 10 void sm4_ce_crypt_block(const u32 *rkey, u8 *dst, const u8 *src);
|
H A D | sm4-neon-glue.c | 21 asmlinkage void sm4_neon_crypt(const u32 *rkey, u8 *dst, const u8 *src, 36 static int sm4_ecb_do_crypt(struct skcipher_request *req, const u32 *rkey) argument 53 sm4_neon_crypt(rkey, dst, src, nblocks);
|
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_mw.c | 31 mw->rkey = ibmw->rkey = (mw->elem.index << 8) | rxe_get_next_key(-1); 138 u32 key = wqe->wr.wr.mw.rkey & 0xff; 140 mw->rkey = (mw->rkey & ~0xff) | key; 180 if (unlikely(mw->rkey != mw_rkey)) { 258 int rxe_invalidate_mw(struct rxe_qp *qp, u32 rkey) argument 264 mw = rxe_pool_get_index(&rxe->mw_pool, rkey >> 8); 270 if (rkey != mw->rkey) { 290 rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey) argument [all...] |
H A D | rxe_hdr.h | 528 __be32 rkey; member in struct:rxe_reth 550 return be32_to_cpu(reth->rkey); 553 static inline void __reth_set_rkey(void *arg, u32 rkey) argument 557 reth->rkey = cpu_to_be32(rkey); 592 static inline void reth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) argument 595 rxe_opcode[pkt->opcode].offset[RXE_RETH], rkey); 661 __be32 rkey; member in struct:rxe_atmeth 684 return be32_to_cpu(atmeth->rkey); 687 static inline void __atmeth_set_rkey(void *arg, u32 rkey) argument 740 atmeth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) argument 919 __be32 rkey; member in struct:rxe_ieth 929 __ieth_set_rkey(void *arg, u32 rkey) argument 942 ieth_set_rkey(struct rxe_pkt_info *pkt, u32 rkey) argument [all...] |
H A D | rxe_verbs.h | 150 u32 rkey; member in struct:resp_res::__anon1459::__anon1461 183 u32 rkey; member in struct:rxe_resp_info 293 static inline int rkey_is_mw(u32 rkey) argument 295 u32 index = rkey >> 8; 307 u32 rkey; member in struct:rxe_mr 340 u32 rkey; member in struct:rxe_mw
|
H A D | rxe_resp.c | 397 * about the rkey value and should not validate or use it. 398 * Instead set qp->resp.rkey to 0 which is an invalid rkey 410 qp->resp.rkey = 0; 412 qp->resp.rkey = reth_rkey(pkt); 419 qp->resp.rkey = atmeth_rkey(pkt); 423 /* resolve the packet rkey to qp->resp.mr or set qp->resp.mr to NULL 424 * if an invalid rkey is received or the rdma length is zero. For middle 433 u32 rkey; local 441 * for va, length, rkey, et 826 rxe_recheck_mr(struct rxe_qp *qp, u32 rkey) argument 969 invalidate_rkey(struct rxe_qp *qp, u32 rkey) argument 1025 u32 rkey = ieth_rkey(pkt); local [all...] |
H A D | rxe_mr.c | 52 /* set ibmr->l/rkey and also copy into private l/rkey 58 mr->rkey = mr->ibmr.rkey = key; 628 (type == RXE_LOOKUP_REMOTE && mr->rkey != key) || 653 if (remote ? (key != mr->rkey) : (key != mr->lkey)) { 655 key, (remote ? mr->rkey : mr->lkey)); 706 /* user is only allowed to change key portion of l/rkey */ 715 mr->rkey = key;
|
/linux-master/drivers/infiniband/ulp/iser/ |
H A D | iser_memory.c | 131 * rkey/lkey use cases 135 reg->rkey = device->pd->unsafe_global_rkey; 137 reg->rkey = 0; 141 iser_dbg("Single DMA entry: lkey=0x%x, rkey=0x%x, addr=0x%llx," 142 " length=0x%x\n", reg->sge.lkey, reg->rkey, 241 inv_wr->ex.invalidate_rkey = mr->rkey; 270 ib_update_fast_reg_key(mr, ib_inc_rkey(mr->rkey)); 287 wr->key = mr->rkey; 294 sig_reg->rkey = mr->rkey; [all...] |
H A D | iser_initiator.c | 70 hdr->read_stag = cpu_to_be32(mem_reg->rkey); 74 task->itt, mem_reg->rkey, 117 hdr->write_stag = cpu_to_be32(mem_reg->rkey); 122 task->itt, mem_reg->rkey, 576 static inline int iser_inv_desc(struct iser_fr_desc *desc, u32 rkey) argument 578 if (unlikely((!desc->sig_protected && rkey != desc->rsc.mr->rkey) || 579 (desc->sig_protected && rkey != desc->rsc.sig_mr->rkey))) { 580 iser_err("Bogus remote invalidation for rkey 597 u32 rkey = wc->ex.invalidate_rkey; local [all...] |
/linux-master/include/uapi/rdma/ |
H A D | vmw_pvrdma-abi.h | 251 __u32 rkey; member in struct:pvrdma_sq_wqe_hdr::__anon190::__anon191 258 __u32 rkey; member in struct:pvrdma_sq_wqe_hdr::__anon190::__anon192 264 __u32 rkey; member in struct:pvrdma_sq_wqe_hdr::__anon190::__anon193 277 __u32 rkey; member in struct:pvrdma_sq_wqe_hdr::__anon190::__anon195
|
H A D | rdma_user_rxe.h | 88 __u32 rkey; member in struct:rxe_send_wr::__anon1274::__anon1275 94 __u32 rkey; member in struct:rxe_send_wr::__anon1274::__anon1276 101 __u32 rkey; member in struct:rxe_send_wr::__anon1274::__anon1277 118 __u32 rkey; member in struct:rxe_send_wr::__anon1274::__anon1279
|
/linux-master/include/rdma/ |
H A D | rw.h | 47 u64 remote_addr, u32 rkey, enum dma_data_direction dir); 55 struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey,
|
/linux-master/fs/reiserfs/ |
H A D | dir.c | 69 const struct reiserfs_key *rkey; local 242 rkey = get_rkey(&path_to_entry, inode->i_sb); 243 if (!comp_le_keys(rkey, &MIN_KEY)) { 253 if (COMP_SHORT_KEYS(rkey, &pos_key)) { 259 le_key_k_offset(KEY_FORMAT_3_5, rkey));
|
/linux-master/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_mr.c | 95 mr->ibmr.rkey = resp->rkey; 183 mr->ibmr.rkey = resp->rkey; 255 mr->ibmr.rkey = resp->rkey;
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_std_types_mr.c | 152 &mr->rkey, sizeof(mr->rkey)); 169 &mr->rkey, sizeof(mr->rkey)); 265 &mr->rkey, sizeof(mr->rkey));
|
H A D | rw.c | 126 u64 remote_addr, u32 rkey, enum dma_data_direction dir) 162 reg->wr.rkey = rkey; 197 u64 remote_addr, u32 rkey, enum dma_data_direction dir) 223 rdma_wr->rkey = rkey; 252 struct scatterlist *sg, u32 offset, u64 remote_addr, u32 rkey, 271 rdma_wr->rkey = rkey; 285 * @remote_addr:remote address to read/write (relative to @rkey) 124 rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir) argument 195 rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, struct scatterlist *sg, u32 sg_cnt, u32 offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir) argument 251 rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, struct scatterlist *sg, u32 offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir) argument 292 rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir) argument 364 rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey, enum dma_data_direction dir) argument [all...] |
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_wqe.h | 92 __be32 rkey; member in struct:mthca_raddr_seg
|
/linux-master/fs/nfs/ |
H A D | nfs4idmap.c | 283 struct key *rkey = ERR_PTR(-EAGAIN); local 291 rkey = request_key(&key_type_id_resolver, desc, ""); 292 if (IS_ERR(rkey)) { 294 rkey = request_key_with_auxdata(&key_type_id_resolver_legacy, 298 if (!IS_ERR(rkey)) 299 set_bit(KEY_FLAG_ROOT_CAN_INVAL, &rkey->flags); 302 return rkey; 310 struct key *rkey; local 315 rkey = nfs_idmap_request_key(name, namelen, type, idmap); 318 if (IS_ERR(rkey)) { [all...] |
/linux-master/drivers/infiniband/hw/efa/ |
H A D | efa_io_defs.h | 144 u32 rkey; member in struct:efa_io_remote_mem_addr
|
/linux-master/arch/riscv/crypto/ |
H A D | sm4-riscv64-glue.c | 23 asmlinkage void sm4_crypt_zvksed_zvkb(const u32 rkey[SM4_RKEY_WORDS],
|
/linux-master/drivers/nvme/host/ |
H A D | pr.c | 230 le64_to_cpu(rse->regctl_eds[i].rkey); 235 keys_info->keys[i] = le64_to_cpu(rs->regctl_ds[i].rkey); 287 resv->key = le64_to_cpu(rse->regctl_eds[i].rkey); 295 resv->key = le64_to_cpu(rs->regctl_ds[i].rkey);
|
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_qp_tx.c | 138 c_tx->pkt.rreq.source_stag = htonl(wqe->sqe.rkey); 183 c_tx->pkt.send_inv.inval_stag = cpu_to_be32(wqe->sqe.rkey); 195 c_tx->pkt.rwrite.sink_stag = htonl(wqe->sqe.rkey); 209 c_tx->pkt.rresp.sink_stag = cpu_to_be32(wqe->sqe.rkey); 933 siw_dbg_pd(pd, "STag 0x%08x\n", sqe->rkey); 936 pr_warn("siw: fastreg: STag 0x%08x unknown\n", sqe->rkey); 940 if (unlikely(base_mr->rkey >> 8 != sqe->rkey >> 8)) { 941 pr_warn("siw: fastreg: STag 0x%08x: bad MR\n", sqe->rkey); 945 mem = siw_mem_id2obj(sdev, sqe->rkey >> [all...] |
/linux-master/drivers/infiniband/sw/rdmavt/ |
H A D | mr.c | 254 * lkey and rkey. 260 mr->ibmr.rkey = mr->mr.lkey; 630 ibmr->rkey = key; 641 * rvt_invalidate_rkey - invalidate an MR rkey 643 * @rkey: rkey to invalidate 647 int rvt_invalidate_rkey(struct rvt_qp *qp, u32 rkey) argument 653 if (rkey == 0) 658 rkt->table[(rkey >> (32 - dev->dparms.lkey_table_size))]); 659 if (unlikely(!mr || mr->lkey != rkey || q 826 rvt_rkey_ok(struct rvt_qp *qp, struct rvt_sge *sge, u32 len, u64 vaddr, u32 rkey, int acc) argument [all...] |
/linux-master/arch/x86/crypto/ |
H A D | sm4_aesni_avx_glue.c | 39 static int ecb_do_crypt(struct skcipher_request *req, const u32 *rkey) argument 53 sm4_aesni_avx_crypt8(rkey, dst, src, 8); 60 sm4_aesni_avx_crypt4(rkey, dst, src, nblocks);
|