tcw_get_data(9)
π tcw_get_data(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for tcw_get_data, and it's literally the glow-up guide for grabbing the data pointer out of a tcw. no cap. π«Ά
πΈ NAME πΈ
tcw_get_data β return pointer to input/output data associated with tcw
β¨ SYNOPSIS β¨
void * tcw_get_data (struct tcw *tcw );
π ARGUMENTS π
tcwβ pointer to thetcw. that's the whole vibe. π
π¦ DESCRIPTION π¦
okay so here's the tea: this function returns the input or output data address specified in the tcw, depending on whether the r-bit or the w-bit is set. lowkey simple, highkey iconic. β¨
if neither bit is set? it returns NULL. that's it. no drama, no extra steps, just NULL. π
π SEE ALSO π
Kernel file ./drivers/s390/cio/fcx.c and these iconic besties:
tcw_get_intrg(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)tcw_set_tsb(9)tccb_init(9)tsb_init(9)tccb_add_dcw(9)tcw_add_tidaw(9)
mwah π and that's the whole page, bestie β brought to you by source/version ./drivers/s390/cio, dated October 2026, and the one and only tcw_get_data(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