STRUCT TS_FSM_TOKEN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Bestie, welcome to the Kernel API Manual page for struct ts_fsm_token(9) β€” aka the state machine token (state) struct. That's the whole name, and it's iconic.

✨ SYNOPSIS ✨

Here's the struct in all its tiny glory, no cap:

struct ts_fsm_token {
    __u16 type;
    __u8 recur;
    __u8 value;
 };

πŸŽ€ Members πŸŽ€

Okay so the members are literally these three, and we're not skipping a single one:

  • type β€” type of token. It's giving "what kind of token is this" energy.
  • recur β€” number of recurrences. The recurrence count, periodt.
  • value β€” character value for TS_FSM_SPECIFIC. Exactly that, bestie.

πŸ” SEE ALSO πŸ”

  • Kernel file ./include/linux/textsearch_fsm.h

If you need the source of truth, that's the file to peek at.


β€” xoxo, your kernel bestie πŸ’– (source/version: ./include/linux; date: October 2026)

πŸ“¦ where this page comes from