FreeBSD kernel kern code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/ktr.h>
#include <sys/buf_ring.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$BSDSUniX$") | |
struct buf_ring * | buf_ring_alloc (int count, struct malloc_type *type, int flags, struct mtx *lock) |
void | buf_ring_free (struct buf_ring *br, struct malloc_type *type) |
__FBSDID | ( | "$BSDSUniX$" | ) |
struct buf_ring* buf_ring_alloc | ( | int | count, |
struct malloc_type * | type, | ||
int | flags, | ||
struct mtx * | lock | ||
) |
Definition at line 40 of file subr_bufring.c.
References count, and malloc().
void buf_ring_free | ( | struct buf_ring * | br, |
struct malloc_type * | type | ||
) |
Definition at line 62 of file subr_bufring.c.
References free().