Motr  M0
ringbuf.c File Reference
#include "ut/ut.h"
#include "net/test/ringbuf.h"
Include dependency graph for ringbuf.c:

Go to the source code of this file.

Enumerations

enum  { NET_TEST_RB_SIZE = 0x1000, NET_TEST_RB_LOOP_NR = 0x10 }
 

Functions

static void ringbuf_push_pop (struct m0_net_test_ringbuf *rb, size_t nr)
 
void m0_net_test_ringbuf_ut (void)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NET_TEST_RB_SIZE 
NET_TEST_RB_LOOP_NR 

Definition at line 27 of file ringbuf.c.

Function Documentation

◆ m0_net_test_ringbuf_ut()

void m0_net_test_ringbuf_ut ( void  )

Definition at line 53 of file ringbuf.c.

Here is the call graph for this function:

◆ ringbuf_push_pop()

static void ringbuf_push_pop ( struct m0_net_test_ringbuf rb,
size_t  nr 
)
static

Definition at line 32 of file ringbuf.c.

Here is the call graph for this function:
Here is the caller graph for this function: