ecryptfs_write_end(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the const struct kiocb * of the situation, main character energy fr.
  • mapping β€” the eCryptfs object, struct address_space *mapping style.
  • pos β€” the file position, a loff_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 πŸ¦‹


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