STRUCT TS_FSM_TOKEN(9)
πΈ 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 forTS_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
- 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