svc_rdma_xb_count_sges(9)
π NAME π
Okay so bestie, meet svc_rdma_xb_count_sges(9) β straight out of the Kernel API Manual and here to do exactly one iconic thing: Count how many SGEs will be needed β¨. That's it. That's the whole job. It's giving βone tiny but essential taskβ and honestly? Obsessed π
.
β¨ SYNOPSIS β¨
int svc_rdma_xb_count_sges (const struct xdr_buf *xdr , void *data );
π ARGUMENTS π
xdrβ anxdr_bufcontaining a portion of an RPC message to transmit. Lowkey the cargo being counted, no cap π¦.dataβ pointer to arguments. Yes bestie, that's the whole description; it's short and it knows it π.
π₯ RETURN π₯
Number of SGEs needed to Send the contents of xdr inline π. That's the return value, periodt. No extra lore, no side quests.
π SEE ALSO π
These are the linked-up faves and the kernel-file source, all here so you can fall down the rabbit hole π³οΈβ¨:
- Kernel file
./net/sunrpc/xprtrdma/svc_rdma_sendto.c 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_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)
xoxo, your kernel bestie π β source/version vibes from ./net/sunrpc/xprtrdma, dated October 2026, and this little icon is svc_rdma_xb_count_sges(9) signing off π«Άβ¨.
π¦ 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