BUF_UNLOCK(9)

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

πŸ’… BUF_UNLOCK(9) β€” Kernel Developer's Manual πŸ’…

okay bestie, welcome to BUF_UNLOCK(9), straight from the Kernel Developer’s Manual. it’s a tiny little page and honestly it ate. let’s get into it ✨


🌸 NAME 🌸

BUF_UNLOCK β€” unlocks a locked buffer. that’s the vibe. no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

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

void
BUF_UNLOCK(struct buf *bp);

πŸŽ€ DESCRIPTION πŸŽ€

The BUF_UNLOCK() function unlocks a buffer that was previously locked with BUF_LOCK() or BUF_TIMELOCK(). it’s giving β€œlock it, then unlock it” and honestly that’s the whole plot πŸ’–

its argument is:

  • bp β€” The buffer to unlock. The buffer must already be locked. like, fr fr, it has to be locked already.

🫢 SEE ALSO 🫢

πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Chad David <davidc@acns.ab.ca>. iconic behavior, ty bestie πŸŽ€


that’s the whole page, bestie. source/version: Debian, dated July 9, 2001, and the manual tag is BUF_UNLOCK(9). slay πŸ’…πŸ’–

πŸ“¦ where this page comes from