xprt_iter_xprt(9)
π¦ xprt_iter_xprt(9) β bestie, weβre in the Kernel API Manual now π¦
Okay so this page is lowkey tiny, but the rcu_read_lock caveat is highkey important. Letβs go π
πΈ NAME πΈ
xprt_iter_xprt β returns the rpc_xprt pointed to by the cursor. Periodt. β¨
β¨ SYNOPSIS β¨
struct rpc_xprt * xprt_iter_xprt (struct rpc_xprt_iter *xpi );
π ARGUMENTS π
xpiβ pointer torpc_xprt_iter. Thatβs the cursor situation, iykyk π«Ά
π DESCRIPTION π
Returns a pointer to the struct rpc_xprt that is currently pointed to by the cursor. Slay. π
β οΈ Bestie, the caller must be holding rcu_read_lock. Not optional, fr fr. π
π SEE ALSO π
The kernel file is ./net/sunrpc/xprtmultipath.c β go peek, bestie. π
rpc_xprt_switch_add_xprt(9)rpc_xprt_switch_remove_xprt(9)rpc_xprt_switch_get_main_xprt(9)xprt_switch_alloc(9)xprt_switch_get(9)xprt_switch_put(9)rpc_xprt_switch_set_roundrobin(9)xprt_iter_init(9)xprt_iter_init_listall(9)xprt_iter_xchg_switch(9)xprt_iter_destroy(9)xprt_iter_get_next(9)
mwah π β this cutie lives in ./net/sunrpc and is dated October 2026. π«Ά
π¦ 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