Motr  M0
kaddb2.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
Include dependency graph for kaddb2.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_ADDB
 

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 int m0_addb2_storage_submit (struct m0_addb2_storage *stor, struct m0_addb2_trace_obj *obj)
 
M0_INTERNAL void * m0_addb2_storage_cookie (const struct m0_addb2_storage *stor)
 
M0_INTERNAL void m0_addb2_storage_fini (struct m0_addb2_storage *stor)
 
M0_INTERNAL void m0_addb2_storage_stop (struct m0_addb2_storage *stor)
 
M0_INTERNAL bool m0_addb2_storage__is_not_locked (const struct m0_addb2_storage *stor)