tcw_finalize(9)
π tcw_finalize(9) π
okay so like, welcome to the Kernel API Manual, bestie π
this little page is all about tcw_finalize, and honestly? she's the finisher. the closer. the one who ties the bow π at the end of your tcw setup. let's get into it.
β¨ NAME β¨
tcw_finalize β finalize tcw length fields and tidaw list π¦
β¨ SYNOPSIS β¨
void tcw_finalize (struct tcw *tcw , int num_tidaws );
β¨ ARGUMENTS β¨
tcwβ pointer to the tcw π like, that's the main character right there, give her a pointernum_tidawsβ the number of tidaws used to address input/output data, or zero if no tida is used π (yes, zero, she's allowed to be nothing, no judgment)
β¨ DESCRIPTION β¨
so here's the vibe check π she calculates the input-/output-count and the tccbl field in the tcw, adds a tcat to the tccb, and terminates the data tidaw list if used. that's it, that's the whole glow-up β¨
β¨ NOTE β¨
π«Ά real talk, important stuff: in case input- or output-tida is used, the tidaw-list must be stored in contiguous storage (no ttic). also the tcal field in the tccb must be up-to-date. no cap, don't skip this one π
β¨ SEE ALSO β¨
go check these out, they're literally iconic π
- Kernel file
./drivers/s390/cio/fcx.c tcw_get_intrg(9)tcw_get_data(9)tcw_get_tccb(9)tcw_get_tsb(9)tcw_init(9)tcw_set_intrg(9)tcw_set_data(9)tcw_set_tccb(9)tcw_set_tsb(9)tccb_init(9)tsb_init(9)tccb_add_dcw(9)tcw_add_tidaw(9)
k byeeee π this page came to you from ./drivers/s390/cio, dated October 2026, and yes she's still tcw_finalize(9) β periodt. πΈ
π¦ 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