tcw_add_tidaw(9)
π tcw_add_tidaw(9) β from the Kernel API Manual, bestie
okay so like, welcome to tcw_add_tidaw(9), a kernel API manual page, and no cap it's actually a vibe. Let's get into it π«Ά
β¨ NAME β¨
tcw_add_tidaw β add a tidaw to a tcw π
(yes that's the whole name section. short. iconic. periodt.)
π SYNOPSIS π
struct tidaw * tcw_add_tidaw (struct tcw *tcw , int num_tidaws , u8
flags , void *addr , u32 count );
literally just look at it. it returns a struct tidaw *, bestie πΈ
π ARGUMENTS π
tcwβ the tcw address. the main character, fr.num_tidawsβ the current number of tidaws. like, how many we already got.flagsβ flags for the new tidaw π©addrβ address value for the new tidaw.countβ count value for the new tidaw.
π¦ DESCRIPTION π¦
So what does it do? It adds a new tidaw to the input/output data tidaw-list of the specified tcw β and which list depends on the value of the r-flag and w-flag, iykyk β and then it returns a pointer to the new tidaw. slay. β¨
π NOTE π
okay listen up because this part matters:
the tidaw-list is assumed to be contiguous with no ttics. π¨
The caller must ensure that there is enough space for the new tidaw β that's on you, bestie, not on the function. Also, the last-tidaw flag for the last tidaw in the list will be set by tcw_finalize. so don't go setting it yourself, that's not your moment π
π SEE ALSO π
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_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)
go read them all, they ate π₯
and that's the page! π this whole thing lives in ./drivers/s390/cio and it's dated October 2026 β mark your calendars bestie, mwah π
π¦ 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