xas_advance(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xas_advance ✨

Hey bestie πŸ’– welcome to the xas_advance(9) page β€” that's a kernel API manual situation, and yes we're gonna get through it together. Grab a lil snack πŸ“, this one's actually short and sweet.


🌸 NAME 🌸

xas_advance β€” skip over sibling entries, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

void xas_advance (struct xa_state *xas , unsigned long index );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • xas β€” the XArray operation state. it's giving "the whole vibe of what we're doing rn" πŸ’…
  • index β€” the index of the last sibling entry. literally the last one in the group, periodt.

πŸ’œ DESCRIPTION πŸ’œ

Okay so here's the tea β˜• β€” xas_advance moves the operation state so it refers to the last sibling entry. That's it, that's the whole move.

Why would you even want that? Because loops are main character energy πŸ‘‘. Sometimes a loop normally wants to see all the sibling entries, but sometimes it lowkey wants to skip right past them. This is your function for that vibe check.

one thing tho 🫢 β€” if you're trying to move to an index that is not part of this entry, use xas_set instead. xas_advance is strictly for staying inside the family, iykyk. fr fr.

🌈 SEE ALSO 🌈

Kernel file ./include/linux/xarray.h β€” go look at it, it's iconic ✨


Okay that's the whole page, you ate that πŸ’…βœ¨ Go forth and skip some siblings bestie, you got this. Big slay energy to whoever's reading this from ./include/linux β€” the docs live there, and this page was dated back in October 2026. πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from