Lines Matching defs:mkey
369 /* o14-1: smp->mkey = 0; */
481 __be64 mkey, __be32 dr_slid, u8 return_path[], u8 hop_cnt)
496 trap->data.ntc_256.mkey = mkey;
693 int mad_flags, __be64 mkey, __be32 dr_slid,
699 /* Is the mkey in the process of expiring? */
702 /* Clear timeout and mkey protection field. */
707 if ((mad_flags & IB_MAD_IGNORE_MKEY) || ibp->rvp.mkey == 0 ||
708 ibp->rvp.mkey == mkey)
721 /* Bad mkey not a violation below level 2 */
734 bad_mkey(ibp, mad, mkey, dr_slid, return_path,
832 /* Only return the mkey if the protection field allows it. */
834 ibp->rvp.mkey != smp->mkey &&
836 pi->mkey = ibp->rvp.mkey;
1407 ibp->rvp.mkey = pi->mkey;
4534 ret = check_mkey(ibp, (struct ib_mad_hdr *)smp, mad_flags, smp->mkey,
4554 smp->mkey, smp->route.dr.dr_slid,
4632 smp->mkey, (__force __be32)smp->dr_slid,
4651 smp->mkey,