no_seek_end_llseek(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– no_seek_end_llseek(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this one's a little function with a big boundary issue (affectionate). Meet no_seek_end_llseek, the llseek implementation for fixed-sized devices. yeah. she's the one who says "you can look, but you can't sneak past the end." icon behaviour, honestly.


✨ NAME ✨

no_seek_end_llseek β€” the llseek implementation for fixed-sized devices πŸŽ€


🌸 SYNOPSIS 🌸

loff_t no_seek_end_llseek (struct file *file , loff_t offset , int
whence );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • file β€” the file structure you're seeking on, bestie. that's the main character right there πŸ’…
  • offset β€” the file offset you wanna seek to. like, where are we going πŸ‘€
  • whence β€” the type of seek. yeah, it's giving "which direction, queen?" 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./fs/read_write.c, plus the whole friend group: vfs_setpos_cookie(9), vfs_setpos(9), must_set_pos(9), generic_file_llseek_size(9), generic_llseek_cookie(9), generic_file_llseek(9), fixed_size_llseek(9), no_seek_end_llseek_size(9), noop_llseek(9) ✨


and that's the whole page, no cap πŸ’– this little gem lives in ./fs and the version vibes are dated October 2026 β€” go off, king 🌈🫢

πŸ“¦ where this page comes from