![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
#include <freeradius-devel/io/ring_buffer.h>#include <freeradius-devel/util/debug.h>#include <freeradius-devel/util/hash.h>#include <freeradius-devel/util/syserror.h>#include <freeradius-devel/util/talloc.h>#include <string.h>
Include dependency graph for ring_buffer_test.c:Go to the source code of this file.
Macros | |
| #define | ALLOC_SIZE (8) |
| #define | ARRAY_SIZE (4 * ALLOC_SIZE) |
Functions | |
| static void | alloc_blocks (fr_ring_buffer_t *rb, uint32_t *seed, UNUSED int *start, int *end) |
| static void | free_blocks (fr_ring_buffer_t *rb, UNUSED uint32_t *seed, int *start, int *end) |
| int | main (int argc, char *argv[]) |
| static NEVER_RETURNS void | usage (void) |
Variables | |
| static size_t | array [ARRAY_SIZE] |
| static uint8_t * | data [ARRAY_SIZE] |
| static int | debug_lvl = 0 |
| static char const * | seed_string = "foo" |
| static size_t | seed_string_len = 3 |
| static size_t | used = 0 |
| #define ALLOC_SIZE (8) |
Definition at line 36 of file ring_buffer_test.c.
| #define ARRAY_SIZE (4 * ALLOC_SIZE) |
Definition at line 37 of file ring_buffer_test.c.
|
static |
Definition at line 50 of file ring_buffer_test.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 84 of file ring_buffer_test.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
|
static |
|
static |
Definition at line 40 of file ring_buffer_test.c.
|
static |
Definition at line 41 of file ring_buffer_test.c.
|
static |
Definition at line 43 of file ring_buffer_test.c.
|
static |
Definition at line 45 of file ring_buffer_test.c.
|
static |
Definition at line 46 of file ring_buffer_test.c.
|
static |
Definition at line 39 of file ring_buffer_test.c.
1.9.8