rvt_ss_has_lkey(9)
π rvt_ss_has_lkey(9) β like, the Kernel API Manual page you didn't know you needed π
okay so bestie, gather round, because we are reading a real page out of the Kernel API Manual and honestly? it's short, it's sweet, and it's giving "tiny function, big responsibilities" energy. let's get into it β¨
πΈ NAME πΈ
rvt_ss_has_lkey β is mr in sge tests π
like literally that's the whole vibe. it's asking the question "hey, is this mr in the sge tests?" and it wants an answer. no cap.
β SYNOPSIS β
bool rvt_ss_has_lkey (struct rvt_sge_state *ss , u32 lkey );
returns a bool, takes two things, done. she's lowkey minimal and we respect that π
π¦ ARGUMENTS π¦
ssβ the sge state π«Ά this is the sge state, ok? that's the whole deal. she's the main character here.lkeyβ the lkey π yes. it is the lkey. we love a straightforward queen.
ngl both of these one-liners are just "the thing is the thing" and honestly? iconic. no extra lore, no side quests, just facts. π
π DESCRIPTION π
so what does this code even do? it tests for an MR in the indicated sge state. that's it. that's the function. π
like β you hand her an sge state, she checks whether there's an MR chillin' in there, and she tells you true or false. short, efficient, no drama, ate and left no crumbs β¨
π SEE ALSO π
bestie this list is long and every single one of these is a real one, so buckle up and let's go down the roster π
- Kernel file
./drivers/infiniband/sw/rdmavt/mr.c 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_mr_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)
fr fr that's the whole squad and not one of them is getting skipped π
π§ and that's the page! she's short, she's specific, and she's exactly what she says she is.
okay bye besties, go read your kernel source, drink some water, and remember: it's called ./drivers/infiniband/sw/rdmavt, it's dated October 2026, and the page is rvt_ss_has_lkey(9) β mwah ππΈ
π¦ 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