BUF_LOCKFREE(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸŽ€ BUF_LOCKFREE(9) πŸŽ€

okay so bestie, welcome to the Kernel Developer's Manual β€” today's main character is BUF_LOCKFREE, and she destroys a buffer's lock. no cap, it's giving final-boss lock cleanup. πŸ’…

✨ NAME ✨

BUF_LOCKFREE β€” destroys a buffer's lock. literally the whole vibe. 🫢

🌸 SYNOPSIS 🌸

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/uio.h>
#include <sys/bio.h>
#include <sys/buf.h>

void
BUF_LOCKFREE(struct buf *bp);

πŸ’– DESCRIPTION πŸ’–

The BUF_LOCKFREE() macro destroys the buffer lock. that's it, that's the job β€” slay. ✨

⚠️ serious warning: the lock must not be held when this macro is called, or a panic will result. do not play with this one. πŸ’€

Its argument is:

  • bp β€” the buffer whose lock is to be destroyed. she's the one getting the lock cleanup treatment. πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Chad David <davidc@acns.ab.ca>. iconic. πŸ’œ


xoxo, this page came from Debian on July 9, 2001, and it's filed under BUF_LOCKFREE(9) β€” periodt. πŸ¦‹

πŸ“¦ where this page comes from