#include "lib/arith.h"
#include "lib/misc.h"
#include "lib/memory.h"
#include "lib/ub.h"
#include "lib/assert.h"
#include "ut/stob.h"
#include "ut/ut.h"
#include "dtm/dtm.h"
#include "stob/ad.h"
#include "stob/ad_private.h"
#include "stob/domain.h"
#include "stob/io.h"
#include "stob/stob.h"
#include "balloc/balloc.h"
#include "be/ut/helper.h"
#include "lib/errno.h"
Go to the source code of this file.
|
void | m0_stob_ut_ad_init (struct m0_be_ut_backend *ut_be, struct m0_be_ut_seg *ut_seg, bool use_small_credits) |
|
void | m0_stob_ut_ad_fini (struct m0_be_ut_backend *ut_be, struct m0_be_ut_seg *ut_seg) |
|
static struct mock_balloc * | b2mock (struct m0_ad_balloc *ballroom) |
|
static int | mock_balloc_init (struct m0_ad_balloc *ballroom, struct m0_be_seg *seg, uint32_t bshift, m0_bindex_t container_size, m0_bcount_t groupsize, m0_bcount_t spare_reserve) |
|
static void | mock_balloc_fini (struct m0_ad_balloc *ballroom) |
|
static int | mock_balloc_alloc (struct m0_ad_balloc *ballroom, struct m0_dtx *dtx, m0_bcount_t count, struct m0_ext *out, uint64_t alloc_type) |
|
static int | mock_balloc_free (struct m0_ad_balloc *ballroom, struct m0_dtx *dtx, struct m0_ext *ext) |
|
static int | malloc_reserve_extent (struct m0_ad_balloc *ballroom, struct m0_be_tx *tx, struct m0_ext *ext, uint64_t alloc_zone) |
|
static void | init_vecs () |
|
static int | test_ad_init (bool use_small_credits) |
|
static int | test_ad_fini (void) |
|
static void | test_write (int nr, struct m0_dtx *tx) |
|
static void | test_read (int nr) |
|
static void | test_punch (int nr) |
|
static void | test_ad_rw_unordered () |
|
static void | test_ad (void) |
|
static void | punch_test (void) |
|
static void | test_ad_undo (void) |
|
void | m0_stob_ut_adieu_ad (void) |
|
static void | ub_write (int i) |
|
static void | ub_read (int i) |
|
static int | ub_init (const char *opts M0_UNUSED) |
|
static void | ub_fini (void) |
|