man pages section 9: DDI and DKI Kernel Functions

Exit Print View

Updated: July 2014
 
 

freerbuf(9F)

Name

freerbuf - free a raw buffer header

Synopsis

#include <sys/buf.h>
#include <sys/ddi.h>

void freerbuf(struct buf *bp);

Interface Level

Architecture independent level 1 (DDI/DKI).

Parameters

bp

Pointer to a previously allocated buffer header structure.

Description

The freerbuf() function frees a raw buffer header previously allocated by getrbuf(9F). This function does not sleep and so may be called from an interrupt routine.

Context

The freerbuf() function can be called from user, interrupt, or kernel context.

See Also

getrbuf(9F), kmem_alloc(9F), kmem_free(9F), kmem_zalloc(9F)