locks_lock_inode_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 locks_lock_inode_wait(9) 🌸

okay so bestie, welcome to the locks_lock_inode_wait(9) page from the Kernel API Manual. it's short, it's sweet, and it's giving kernel-lock main character energy. ✨


πŸ’… NAME πŸ’…

locks_lock_inode_wait β€” apply a lock to an inode. no cap, that's the whole name vibe. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the signature, and yes the spacing is literally doing its thing β€” keep it exact, bestie:

int locks_lock_inode_wait (struct inode *inode , struct file_lock *fl );
this is the whole synopsis, fr fr. copy it literally. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

two arguments, both iconic:

  • inode β€” inode of the file to apply to. literally the inode we're targeting. 🌸
  • fl β€” the lock to be applied. this is the lock in question, iykyk. πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

Apply a POSIX or FLOCK style lock request to an inode. that's it, that's the tea β€” POSIX or FLOCK style, lock request, inode. slay. πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./fs/locks.c is the spot, and the SEE ALSO besties are β€” literally all of them, no skipping:


k bye bestie πŸ«ΆπŸ’‹ β€” this page is from source/version ./fs, dated October 2026, and it's the locks_lock_inode_wait(9) manual page. mwah, go slay. πŸ’–

πŸ“¦ where this page comes from