nilfs_bmap_seek_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

nilfs_bmap_seek_key(9) πŸ’…

okay so we’re in the Kernel API Manual, and this page is giving β€œtiny but important little seeker function” energy ✨. It’s all about nilfs_bmap_seek_key β€” seek a valid entry and return its key. No cap.


🌸 NAME 🌸

nilfs_bmap_seek_key β€” seek a valid entry and return its key πŸ‘‘

✨ SYNOPSIS ✨

int nilfs_bmap_seek_key (struct nilfs_bmap *bmap , __u64 start , __u64 *keyp );

πŸŽ€ ARGUMENTS πŸŽ€

  • bmap β€” bmap struct 🫢 literally the bmap struct in question.
  • start β€” start key number πŸ”’ the place where the search begins.
  • keyp β€” place to store valid key 🎁 if a valid key is found, it gets tucked in here.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so nilfs_bmap_seek_key seeks a valid key on bmap starting from start, and stores it to keyp if found. That’s the whole main character plot πŸ’«. It’s not doing extra side quests β€” it’s seeking and storing, periodt.

πŸ”₯ RETURN πŸ”₯

0 on success, or one of the following negative error codes on failure 😭:

  • -EIO β€” I/O error (including metadata corruption). πŸ’€ the scary one, fr fr.
  • -ENOENT β€” No valid entry was found. πŸ™ˆ
  • -ENOMEM β€” Insufficient memory available. πŸ˜΅β€πŸ’«

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./fs/nilfs2/bmap.c β€” plus the whole function friend group, in order:


xoxo bestie πŸ’– β€” signing off from ./fs/nilfs2, October 2026. Catch u in nilfs_bmap_seek_key(9) land! 🫢

πŸ“¦ where this page comes from