mkey 1672 drivers/infiniband/hw/hfi1/hfi.h u16 mkey = pkey & PKEY_LOW_15_MASK; mkey 1675 drivers/infiniband/hw/hfi1/hfi.h if (mkey == ment) { mkey 481 drivers/infiniband/hw/hfi1/mad.c __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt) mkey 496 drivers/infiniband/hw/hfi1/mad.c trap->data.ntc_256.mkey = mkey; mkey 693 drivers/infiniband/hw/hfi1/mad.c int mad_flags, __be64 mkey, __be32 dr_slid, mkey 707 drivers/infiniband/hw/hfi1/mad.c if ((mad_flags & IB_MAD_IGNORE_MKEY) || ibp->rvp.mkey == 0 || mkey 708 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey == mkey) mkey 734 drivers/infiniband/hw/hfi1/mad.c bad_mkey(ibp, mad, mkey, dr_slid, return_path, mkey 834 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey != smp->mkey && mkey 836 drivers/infiniband/hw/hfi1/mad.c pi->mkey = ibp->rvp.mkey; mkey 1407 drivers/infiniband/hw/hfi1/mad.c ibp->rvp.mkey = pi->mkey; mkey 4535 drivers/infiniband/hw/hfi1/mad.c ret = check_mkey(ibp, (struct ib_mad_hdr *)smp, mad_flags, smp->mkey, mkey 4555 drivers/infiniband/hw/hfi1/mad.c smp->mkey, smp->route.dr.dr_slid, mkey 4633 drivers/infiniband/hw/hfi1/mad.c smp->mkey, (__force __be32)smp->dr_slid, mkey 4652 drivers/infiniband/hw/hfi1/mad.c smp->mkey, mkey 134 drivers/infiniband/hw/hfi1/mad.h __be64 mkey; mkey 1127 drivers/infiniband/hw/hfi1/verbs.c u16 mkey = pkey & PKEY_LOW_15_MASK; mkey 1130 drivers/infiniband/hw/hfi1/verbs.c if (mkey == mentry) { mkey 35 drivers/infiniband/hw/mlx5/cmd.c int mlx5_cmd_dump_fill_mkey(struct mlx5_core_dev *dev, u32 *mkey) mkey 45 drivers/infiniband/hw/mlx5/cmd.c *mkey = MLX5_GET(query_special_contexts_out, out, mkey 40 drivers/infiniband/hw/mlx5/cmd.h int mlx5_cmd_dump_fill_mkey(struct mlx5_core_dev *dev, u32 *mkey); mkey 383 drivers/infiniband/hw/mlx5/cq.c item->key = be32_to_cpu(cqe->mkey); mkey 550 drivers/infiniband/hw/mlx5/cq.c mlx5_base_mkey(be32_to_cpu(sig_err_cqe->mkey))); mkey 1253 drivers/infiniband/hw/mlx5/devx.c struct mlx5_core_mkey *mkey; mkey 1257 drivers/infiniband/hw/mlx5/devx.c mkey = &devx_mr->mmkey; mkey 1260 drivers/infiniband/hw/mlx5/devx.c mkey->key = mlx5_idx_to_mkey( mkey 1262 drivers/infiniband/hw/mlx5/devx.c mkey->type = MLX5_MKEY_INDIRECT_DEVX; mkey 1263 drivers/infiniband/hw/mlx5/devx.c mkey->iova = MLX5_GET64(mkc, mkc, start_addr); mkey 1264 drivers/infiniband/hw/mlx5/devx.c mkey->size = MLX5_GET64(mkc, mkc, len); mkey 1265 drivers/infiniband/hw/mlx5/devx.c mkey->pd = MLX5_GET(mkc, mkc, pd); mkey 1269 drivers/infiniband/hw/mlx5/devx.c mlx5_base_mkey(mkey->key), mkey, GFP_KERNEL)); mkey 485 drivers/infiniband/hw/mlx5/mlx5_ib.h u32 mkey; mkey 996 drivers/infiniband/hw/mlx5/mr.c wr.mkey = mr->mmkey.key; mkey 1363 drivers/infiniband/hw/mlx5/mr.c umrwr.mkey = mr->mmkey.key; mkey 1379 drivers/infiniband/hw/mlx5/mr.c umrwr.mkey = mr->mmkey.key; mkey 4389 drivers/infiniband/hw/mlx5/qp.c mlx5_mkey_variant(umrwr->mkey)); mkey 5270 drivers/infiniband/hw/mlx5/qp.c ctrl->imm = cpu_to_be32(umr_wr(wr)->mkey); mkey 183 drivers/infiniband/hw/qib/qib_mad.c data.details.ntc_256.mkey = smp->mkey; mkey 419 drivers/infiniband/hw/qib/qib_mad.c if ((mad_flags & IB_MAD_IGNORE_MKEY) || ibp->rvp.mkey == 0 || mkey 420 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey == smp->mkey) mkey 494 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey != smp->mkey && mkey 496 drivers/infiniband/hw/qib/qib_mad.c pip->mkey = ibp->rvp.mkey; mkey 690 drivers/infiniband/hw/qib/qib_mad.c ibp->rvp.mkey = pip->mkey; mkey 207 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_create_mkey(dev, &tracer->buff.mkey, in, inlen); mkey 746 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_conf, in, trace_mkey, tracer->buff.mkey.key); mkey 1044 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_core_destroy_mkey(tracer->dev, &tracer->buff.mkey); mkey 92 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h struct mlx5_core_mkey mkey; mkey 65 drivers/net/ethernet/mellanox/mlx5/core/en_common.c struct mlx5_core_mkey *mkey) mkey 85 drivers/net/ethernet/mellanox/mlx5/core/en_common.c err = mlx5_core_create_mkey(mdev, mkey, in, inlen); mkey 108 drivers/net/ethernet/mellanox/mlx5/core/en_common.c err = mlx5e_create_mkey(mdev, res->pdn, &res->mkey); mkey 126 drivers/net/ethernet/mellanox/mlx5/core/en_common.c mlx5_core_destroy_mkey(mdev, &res->mkey); mkey 139 drivers/net/ethernet/mellanox/mlx5/core/en_common.c mlx5_core_destroy_mkey(mdev, &res->mkey); mkey 1991 drivers/net/ethernet/mellanox/mlx5/core/en_main.c c->mkey_be = cpu_to_be32(priv->mdev->mlx5e_res.mkey.key); mkey 118 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key); mkey 158 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key); mkey 224 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c struct mlx5_core_mkey *mkey) mkey 244 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c err = mlx5_core_create_mkey(mdev, mkey, in, inlen); mkey 1024 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c &fdev->conn_res.mkey); mkey 1029 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_dbg(fdev, "Created mkey 0x%x\n", fdev->conn_res.mkey.key); mkey 1045 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mlx5_core_destroy_mkey(fdev->mdev, &fdev->conn_res.mkey); mkey 57 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h struct mlx5_core_mkey mkey; mkey 50 drivers/net/ethernet/mellanox/mlx5/core/mr.c struct mlx5_core_mkey *mkey, mkey 80 drivers/net/ethernet/mellanox/mlx5/core/mr.c mkey->iova = MLX5_GET64(mkc, mkc, start_addr); mkey 81 drivers/net/ethernet/mellanox/mlx5/core/mr.c mkey->size = MLX5_GET64(mkc, mkc, len); mkey 82 drivers/net/ethernet/mellanox/mlx5/core/mr.c mkey->key = mlx5_idx_to_mkey(mkey_index) | key; mkey 83 drivers/net/ethernet/mellanox/mlx5/core/mr.c mkey->pd = MLX5_GET(mkc, mkc, pd); mkey 86 drivers/net/ethernet/mellanox/mlx5/core/mr.c mkey_index, key, mkey->key); mkey 88 drivers/net/ethernet/mellanox/mlx5/core/mr.c err = xa_err(xa_store_irq(mkeys, mlx5_base_mkey(mkey->key), mkey, mkey 92 drivers/net/ethernet/mellanox/mlx5/core/mr.c mlx5_base_mkey(mkey->key), err); mkey 93 drivers/net/ethernet/mellanox/mlx5/core/mr.c mlx5_core_destroy_mkey(dev, mkey); mkey 101 drivers/net/ethernet/mellanox/mlx5/core/mr.c struct mlx5_core_mkey *mkey, mkey 104 drivers/net/ethernet/mellanox/mlx5/core/mr.c return mlx5_core_create_mkey_cb(dev, mkey, NULL, in, inlen, mkey 110 drivers/net/ethernet/mellanox/mlx5/core/mr.c struct mlx5_core_mkey *mkey) mkey 118 drivers/net/ethernet/mellanox/mlx5/core/mr.c __xa_erase(mkeys, mlx5_base_mkey(mkey->key)); mkey 122 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(destroy_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey->key)); mkey 127 drivers/net/ethernet/mellanox/mlx5/core/mr.c int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mkey *mkey, mkey 134 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(query_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey->key)); mkey 62 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c struct mlx5_core_mkey mkey; mkey 72 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c struct mlx5_core_mkey *mkey) mkey 94 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c return mlx5_core_create_mkey(mdev, mkey, in, inlen); mkey 132 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c &icm_mr->mkey); mkey 163 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c mlx5_core_destroy_mkey(mdev, &icm_mr->mkey); mkey 247 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c chunk->rkey = icm_mr->mkey.key; mkey 346 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c send_info->read.lkey = send_ring->mr->mkey.key; mkey 374 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c send_info->write.lkey = send_ring->mr->mkey.key; mkey 798 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c dr_create_mkey(struct mlx5_core_dev *mdev, u32 pdn, struct mlx5_core_mkey *mkey) mkey 815 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c return mlx5_core_create_mkey(mdev, mkey, in, sizeof(in)); mkey 839 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c err = dr_create_mkey(mdev, pdn, &mr->mkey); mkey 857 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c mlx5_core_destroy_mkey(mdev, &mr->mkey); mkey 980 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c send_info.rkey = send_ring->sync_mr->mkey.key; mkey 1002 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct mlx5_core_mkey mkey; mkey 1020 include/linux/mlx4/device.h __be64 mkey; mkey 933 include/linux/mlx5/device.h __be32 mkey; mkey 625 include/linux/mlx5/driver.h struct mlx5_core_mkey mkey; mkey 949 include/linux/mlx5/driver.h struct mlx5_core_mkey *mkey, mkey 955 include/linux/mlx5/driver.h struct mlx5_core_mkey *mkey, mkey 958 include/linux/mlx5/driver.h struct mlx5_core_mkey *mkey); mkey 959 include/linux/mlx5/driver.h int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mkey *mkey, mkey 1029 include/linux/mlx5/driver.h static inline u32 mlx5_mkey_to_idx(u32 mkey) mkey 1031 include/linux/mlx5/driver.h return mkey >> 8; mkey 1039 include/linux/mlx5/driver.h static inline u8 mlx5_mkey_variant(u32 mkey) mkey 1041 include/linux/mlx5/driver.h return mkey & 0xff; mkey 8992 include/linux/mlx5/mlx5_ifc.h u8 mkey[0x20]; mkey 443 include/rdma/ib_mad.h __be64 mkey; mkey 57 include/rdma/ib_smi.h __be64 mkey; mkey 87 include/rdma/ib_smi.h __be64 mkey; mkey 372 include/rdma/opa_port_info.h __be64 mkey; mkey 61 include/rdma/opa_smi.h __be64 mkey; mkey 86 include/rdma/rdma_vt.h __be64 mkey; mkey 304 include/trace/events/ib_mad.h __field(u64, mkey) mkey 316 include/trace/events/ib_mad.h __entry->mkey = smp->mkey; mkey 329 include/trace/events/ib_mad.h be64_to_cpu(__entry->mkey), be32_to_cpu(__entry->dr_slid), mkey 349 include/trace/events/ib_mad.h __field(u64, mkey) mkey 361 include/trace/events/ib_mad.h __entry->mkey = smp->mkey; mkey 374 include/trace/events/ib_mad.h be64_to_cpu(__entry->mkey), be16_to_cpu(__entry->dr_slid), mkey 64 net/mac802154/llsec.c struct mac802154_llsec_key *mkey; mkey 66 net/mac802154/llsec.c mkey = container_of(key->key, struct mac802154_llsec_key, key); mkey 68 net/mac802154/llsec.c llsec_key_put(mkey); mkey 216 net/mac802154/llsec.c struct mac802154_llsec_key *mkey = NULL; mkey 231 net/mac802154/llsec.c mkey = container_of(pos->key, struct mac802154_llsec_key, key); mkey 248 net/mac802154/llsec.c if (!mkey) mkey 249 net/mac802154/llsec.c mkey = llsec_key_alloc(key); mkey 251 net/mac802154/llsec.c mkey = llsec_key_get(mkey); mkey 253 net/mac802154/llsec.c if (!mkey) mkey 257 net/mac802154/llsec.c new->key = &mkey->key; mkey 274 net/mac802154/llsec.c struct mac802154_llsec_key *mkey; mkey 276 net/mac802154/llsec.c mkey = container_of(pos->key, struct mac802154_llsec_key, key); mkey 280 net/mac802154/llsec.c llsec_key_put(mkey); mkey 105 net/sched/cls_flower.c struct fl_flow_key mkey; mkey 165 net/sched/cls_flower.c static void fl_set_masked_key(struct fl_flow_key *mkey, struct fl_flow_key *key, mkey 170 net/sched/cls_flower.c long *lmkey = fl_key_get_start(mkey, mask); mkey 202 net/sched/cls_flower.c struct fl_flow_key *mkey) mkey 217 net/sched/cls_flower.c mkey->tp_range.tp_min.dst = filter->mkey.tp_range.tp_min.dst; mkey 218 net/sched/cls_flower.c mkey->tp_range.tp_max.dst = filter->mkey.tp_range.tp_max.dst; mkey 225 net/sched/cls_flower.c struct fl_flow_key *mkey) mkey 240 net/sched/cls_flower.c mkey->tp_range.tp_min.src = filter->mkey.tp_range.tp_min.src; mkey 241 net/sched/cls_flower.c mkey->tp_range.tp_max.src = filter->mkey.tp_range.tp_max.src; mkey 247 net/sched/cls_flower.c struct fl_flow_key *mkey) mkey 249 net/sched/cls_flower.c return rhashtable_lookup_fast(&mask->ht, fl_key_get_start(mkey, mask), mkey 254 net/sched/cls_flower.c struct fl_flow_key *mkey, mkey 260 net/sched/cls_flower.c if (!fl_range_port_dst_cmp(filter, key, mkey)) mkey 263 net/sched/cls_flower.c if (!fl_range_port_src_cmp(filter, key, mkey)) mkey 266 net/sched/cls_flower.c f = __fl_lookup(mask, mkey); mkey 274 net/sched/cls_flower.c struct fl_flow_key *mkey, mkey 278 net/sched/cls_flower.c return fl_lookup_range(mask, mkey, key); mkey 280 net/sched/cls_flower.c return __fl_lookup(mask, mkey); mkey 448 net/sched/cls_flower.c cls_flower.rule->match.key = &f->mkey; mkey 1282 net/sched/cls_flower.c .key_offset = offsetof(struct cls_fl_filter, mkey), /* base offset */ mkey 1496 net/sched/cls_flower.c fl_set_masked_key(&f->mkey, &f->key, mask); mkey 1813 net/sched/cls_flower.c cls_flower.rule->match.key = &f->mkey; mkey 425 security/keys/encrypted-keys/encrypted.c struct key *mkey = ERR_PTR(-EINVAL); mkey 429 security/keys/encrypted-keys/encrypted.c mkey = request_trusted_key(epayload->master_desc + mkey 434 security/keys/encrypted-keys/encrypted.c mkey = request_user_key(epayload->master_desc + mkey 440 security/keys/encrypted-keys/encrypted.c if (IS_ERR(mkey)) { mkey 441 security/keys/encrypted-keys/encrypted.c int ret = PTR_ERR(mkey); mkey 454 security/keys/encrypted-keys/encrypted.c return mkey; mkey 670 security/keys/encrypted-keys/encrypted.c struct key *mkey; mkey 700 security/keys/encrypted-keys/encrypted.c mkey = request_master_key(epayload, &master_key, &master_keylen); mkey 701 security/keys/encrypted-keys/encrypted.c if (IS_ERR(mkey)) mkey 702 security/keys/encrypted-keys/encrypted.c return PTR_ERR(mkey); mkey 718 security/keys/encrypted-keys/encrypted.c up_read(&mkey->sem); mkey 719 security/keys/encrypted-keys/encrypted.c key_put(mkey); mkey 916 security/keys/encrypted-keys/encrypted.c struct key *mkey; mkey 934 security/keys/encrypted-keys/encrypted.c mkey = request_master_key(epayload, &master_key, &master_keylen); mkey 935 security/keys/encrypted-keys/encrypted.c if (IS_ERR(mkey)) mkey 936 security/keys/encrypted-keys/encrypted.c return PTR_ERR(mkey); mkey 956 security/keys/encrypted-keys/encrypted.c up_read(&mkey->sem); mkey 957 security/keys/encrypted-keys/encrypted.c key_put(mkey); mkey 965 security/keys/encrypted-keys/encrypted.c up_read(&mkey->sem); mkey 966 security/keys/encrypted-keys/encrypted.c key_put(mkey);