xprt_iter_destroy(9)
β¨ xprt_iter_destroy β¨
okay so bestie, welcome to the xprt_iter_destroy(9) page π
this one lives in the Kernel API Manual and honestly? it's giving short-and-sweet. it's the little cleanup queen of the xprt iterator world and we're gonna learn her in like thirty seconds π
πΈ NAME πΈ
xprt_iter_destroy β destroys the xprt iterator π«Ά
like, it's right there in the name. she destroys. that's the whole job. no cap.
π¦ SYNOPSIS π¦
void xprt_iter_destroy (struct rpc_xprt_iter *xpi );
yes that's the whole signature. void return, so nothing comes back to you β she takes, she doesn't give π keep it exactly like that, character for character, iykyk.
π ARGUMENTS π
xpiβ pointer torpc_xprt_iterβ¨ that's it. that's the one single thing you hand her.
π₯ SEE ALSO π₯
okay this is the girls' group chat and everyone's invited π the kernel file lives at ./net/sunrpc/xprtmultipath.c and the whole squad is:
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_xprt(9)xprt_iter_get_next(9)
literally go read xprt_iter_init(9) next if you wanna know how the iterator got here in the first place β this page is the end of that story π§
and that's the vibe check, bestie π this page came to you from ./net/sunrpc, October 2026, Kernel API Manual β give her a little curtsy on your way out πβ¨πΈ
π¦ 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