itcw_calc_size(9)
π 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 π
- Kernel file
./drivers/s390/cio/itcw.c itcw_get_tcw(9)itcw_init(9)itcw_add_dcw(9)itcw_add_tidaw(9)itcw_set_data(9)itcw_finalize(9)
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
- 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