BUF_RECURSED(9)

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

πŸ’– NAME πŸ’–

Okay bestie, welcome to BUF_RECURSED(9) from the Kernel Developer's Manual β€” this one is short and sweet. It checks if the lock linked to the buffer is recursed. ✨

🌸 SYNOPSIS 🌸

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

int
BUF_RECURSED(struct buf *bp);

πŸŽ€ DESCRIPTION πŸŽ€

The BUF_RECURSED() function checks if the lock linked to the given buffer is recursed. If that condition is true, it returns 1; otherwise it returns 0. No cap, that's literally the whole vibe check. πŸ¦‹

Its argument is:

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

This manual page was written by Attilio Rao <attilio@FreeBSD.org>. Iconic behavior, honestly. πŸ’…


That's the whole page, bestie β€” the footer says Debian, January 22, 2008, and BUF_RECURSED(9). Byeee! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from