pvrdma_reg_user_mr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ


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 titled pvrdma_reg_user_mr(9) ✨ no cap, that's the whole glow-up πŸ«ΆπŸ’–

go read the source, iykyk πŸŽ€

πŸ“¦ where this page comes from