itcw_set_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ¦‹

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