BUF_RECURSED(9freebsd)

BUF_RECURSED9freebsd

Checks if the lock linked to the buffer is recursed

Usage

#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);

Overview

The BUF_RECURSED() function checks if the lock linked to the given buffer is recursed and returns 1 if the condition is true, 0 otherwise.

Its argument is:

bp

The buffer linked to the lock. See lockmgr_recursed(9) for details.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11–13

Authors

This manual page was written by Attilio Rao ⟨[email protected]⟩.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.