Motr  M0
bob.c File Reference
#include "xcode/xcode.h"
#include "lib/tlist.h"
#include "lib/assert.h"
#include "lib/bob.h"
Include dependency graph for bob.c:

Go to the source code of this file.

Macros

#define MAGIX(bt, bob)   ((uint64_t *)(bob + bt->bt_magix_offset))
 

Functions

static bool bob_type_invariant (const struct m0_bob_type *bt)
 
M0_INTERNAL void m0_bob_type_tlist_init (struct m0_bob_type *bt, const struct m0_tl_descr *td)
 
M0_INTERNAL void m0_bob_init (const struct m0_bob_type *bt, void *bob)
 
M0_INTERNAL void m0_bob_fini (const struct m0_bob_type *bt, void *bob)
 
M0_INTERNAL bool m0_bob_check (const struct m0_bob_type *bt, const void *bob)