itcw_calc_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– itcw_calc_size(9) πŸ’– Kernel API Manual

🌸 NAME 🌸

itcw_calc_size β€” return the size of an itcw with the given parameters

✨ SYNOPSIS ✨

size_t itcw_calc_size (int intrg , int max_tidaws , int intrg_max_tidaws
);

okay so that's the whole signature bestie, and yes the return type is <pink>size_t</pink> πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • intrg β€” if it's non-zero, add an interrogate tcw. (non-zero means yes, add it ✨)
  • max_tidaws β€” maximum number of tidaws to be used for data addressing, or zero if no tida is to be used. (zero means no tida, noted 🫢)
  • intrg_max_tidaws β€” maximum number of tidaws to be used for data addressing by the interrogate tcw, if specified. (only if that interrogate tcw is actually specified πŸ’–)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so itcw_calc_size calculates and returns the number of bytes required to hold an itcw with the given parameters, and it's assuming tccbs with maximum size. Bytes! We love a size-returning icon. πŸ’…

Heads up bestie: the resulting size also contains bytes needed for alignment padding as well as padding to ensure that data structures don't cross a 4k-boundary where required. That padding is not decorative, it's literally part of the math 😭

πŸ’… SEE ALSO πŸ’…

the whole friend group, go say hi 🫢✨


mwah πŸ’‹ this page comes from <source> ./drivers/s390/cio and is dated <date> October 2026 β€” catch u in the Kernel API Manual, bestie πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from