User Tools

Site Tools


solaris:freerbuf.9f

freerbuf


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)


solaris/freerbuf.9f.txt · Last modified: 2023/07/19 08:57 by A User Not Logged in