nilfs_ioctl_trim_fs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the nilfs_ioctl_trim_fs(9) page from the Kernel API Manual β€” this is your kernel ioctl bestie speaking ✨

πŸŽ€ NAME πŸŽ€

nilfs_ioctl_trim_fs β€” trim ioctl handle function. That's the whole vibe: it's the handler for the <rainbow>FITRIM</rainbow> ioctl, and it's literally giving kernel main character energy πŸ‘‘

✨ SYNOPSIS ✨

int nilfs_ioctl_trim_fs (struct inode *inode , void __user *argp );

🌸 ARGUMENTS 🌸

  • inode β€” the inode object. literally the inode bestie 🫢
  • argp β€” pointer on argument from userspace. the userspace argument pointer walks in and says hi πŸ’…

πŸ’– DESCRIPTION πŸ’–

nilfs_ioctl_trim_fs is the <rainbow>FITRIM</rainbow> ioctl handle function. No cap. It checks the arguments from userspace and calls nilfs_sufile_trim_fs, which performs the actual trim operation.

so yeah β€” nilfs_ioctl_trim_fs is the one doing the argument check, and nilfs_sufile_trim_fs is the one actually doing the trim operation. periodt 🧚

πŸ”₯ RETURN πŸ”₯

0 on success, or a negative error code on failure. if it's 0, slay; if it's negative, the error code is telling you what went wrong πŸ’€

🌈 SEE ALSO 🌈


mwah πŸ’‹ this page lives in ./fs/nilfs2, is dated October 2026, and is literally the nilfs_ioctl_trim_fs(9) manual β€” byeee bestie 🫢✨

πŸ“¦ where this page comes from