upper_size_to_lower_size(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– 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_stat associated 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:


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