FreeBSD kernel kern code
subr_bufring.c File Reference
#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>
Include dependency graph for subr_bufring.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
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)
 

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ buf_ring_alloc()

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, flags, malloc(), and type.

Here is the call graph for this function:

◆ buf_ring_free()

void buf_ring_free ( struct buf_ring *  br,
struct malloc_type *  type 
)

Definition at line 62 of file subr_bufring.c.

References free(), and type.

Here is the call graph for this function: