BUF_LOCKFREE(9)
π 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
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms