Motr  M0
fl.c File Reference
#include "be/fl.h"
#include "lib/types.h"
#include "lib/arith.h"
#include "ut/ut.h"
#include "be/alloc_internal.h"
#include "be/ut/helper.h"
Include dependency graph for fl.c:

Go to the source code of this file.

Enumerations

enum  {
  BE_UT_FL_CHUNK_NR = 0x100, BE_UT_FL_ITER = 0x800, BE_UT_FL_SEG_SIZE = 0x20000, BE_UT_FL_OP_PER_TX = 0x10,
  BE_UT_FL_SIZE_MAX = M0_BE_FL_STEP * (M0_BE_FL_NR + 0x10)
}
 

Functions

static uint64_t be_ut_fl_rand (uint64_t max, uint64_t *seed)
 
static m0_bcount_t be_ut_fl_rand_size (uint64_t *seed)
 
void m0_be_ut_fl (void)
 

Variables

static struct m0_be_ut_backend be_ut_fl_backend
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BE_UT_FL_CHUNK_NR 
BE_UT_FL_ITER 
BE_UT_FL_SEG_SIZE 
BE_UT_FL_OP_PER_TX 
BE_UT_FL_SIZE_MAX 

Definition at line 33 of file fl.c.

Function Documentation

◆ be_ut_fl_rand()

static uint64_t be_ut_fl_rand ( uint64_t  max,
uint64_t *  seed 
)
static

Definition at line 43 of file fl.c.

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

◆ be_ut_fl_rand_size()

static m0_bcount_t be_ut_fl_rand_size ( uint64_t *  seed)
static

Definition at line 48 of file fl.c.

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

◆ m0_be_ut_fl()

void m0_be_ut_fl ( void  )

Definition at line 53 of file fl.c.

Here is the call graph for this function:

Variable Documentation

◆ be_ut_fl_backend

struct m0_be_ut_backend be_ut_fl_backend
static

Definition at line 41 of file fl.c.