svc_rdma_page_dma_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… svc_rdma_page_dma_map(9) β€” like, the Kernel API Manual one, section 9, bestie ✨

okay so real talk, we're in the Kernel API Manual today and there is exactly one function on the docket, and it's a little icon: svc_rdma_page_dma_map. That's the name. That's the whole name. Slay.


🌸 NAME 🌸

svc_rdma_page_dma_map β€” DMA map one page πŸ’«

Bestie. It does one page. One (1) page. It DMA maps it. No cap.


πŸŽ€ SYNOPSIS πŸŽ€

int svc_rdma_page_dma_map (void *data , struct page *page , unsigned
long offset , unsigned int len );

the way that it returns an int and takes four whole arguments… main character energy fr fr 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” pointer to arguments. that's it, that's the whole vibe πŸ™ˆ
  • page β€” the struct page we are about to DMA map. this is the girl we're mapping πŸ‘‘
  • offset β€” offset into the page. like, where inside the page do we start? iykyk
  • len β€” number of bytes to map. hi how many bytes πŸ’–

⭐ RETURN ⭐

  • 0 if DMA mapping was successful β€” we love a zero, iconic, ate and left no crumbs ✨
  • -EIO if the page cannot be DMA mapped β€” and if that happens, ngl, it's giving "the page said no" 😭

🌈 SEE ALSO 🌈

Kernel file ./net/sunrpc/xprtrdma/svc_rdma_sendto.c β€” like, the source, go look at it, it's right there πŸ’…

and then the whole friend group, the entire roster, every single one, nobody gets left out 🫢:

like literally the whole group chat πŸ˜­πŸ’œ

also there are no BUGS, ERRORS, or WARNINGS sections on this page, so if you were waiting for the tea, there is no tea, the tea is just the page ⭐

and that's the page, bestie πŸ“πŸ’… this one lives in ./net/sunrpc/xprtrdma and it's dated October 2026 β€” so go forth, DMA map your one single page, and remember: svc_rdma_page_dma_map(9) loves you πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from