svc_rdma_xb_linearize(9)
π svc_rdma_xb_linearize β a whole vibe check
ok so first things first, bestie: this page lives in the Kernel API Manual (section 9, the kernel-functions girlies π§), and it's about one very specific little errand. Let's get into it.
β¨ NAME β¨
svc_rdma_xb_linearize β literally just copies a region of an xdr_buf into a flat buffer. that's the whole job. no cap. π«Ά
πΈ SYNOPSIS πΈ
int svc_rdma_xb_linearize (const struct xdr_buf *xdr , void *data );
look at her. iconic signature. yes the spacing is Like That, don't touch it π
π ARGUMENTS π
xdrβ thexdr_bufthat's holding the portion of an RPC message we're supposed to copy. she's the source of truth, the main character of this function ngl πdataβ a pointer to arguments. that's it, that's the whole description, keep scrolling π
β RETURN β
Always zero. fr fr, always. no drama, no error codes, no surprises β this function does not miss and she does not fail. πβ¨
π¦ SEE ALSO π¦
ok so the kernel file this bad girl lives in is ./net/sunrpc/xprtrdma/svc_rdma_sendto.c β go read it if you're feeling brave, it's giving deep lore π
and here's the whole friend group, every single one, no skipping:
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_page_dma_map(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_pull_up_reply_msg(9)svc_rdma_send_error_msg(9)svc_rdma_sendto(9)svc_rdma_result_payload(9)
ok that's the whole page!! go linearize something, bestie, you've got this ππ
and that's a wrap, babe π this one came straight out of ./net/sunrpc/xprtrdma, dated October 2026, and yeah β the title up top is still svc_rdma_xb_linearize(9), because some things are simply too iconic to change. periodt. ππ
π¦ 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