#include "ut/ut.h"
#include "sns/cm/cp.h"
#include "sns/cm/ag.h"
Go to the source code of this file.
|
void | bv_populate (struct m0_bufvec *b, char data, uint32_t seg_nr, uint32_t seg_size) |
|
void | bv_alloc_populate (struct m0_bufvec *b, char data, uint32_t seg_nr, uint32_t seg_size) |
|
void | bv_compare (struct m0_bufvec *b1, struct m0_bufvec *b2, uint32_t seg_nr, uint32_t seg_size) |
|
void | bv_free (struct m0_bufvec *b) |
|
void | cp_prepare (struct m0_cm_cp *cp, struct m0_net_buffer *buf, uint32_t bv_seg_nr, uint32_t bv_seg_size, struct m0_sns_cm_ag *sns_ag, char data, struct m0_fom_ops *cp_fom_ops, struct m0_reqh *reqh, uint64_t cp_ag_idx, bool is_acc_cp, struct m0_cm *scm) |
|
struct m0_sns_cm * | reqh2snscm (struct m0_reqh *reqh) |
|
void | layout_gen (struct m0_pdclust_layout **pdlay, struct m0_reqh *reqh) |
|
void | layout_destroy (struct m0_pdclust_layout *pdlay) |
|
int | cs_init (struct m0_motr *sctx) |
|
int | cs_init_with_ad_stob (struct m0_motr *sctx) |
|
void | cs_fini (struct m0_motr *sctx) |
|
void | pool_mach_transit (struct m0_reqh *reqh, struct m0_poolmach *pm, uint64_t fd, enum m0_pool_nd_state state) |
|
◆ __MOTR_SNS_CM_UT_CP_COMMON_H__
#define __MOTR_SNS_CM_UT_CP_COMMON_H__ |
◆ bv_alloc_populate()
void bv_alloc_populate |
( |
struct m0_bufvec * |
b, |
|
|
char |
data, |
|
|
uint32_t |
seg_nr, |
|
|
uint32_t |
seg_size |
|
) |
| |
◆ bv_compare()
void bv_compare |
( |
struct m0_bufvec * |
b1, |
|
|
struct m0_bufvec * |
b2, |
|
|
uint32_t |
seg_nr, |
|
|
uint32_t |
seg_size |
|
) |
| |
◆ bv_free()
◆ bv_populate()
void bv_populate |
( |
struct m0_bufvec * |
b, |
|
|
char |
data, |
|
|
uint32_t |
seg_nr, |
|
|
uint32_t |
seg_size |
|
) |
| |
◆ cp_prepare()
void cp_prepare |
( |
struct m0_cm_cp * |
cp, |
|
|
struct m0_net_buffer * |
buf, |
|
|
uint32_t |
bv_seg_nr, |
|
|
uint32_t |
bv_seg_size, |
|
|
struct m0_sns_cm_ag * |
sns_ag, |
|
|
char |
data, |
|
|
struct m0_fom_ops * |
cp_fom_ops, |
|
|
struct m0_reqh * |
reqh, |
|
|
uint64_t |
cp_ag_idx, |
|
|
bool |
is_acc_cp, |
|
|
struct m0_cm * |
scm |
|
) |
| |
◆ cs_fini()
void cs_fini |
( |
struct m0_motr * |
sctx | ) |
|
◆ cs_init()
int cs_init |
( |
struct m0_motr * |
sctx | ) |
|
◆ cs_init_with_ad_stob()
int cs_init_with_ad_stob |
( |
struct m0_motr * |
sctx | ) |
|
◆ layout_destroy()
◆ layout_gen()
◆ pool_mach_transit()
◆ reqh2snscm()
◆ sctx