freerbuf(D3) freerbuf(D3)
NAME
freerbuf - free a raw buffer header
SYNOPSIS
#include <sys/buf.h>
#include <sys/ddi.h>
void freerbuf(buf_t *bp);
Arguments
bp Pointer to a previously allocated buffer header
structure.
DESCRIPTION
freerbuf frees a raw buffer header previously allocated by
getrbuf(D3).
Return Values
None
USAGE
freerbuf may not be used on a buffer header obtained through
an interface other than getrbuf.
freerbuf is typically called from a driver's biodone (D3)
routine, as specified in the b_iodone field of the buf(D4)
structure.
Level
Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
biodone(D3), bioreset(D3), biowait(D3), buf(D4), getrbuf(D3)
NOTICES
Portability
All processors
Applicability
ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 1