Motr  M0
format.c File Reference
#include "lib/trace.h"
#include "lib/assert.h"
#include "lib/types.h"
#include "lib/errno.h"
#include "lib/hash_fnc.h"
#include "lib/misc.h"
#include "motr/magic.h"
#include "motr/iem.h"
#include "format/format.h"
Include dependency graph for format.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_LIB
 

Functions

M0_INTERNAL void m0_format_header_pack (struct m0_format_header *dest, const struct m0_format_tag *src)
 
M0_INTERNAL void m0_format_header_unpack (struct m0_format_tag *dest, const struct m0_format_header *src)
 
M0_INTERNAL void m0_format_footer_generate (struct m0_format_footer *footer, const void *buffer, uint32_t size)
 
static int get_footer_from_buf (const void *buffer, const struct m0_format_footer **footer, uint32_t *footer_offset)
 
M0_INTERNAL void m0_format_footer_update (const void *buffer)
 
static void format_iem_post (const char *msg, bool iem)
 
M0_INTERNAL int m0_format_footer_verify_generic (const struct m0_format_footer *footer, const void *buffer, uint32_t size, bool iem)
 
M0_INTERNAL int m0_format_footer_verify (const void *buffer, bool iem)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_LIB

Definition at line 22 of file format.c.