pvrdma_mmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pvrdma_mmap(9) β€” like, the kernel API manual page, bestie

okay so real talk: this is pvrdma_mmap(9) from the Kernel API Manual and it's short, it's sweet, and it does exactly one thing. Let's get into it ✨


🌸 NAME 🌸

pvrdma_mmap β€” create mmap region πŸ—ΊοΈ (yes that's the whole name section, she's concise and I respect it)


πŸŽ€ SYNOPSIS πŸŽ€

int pvrdma_mmap (struct ib_ucontext *ibcontext , struct vm_area_struct
*vma );

Note the spacing, bestie β€” ibcontext , with a space before the comma. That's verbatim, don't come for me. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ibcontext β€” the user context 🫢 like, the ucontext you're working with
  • vma β€” the VMA ⭐ the virtual memory area in question

🌈 RETURN 🌈

Returns 0 on success πŸŽ‰ otherwise it hands you an errno 😭 (so like, check it, fr fr)


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c πŸ“


ok that's literally the whole page 😭 she's a short queen and she ate πŸ‘‘

cute lil sign-off: this one's from the source path ./drivers/infiniband/hw/vmw_pv... and it's dated October 2026 β€” mwah, bye bestie πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from