nilfs_ioctl_do_get_bdescs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual page for nilfs_ioctl_do_get_bdescs(9) β€” the one and only ✨

πŸ’– NAME πŸ’–

nilfs_ioctl_do_get_bdescs β€” the callback method getting disk block descriptors. no cap, that’s the whole vibe πŸ’…

✨ SYNOPSIS ✨

ssize_t nilfs_ioctl_do_get_bdescs (struct the_nilfs *nilfs , __u64 *posp
, int flags , void *buf , size_t size , size_t nmembs );

🌸 ARGUMENTS 🌸

  • nilfs β€” the nilfs object, iconic.
  • posp β€” not used. literally not used, bestie πŸ™ˆ
  • flags β€” not used. also not used 🫢
  • buf β€” buffer for storing array of nilfs_bdesc structures.
  • size β€” size in bytes of one bdesc item in array.
  • nmembs β€” count of bdescs in array.

πŸ¦‹ DESCRIPTION πŸ¦‹

The nilfs_ioctl_do_get_bdescs function returns information about descriptors of disk block numbers. highkey useful for the block-descriptor lore πŸ”₯

The NILFS_IOCTL_GET_BDESCS ioctl is used by nilfs_cleanerd daemon. that’s the main character detail, iykyk πŸ‘‘

πŸ”₯ RETURN πŸ”₯

Count of nilfs_bdescs structures in output buffer on success, or a negative error code on failure. slay when it works, sad little negative when it doesn’t 😭

🌈 SEE ALSO 🌈

mwah πŸ’‹ β€” source/version ./fs/nilfs2, dated October 2026, and yes this is nilfs_ioctl_do_get_bdescs(9). bye bestie 🫢

πŸ“¦ where this page comes from