25 #ifndef __MOTR_ADDB2_STORAGE_H__ 26 #define __MOTR_ADDB2_STORAGE_H__ 52 #include "fid/fid_xc.h" 55 #include "format/format_xc.h"
static struct m0_addb2_storage * stor
void(* sto_idle)(struct m0_addb2_storage *stor)
M0_INTERNAL void * m0_addb2_storage_cookie(const struct m0_addb2_storage *stor)
static struct m0_be_emap_cursor it
M0_INTERNAL void m0_addb2_storage_stop(struct m0_addb2_storage *stor)
M0_INTERNAL void m0_addb2_storage_fini(struct m0_addb2_storage *stor)
struct m0_addb2_source * m0_addb2_sit_source(struct m0_addb2_sit *it)
static struct m0_stob * stob
m0_addb2_frame_header_format_version
int m0_addb2_sit_init(struct m0_addb2_sit **out, struct m0_stob *stob, m0_bindex_t start)
void(* sto_commit)(struct m0_addb2_storage *stor, const struct m0_addb2_frame_header *anchor)
void(* sto_done)(struct m0_addb2_storage *stor, struct m0_addb2_trace_obj *obj)
M0_INTERNAL struct m0_addb2_storage * m0_addb2_storage_init(const char *location, uint64_t key, bool mkfs, bool force, const struct m0_addb2_storage_ops *ops, m0_bcount_t size, void *cookie)
int m0_addb2_sit_next(struct m0_addb2_sit *it, struct m0_addb2_record **out)
M0_INTERNAL int m0_addb2_storage_submit(struct m0_addb2_storage *stor, struct m0_addb2_trace_obj *obj)
static int start(struct m0_fom *fom)
M0_INTERNAL int m0_addb2_storage_header(struct m0_stob *stob, struct m0_addb2_frame_header *h)
void m0_addb2_sit_fini(struct m0_addb2_sit *it)