xprt_iter_init_listall(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« NAME πŸ’«

xprt_iter_init_listall β€” bestie, this is the one that initialises an xprt iterator ✨

So like, you're in the Kernel API Manual (section 9, iykyk) and this is the glow-up function that gets your iterator ready to go πŸ’…


🌸 SYNOPSIS 🌸

void xprt_iter_init_listall (struct rpc_xprt_iter *xpi , struct
       rpc_xprt_switch *xps );

Yeah it's a void, she returns nothing, she just does the thing and leaves, main character energy fr fr πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • xpi β€” pointer to rpc_xprt_iter. This is the iterator babe, the little wanderer that's gonna walk the list πŸ’–
  • xps β€” pointer to rpc_xprt_switch. This is the switch, aka the thing holding all the entries, and yes she's literally the whole vibe πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

Okay so here's the tea β˜• β€” this function initialises the iterator so it will iterate once through the entire list of entries in xps. One (1) single pass, no cap. She goes through all of them, and then she's done. Periodt πŸ’€βœ¨

ngl "once through the entire list" is the whole personality here β€” it's not a loop-de-loop situation, it's a one-and-done situation 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/sunrpc/xprtmultipath.c β€” that's where the magic lives, go read it bestie πŸ“–

Like, literally the whole friend group, go say hi to all of them πŸŒˆπŸ’œ


πŸŽ€ SIGN-OFF πŸŽ€

This lil page came out of ./net/sunrpc and is dated October 2026 β€” she's from the future, iconic πŸ§šβ€β™€οΈβ­ Slay responsibly, and remember: one pass through the list, then log off πŸ’…πŸ“

πŸ“¦ where this page comes from