tcw_set_tsb(9)
π tcw_set_tsb(9) β like, the Kernel API Manual, bestie β¨
okay so real talk, this is a page from the Kernel API Manual and it's short but it slaps. We're setting a tsb address inside a tcw. Two structs, one function, zero drama. Let's get into it π«Ά
β¨ NAME β¨
tcw_set_tsb β set tsb address of a tcw
No cap, that's the whole vibe. You've got a tcw, you've got a tsb, and this function makes the first one remember where the second one lives π
πΈ SYNOPSIS πΈ
void tcw_set_tsb (struct tcw *tcw , struct tsb *tsb );
Look at that signature, it's giving "I return nothing because I am the moment" β void return, two pointers, immaculate energy π
π ARGUMENTS π
tcwβ the tcw address π« like, the actual tcw you're messing with, hand over its address pleasetsbβ the tsb address π the tsb that's about to get lodged into that tcw forever (or until you change it, iykyk)
π¦ DESCRIPTION π¦
Set the address of the tsb in the specified tcw. That's it. That's the whole bit.
Honestly? Iconic minimalism. It takes the tsb address and parks it right there inside the tcw you pointed at. Nothing returned, nothing thrown, nobody's mad. A little "you go here now" moment for two structs π§
β SEE ALSO β
So you wanna go down the rabbit hole? Say less, here's the whole friend group:
Kernel file ./drivers/s390/cio/fcx.c β the source file, main character behavior btw:
tcw_get_intrg(9)tcw_get_data(9)tcw_get_tccb(9)tcw_get_tsb(9)tcw_init(9)tcw_finalize(9)tcw_set_intrg(9)tcw_set_data(9)tcw_set_tccb(9)tccb_init(9)tsb_init(9)tccb_add_dcw(9)tcw_add_tidaw(9)
notice how tcw_get_tsb(9) is literally right there as the getter to this setter... the symmetry... the narrative arc... we love to see it ππ
fr fr though β if you came here looking for complexity, this is not that page. It does one thing, does it well, and leaves. Respect the craft π«‘
okay bye bestie π this gem lives in ./drivers/s390/cio, from the October 2026 era of the Kernel API Manual, and it's better than it needed to be. slay, stay safe, and remember the tsb address ππ₯
π¦ 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