#include "lib/memory.h"
#include "ut/ut.h"
#include "lib/finject.h"
#include "lib/time.h"
#include "fid/fid.h"
#include "net/lnet/lnet.h"
#include "rpc/rpc.h"
#include "reqh/reqh.h"
#include "rm/rm.h"
#include "rm/rm_fops.h"
#include "rm/ut/rmut.h"
#include "rm/ut/rings.h"
#include "rm/rm_foms.c"
#include "ut/cs_fop.h"
Go to the source code of this file.
|
void | m0_remotes_tlist_add (struct m0_tl *tl, struct m0_rm_remote *rem) |
|
void | m0_remotes_tlist_del (struct m0_rm_remote *rem) |
|
static void | rmfoms_utinit (void) |
|
static void | rmfoms_utfini (void) |
|
static struct m0_fop * | fop_alloc (enum m0_rm_incoming_type fomtype) |
|
static void | fop_dealloc (struct m0_fop *fop) |
|
static void | fom_create (enum m0_rm_incoming_type fomtype, bool err_test, struct m0_fop *fop, struct m0_fom **fom) |
|
static void | fom_fini (struct m0_fom *fom, enum m0_rm_incoming_type fomtype) |
|
static void | fom_fini_test (enum m0_rm_incoming_type fomtype) |
|
static void | fom_create_test (enum m0_rm_incoming_type fomtype, bool err_test) |
|
static void | brw_fop_populate (struct m0_fom *fom, enum test_type test) |
|
static void | brw_test_cleanup (void) |
|
static void | brw_fom_state_validate (struct m0_fom *fom, int32_t rc, enum test_type test) |
|
static void | brw_fom_state_test (enum test_type test) |
|
static void | brw_fom_create_test (void) |
|
static void | brw_fom_fini_test (void) |
|
static void | rvk_data_setup (enum test_type test) |
|
static void | rvk_fop_populate (struct m0_fom *fom) |
|
static void | rvk_test_cleanup (void) |
|
static void | rvk_fom_state_validate (struct m0_fom *fom, int32_t rc, enum test_type test) |
|
static void | rvk_fom_state_test (enum test_type test) |
|
static void | rvk_fom_create_test (void) |
|
static void | rvk_fom_fini_test (void) |
|
static void | borrow_fom_funcs_test (void) |
|
static void | revoke_fom_funcs_test (void) |
|
void | rm_fom_funcs_test (void) |
|
◆ test_type
Enumerator |
---|
RM_UT_FULL_CREDITS_TEST | |
RM_UT_PARTIAL_CREDITS_TEST | |
RM_UT_INVALID_CREDITS_TEST | |
RM_UT_MEMFAIL_TEST | |
Definition at line 38 of file rm_foms.c.
◆ borrow_fom_funcs_test()
static void borrow_fom_funcs_test |
( |
void |
| ) |
|
|
static |
◆ brw_fom_create_test()
static void brw_fom_create_test |
( |
void |
| ) |
|
|
static |
◆ brw_fom_fini_test()
static void brw_fom_fini_test |
( |
void |
| ) |
|
|
static |
◆ brw_fom_state_test()
static void brw_fom_state_test |
( |
enum test_type |
test | ) |
|
|
static |
◆ brw_fom_state_validate()
static void brw_fom_state_validate |
( |
struct m0_fom * |
fom, |
|
|
int32_t |
rc, |
|
|
enum test_type |
test |
|
) |
| |
|
static |
◆ brw_fop_populate()
◆ brw_test_cleanup()
static void brw_test_cleanup |
( |
void |
| ) |
|
|
static |
◆ fom_create()
◆ fom_create_test()
◆ fom_fini()
◆ fom_fini_test()
◆ fop_alloc()
◆ fop_dealloc()
static void fop_dealloc |
( |
struct m0_fop * |
fop | ) |
|
|
static |
◆ m0_remotes_tlist_add()
◆ m0_remotes_tlist_del()
◆ revoke_fom_funcs_test()
static void revoke_fom_funcs_test |
( |
void |
| ) |
|
|
static |
◆ rm_fom_funcs_test()
void rm_fom_funcs_test |
( |
void |
| ) |
|
◆ rmfoms_utfini()
static void rmfoms_utfini |
( |
void |
| ) |
|
|
static |
◆ rmfoms_utinit()
static void rmfoms_utinit |
( |
void |
| ) |
|
|
static |
◆ rvk_data_setup()
static void rvk_data_setup |
( |
enum test_type |
test | ) |
|
|
static |
◆ rvk_fom_create_test()
static void rvk_fom_create_test |
( |
void |
| ) |
|
|
static |
◆ rvk_fom_fini_test()
static void rvk_fom_fini_test |
( |
void |
| ) |
|
|
static |
◆ rvk_fom_state_test()
static void rvk_fom_state_test |
( |
enum test_type |
test | ) |
|
|
static |
◆ rvk_fom_state_validate()
static void rvk_fom_state_validate |
( |
struct m0_fom * |
fom, |
|
|
int32_t |
rc, |
|
|
enum test_type |
test |
|
) |
| |
|
static |
◆ rvk_fop_populate()
static void rvk_fop_populate |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ rvk_test_cleanup()
static void rvk_test_cleanup |
( |
void |
| ) |
|
|
static |
◆ dummy_loc
◆ dummy_svc
◆ m0_remotes_tl
◆ machine
◆ reqh
◆ reqh_svc
◆ test_loan