Motr  M0
storage.h File Reference
#include "lib/types.h"
#include "fid/fid.h"
#include "fid/fid_xc.h"
#include "xcode/xcode_attr.h"
#include "format/format.h"
#include "format/format_xc.h"
Include dependency graph for storage.h:

Go to the source code of this file.

Data Structures

struct  m0_addb2_storage_ops
 
struct  m0_addb2_frame_header
 

Macros

#define __MOTR_ADDB2_STORAGE_H__
 

Enumerations

enum  m0_addb2_frame_header_format_version { M0_ADDB2_FRAME_HEADER_FORMAT_VERSION_1 = 1, M0_ADDB2_FRAME_HEADER_FORMAT_VERSION = M0_ADDB2_FRAME_HEADER_FORMAT_VERSION_1 }
 

Functions

M0_INTERNAL struct m0_addb2_storagem0_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)
 
M0_INTERNAL void * m0_addb2_storage_cookie (const struct m0_addb2_storage *stor)
 
M0_INTERNAL void m0_addb2_storage_stop (struct m0_addb2_storage *stor)
 
M0_INTERNAL void m0_addb2_storage_fini (struct m0_addb2_storage *stor)
 
M0_INTERNAL int m0_addb2_storage_submit (struct m0_addb2_storage *stor, struct m0_addb2_trace_obj *obj)
 
M0_INTERNAL int m0_addb2_storage_header (struct m0_stob *stob, struct m0_addb2_frame_header *h)
 
int m0_addb2_sit_init (struct m0_addb2_sit **out, struct m0_stob *stob, m0_bindex_t start)
 
int m0_addb2_sit_next (struct m0_addb2_sit *it, struct m0_addb2_record **out)
 
void m0_addb2_sit_fini (struct m0_addb2_sit *it)
 
struct m0_addb2_sourcem0_addb2_sit_source (struct m0_addb2_sit *it)
 

Macro Definition Documentation

◆ __MOTR_ADDB2_STORAGE_H__

#define __MOTR_ADDB2_STORAGE_H__

Definition at line 26 of file storage.h.