STRUCT TS_STATE(9)
π NAME π
Welcome to struct ts_state(9) in the Kernel API Manual, bestie! This page is all about the search state β and yes, it is literally called that. We love a straightforward icon. π
β¨
β¨ SYNOPSIS β¨
struct ts_state {
unsigned int offset;
char cb[48];
};
π Members π
offsetβ offset for the next match. Itβs giving βwhere are we headed next?β energy, lowkey. π―cbβ the control buffer, here for the persistent variables ofget_next_block. Think of it as the structβs lil stash for stuff that has to stick around, iykyk. πΎπ«Ά
π SEE ALSO π
Kernel file: ./include/linux/textsearch.h β go peek, bestie, itβs right there:
struct ts_ops(9)struct ts_config(9)textsearch_next(9)textsearch_find(9)textsearch_get_pattern(9)textsearch_get_pattern_len(9)
Sending you off with the source/version vibe: this came from ./include/linux, dated October 2026 β struct ts_state(9), and she ate. π
π₯β¨
π¦ 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