STRUCT TS_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 of get_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:


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