pvrdma_reg_user_mr(9)
π pvrdma_reg_user_mr(9) π
okay so bestie, welcome to the Kernel API Manual β this one's about pvrdma_reg_user_mr, and yes it's a whole vibe. Strap in π
β¨ NAME β¨
pvrdma_reg_user_mr β register a userspace memory region π«Ά
πΈ SYNOPSIS πΈ
struct ib_mr * pvrdma_reg_user_mr (struct ib_pd *pd , u64 start , u64
length , u64 virt_addr , int access_flags , struct ib_dmah *dmah ,
struct ib_udata *udata );
π¦ ARGUMENTS π¦
pdβ the protection domain, fr fr. it's giving "who's allowed to touch this" energy π‘οΈstartβ the starting address β¨lengthβ how long the region is πvirt_addrβ the I/O virtual address π«access_flagsβ the access flags for the memory region πdmahβ dma handle πudataβ user data π
β RETURN β
on success you get an ib_mr pointer back β slay π
. otherwise? it returns an errno, and we simply do not talk about that π
π SEE ALSO π
- Kernel file
./drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.cβ that's the main character right there π pvrdma_get_dma_mr(9)πΈpvrdma_alloc_mr(9)π§pvrdma_dereg_mr(9)π
bestie reminder: this page lives in Kernel API Manual, and the whole thing is coming at you from./drivers/infiniband/hw/vmw_pv...β dated October 2026, and titledpvrdma_reg_user_mr(9)β¨ no cap, that's the whole glow-up π«Άπ
go read the source, iykyk π
π¦ 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