rvt_check_refs(9)
β¨ rvt_check_refs(9) β Kernel API Manual β¨
okay bestie, buckle up, we're diving into rvt_check_refs π
this one lives in the Kernel API Manual and it's literally all about checking references, no cap π«Ά
π NAME π
rvt_check_refs β check references π
π SYNOPSIS π
int rvt_check_refs (struct rvt_mregion *mr , const char *t );
πΈ ARGUMENTS πΈ
mrβ the megion π (yes, that's exactly what the page says, and we're respecting it fr fr)tβ the caller identification πͺͺ like, who even are you, bestie?
π¦ DESCRIPTION π¦
so this routine checks MRs holding a reference during when being de-registered. highkey a whole vibe check for references mid-deregistration β¨
if the count is non-zero, the code calls a clean routine then waits for the timeout for the count to zero. it's giving "hold on, we're not done yet" energy πβ³
π SEE ALSO π
Kernel file ./drivers/infiniband/sw/rdmavt/mr.c β and the whole squad, iykyk:
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_mr_has_lkey(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 π this one's from ./drivers/infiniband/sw/rdmavt, dated October 2026 β iconic, timeless, periodt ππ¦
π¦ 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