rvt_mr_has_lkey(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ rvt_mr_has_lkey πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” yes, that's the manual name, we're in the kernel docs now, it's giving big-brain energy πŸ§ πŸ‘‘

✨ NAME ✨

rvt_mr_has_lkey β€” literally just "is MR" 🫢 like that's the whole description, the kernel devs said "you'll figure it out" and honestly? iconic of them πŸ’€


πŸ”₯ SYNOPSIS πŸ”₯

bool rvt_mr_has_lkey (struct rvt_mregion *mr , u32 lkey );

it returns a bool, so like… yes or no, no cap 🌸

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mr β€” the mregion πŸŽ€ (that's the memory region, she's the main character here)
  • lkey β€” the lkey ⭐ (yes, that's what it's called, I don't make the rules)
not me with a whole two-argument function and zero further explanation 😭 the manpage said "the mregion" and "the lkey" and clocked out, and honestly? respect πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

so this lives in the kernel file ./drivers/infiniband/sw/rdmavt/mr.c πŸ“ and if you're nosy (you are, I love that) here's the whole friend group, no one left out fr fr πŸ’–


and that's the whole page bestie, slay πŸ’…βœ¨ this little gem comes from the source ./drivers/infiniband/sw/rdmavt and it's dated October 2026 πŸ—“οΈπŸ’œ β€” go forth and check those lkeys, ily, bye! πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from