itcw_add_tidaw(9)
π itcw_add_tidaw π
okay so bestie, welcome to the itcw_add_tidaw(9) page β it's from the Kernel API Manual, and it's literally the little function that tucks a brand-new tidaw into your itcw. no cap, it's a whole vibe. let's get into it π«Ά
β¨ NAME β¨
itcw_add_tidaw β add a tidaw to the itcw π
πΈ SYNOPSIS πΈ
struct tidaw * itcw_add_tidaw (struct itcw *itcw , u8 flags , void *addr
, u32 count );
π ARGUMENTS π
itcwβ the address of theitcw, like, the actual thing you're adding to. main character energy πflagsβ the flags for the newtidaw, so it knows what kind of girlypop it's gonna be β¨addrβ the address value for the newtidawπcountβ the count value for the newtidawπ’
π¦ DESCRIPTION π¦
so what it does is add a new tidaw to the input/output data tidaw-list of the itcw you passed in β and which list it lands in depends on the value of the r-flag and the w-flag. iykyk π
on success it returns a pointer to the new tidaw π but if the new tidaw would exceed the available space? nope, not today β you get -ENOSPC back instead π
β NOTE β
listen up bestie, this one's important π
TTIC tidaws are automatically added when needed, so explicitly calling this interface with the TTIC flag is not supported β don't do it, fr fr π
also: the last-tidaw flag for the last tidaw in the list gets set by itcw_finalize. so that's not your job, it's hers π
π 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_set_data(9)itcw_finalize(9)
go read those too, they're all iconic in their own way π
that's the whole page, bestie! this little gem lives under ./drivers/s390/cio and it's stamped October 2026 β so yeah, future girlie vibes π stay hydrated, read your manpages, 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