svc_rdma_page_dma_map(9)
π 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β thestruct pagewe 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? iykyklenβ number of bytes to map. hi how many bytes π
β RETURN β
0if DMA mapping was successful β we love a zero, iconic, ate and left no crumbs β¨-EIOif 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 π«Ά:
svc_rdma_send_ctxts_destroy(9)svc_rdma_send_ctxt_get(9)svc_rdma_send_ctxts_drain(9)svc_rdma_send_ctxt_put(9)svc_rdma_wake_send_waiters(9)svc_rdma_sq_wait(9)svc_rdma_post_send_err(9)svc_rdma_wc_send(9)svc_rdma_post_send(9)svc_rdma_encode_read_list(9)svc_rdma_encode_write_segment(9)svc_rdma_encode_write_chunk(9)svc_rdma_encode_write_list(9)svc_rdma_encode_reply_chunk(9)svc_rdma_iov_dma_map(9)svc_rdma_xb_dma_map(9)svc_rdma_xb_count_sges(9)svc_rdma_check_pull_up(9)svc_rdma_xb_linearize(9)svc_rdma_pull_up_reply_msg(9)svc_rdma_send_error_msg(9)svc_rdma_sendto(9)svc_rdma_result_payload(9)
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
- 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