itcw_set_data(9)
π
itcw_set_data β the itcw manual, kernel API edition β¨
okay so bestie, welcome to the itcw_set_data(9) page from the Kernel API Manual β this is the one that sets the data address and the tida flag of the itcw, and honestly? it's giving "small function, big responsibilities" π
β¨ NAME β¨
itcw_set_data β set data address and tida flag of the itcw π¦
πΈ SYNOPSIS πΈ
void itcw_set_data (struct itcw *itcw , void *addr , int use_tidal );
like, that's the whole vibe check right there β void return, three args, no drama π
π«Ά ARGUMENTS π«Ά
itcwβ the address of the itcw. yes queen, you gotta tell her which itcw you're talking to πaddrβ the data address. literally the address of your data, that's it, that's the girl πuse_tidalβ okay so when this is zero, the data address specifies a contiguous block of data; when it's non-zero, the data address specifies a list if tidaws π₯ (that's the tida-list life, iykyk)
π DESCRIPTION π
So what does she actually do? itcw_set_data sets the input/output data address of the itcw β and which one it counts as (input vs output) depends on the value of the r-flag and the w-flag, no cap π
And here's the extra bit: if use_tidal is non-zero, the corresponding tida flag gets set as well. so it's a two-for-one situation, we love efficiency β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/s390/cio/itcw.c itcw_get_tcw(9)itcw_calc_size(9)itcw_init(9)itcw_add_dcw(9)itcw_add_tidaw(9)itcw_finalize(9)
go read the whole friend group, they're all icons π
ngl this one's short and sweet β but do not sleep on the r-flag / w-flag situation, that's the part that decides whether your address is reading or writing π«Ά
mwah π this page came straight out of ./drivers/s390/cio, and the version stamp says October 2026 β so yeah, she's from the future, and she's iconic for it βπ§ββοΈπ
π¦ 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