upper_size_to_lower_size(9)
๐ NAME ๐
okay so bestie, welcome to the Kernel API Manual ๐
this page is upper_size_to_lower_size(9), and the name line is literally upper_size_to_lower_size - โ yes, the description after that dash is empty, and honestly? mysterious main character energy ๐ต๏ธโโ๏ธโจ.
๐ SYNOPSIS ๐
loff_t upper_size_to_lower_size (struct ecryptfs_crypt_stat *crypt_stat
, loff_t upper_size );
๐งธ ARGUMENTS ๐งธ
crypt_statโCrypt_statassociated with file ๐ซถupper_sizeโ size of the upper file ๐ธ
๐งฎ DESCRIPTION ๐งฎ
So the whole vibe is: calculate the required size of the lower file based on the specified size of the upper file โจ. This calculation is based on the number of headers in the underlying file and the extent size โ no cap, that's the math ๐ง๐.
Returns Calculated size of the lower file. periodt ๐
๐ SEE ALSO ๐
Kernel file ./fs/ecryptfs/inode.c plus the whole friend group:
ecryptfs_interpose(9)ecryptfs_do_create(9)ecryptfs_lookup(9)__ecryptfs_truncate(9)ecryptfs_truncate(9)ecryptfs_setattr(9)
and that's the tea โ source/version is ./fs/ecryptfs, dated October 2026, title upper_size_to_lower_size(9). bye bestie, go calculate those sizes ๐๐ฆโจ
๐ฆ 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