tcw_add_tidaw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

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