rpc_call_async(9)
β¨ rpc_call_async(9) β¨
okay so bestie, welcome to the rpc_call_async page from the Kernel API Manual π
this is a kernel function and it does one thing and it does it asynchronously, which is basically main-character energy for syscalls β it does NOT wait around for the reply like some needy sync function, it just fires the call and dips π¦
πΈ NAME πΈ
rpc_call_async β Perform an asynchronous RPC call π₯
like, the whole vibe is right there in the name, iykyk
π SYNOPSIS π
int rpc_call_async (struct rpc_clnt *clnt , const struct rpc_message
*msg , int flags , const struct rpc_call_ops *tk_ops , void *data );
it gives back an int, and it takes five things β every single one of them is listed below, no skips, we don't do that here π«Ά
π ARGUMENTS π
clntβ pointer to RPC client π« like, the client struct you're calling through. no client, no call, periodt.msgβ RPC call parameters β¨ the whole description of the call lives in here.flagsβ RPC call flags π little behaviour switches, exactly as advertised.tk_opsβ RPC call ops π§ the ops struct, which is where the callback situation lives (tkis giving "task", and honestly that tracks).dataβ user call data π your own pointer, your own business, it gets handed back to you.
π SEE ALSO π
bestie there are SO many siblings, this page has a whole friend group π
Kernel file ./net/sunrpc/clnt.c β that's where the actual code lives, go say hi π«Ά
rpc_create(9)rpc_clone_client(9)rpc_clone_client_set_auth(9)rpc_switch_client_transport(9)rpc_clnt_iterate_for_each_xprt(9)rpc_cancel_tasks(9)rpc_hold_client(9)rpc_release_client(9)rpc_bind_new_program(9)rpc_run_task(9)rpc_call_sync(9)rpc_run_bc_task(9)rpc_prepare_reply_pages(9)rpc_peeraddr(9)rpc_peeraddr2str(9)rpc_localaddr(9)rpc_net_ns(9)rpc_max_payload(9)rpc_max_bc_payload(9)rpc_force_rebind(9)rpc_clnt_test_and_add_xprt(9)rpc_clnt_setup_test_and_add_xprt(9)rpc_clnt_add_xprt(9)
okay that's the page!! π source is ./net/sunrpc, dated October 2026, and it's rpc_call_async(9) in the Kernel API Manual β go be asynchronous about it, love u, bye π
π
π¦ 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