itcw_add_dcw(9)
π NAME π
itcw_add_dcw β add a dcw to the itcw. This is the itcw_add_dcw(9) page from the Kernel API Manual, and yes bestie, the whole assignment is βadd a dcw to the itcw.β Iconic. Slay. πβ¨
π«Ά SYNOPSIS π«Ά
struct dcw * itcw_add_dcw (struct itcw *itcw , u8 cmd , u8 flags , void
*cd , u8 cd_count , u32 count );
π ARGUMENTS π
itcwβ address of theitcwπcmdβ thedcwcommand βflagsβ flags for thedcwπ©cdβ address of control data for thisdcw, orNULLif none is required πcd_countβ number of control data bytes for thisdcwπ’countβ number of data bytes for thisdcwπ
πΈ DESCRIPTION πΈ
okay so this function adds a new dcw to the specified itcw by writing the dcw information specified by cmd, flags, cd, cd_count and count to the tca of the tccb. Thatβs the whole main-character move, fr fr. π¦
On success you get a pointer to the newly added dcw; if the new dcw would exceed the available space, you get -ENOSPC. Thatβs the space vibe check, and it does not pass ππ
π NOTE π
heads up bestie: the tcal field of the tccb header will be updated to reflect added content. not me being obsessed with header bookkeeping π
β¨
π₯ SEE ALSO π₯
Kernel file ./drivers/s390/cio/itcw.c β plus itcw_get_tcw(9), itcw_calc_size(9), itcw_init(9), itcw_add_tidaw(9), itcw_set_data(9), and itcw_finalize(9). Go read those, iykyk ππ
later, bestie β signed with love from source/version ./drivers/s390/cio, dated October 2026, and this page is itcw_add_dcw(9). stay hydrated and may your tca always have room πβ¨
π¦ 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