rvt_alloc_mr(9)
π rvt_alloc_mr(9) π
okay so bestie, welcome to the Kernel API Manual page for rvt_alloc_mr(9). This one is short and sweet, and yes the NAME line ends on a cliffhanger. We are keeping it exactly as it is. π
πΈ NAME πΈ
rvt_alloc_mr β Allocate a memory region usable with the
(no cap, the original text literally stops at "the"; don't come for me, I'm just the messenger π )
β¨ SYNOPSIS β¨
struct ib_mr * rvt_alloc_mr (struct ib_pd *pd , enum ib_mr_type
, u32 max_num_sg );
π«Ά ARGUMENTS π«Ά
pdβ protection domain for this memory regionmr_typeβ mem region typemax_num_sgβ Max number of segments allowed
π₯ RETURN π₯
the memory region on success, otherwise return an errno.
π¦ SEE ALSO π¦
Kernel file: ./drivers/infiniband/sw/rdmavt/mr.c
The whole function bestie lineup is:
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_ss_has_lkey(9)rvt_dereg_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)
mwah π that's the page! Source/version: ./drivers/infiniband/sw/rdmavt Β· date: October 2026 Β· page: rvt_alloc_mr(9). slay π
π¦ 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