ecryptfs_write_end(9)
π NAME π
ecryptfs_write_end β the grand finale of a write operation on an eCryptfs file (bestie, the manpage literally gives us no blurb here, so that's the whole vibe π)
β¨ SYNOPSIS β¨
int ecryptfs_write_end (const struct kiocb *iocb , struct address_space
*mapping , loff_t pos , unsigned len , unsigned copied , struct folio
*folio , void *fsdata );
π ARGUMENTS π
Ok so here's the cast of characters, seven of them, no skipping π«Ά
iocbβ the I/O control block for the eCryptfs file. it's theconst struct kiocb *of the situation, main character energy fr.mappingβ the eCryptfs object,struct address_space *mappingstyle.posβ the file position, aloff_t pos. yes queen, we know where we are.lenβ the length of the data. the manpage is like "unused" about this one π so it's just vibing there.copiedβ the amount of data copied,unsigned copied. slay, that's the actual number we care about.folioβ the eCryptfs folio,struct folio *folio. iconic memory container, no notes.fsdataβ the fsdata,void *fsdata. also marked unused, so it's giving background extra π.
π¦ SEE ALSO π¦
- Kernel file
./fs/ecryptfs/mmap.cβ go read the source, iykyk. ecryptfs_copy_up_encrypted_with_header(9)ecryptfs_read_folio(9)ecryptfs_write_begin(9)β the prequel to this whole saga, obviously π₯
and that's the whole page bestie, we literally ate and left zero crumbs π
β¨ this lil slice of kernel API pain lives in ./fs/ecryptfs, dated October 2026, and the page itself is ecryptfs_write_end(9) β mwah, go forth and end some writes π§π
π¦ 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