rvt_mr_has_lkey(9)
π 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 π
rvt_driver_mr_init(9)rvt_mr_exit(9)rvt_alloc_lkey(9)rvt_free_lkey(9)rvt_get_dma_mr(9)rvt_reg_user_mr(9)rvt_dereg_clean_qp_cb(9)rvt_dereg_clean_qps(9)rvt_check_refs(9)rvt_ss_has_lkey(9)rvt_dereg_mr(9)rvt_alloc_mr(9)rvt_set_page(9)rvt_map_mr_sg(9)rvt_fast_reg_mr(9)rvt_invalidate_rkey(9)rvt_sge_adjacent(9)rvt_lkey_ok(9)rvt_rkey_ok(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms