Motr  M0
obj_ops.c File Reference
#include "lib/trace.h"
#include "conf/obj_ops.h"
#include "conf/cache.h"
#include "conf/onwire.h"
#include "conf/dir.h"
#include "motr/magic.h"
#include "lib/errno.h"
Include dependency graph for obj_ops.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CONF
 

Functions

static bool _generic_obj_invariant (const void *bob)
 
static bool _concrete_obj_invariant (const struct m0_conf_obj *obj)
 
 M0_BOB_DEFINE (static, &generic_obj_bob, m0_conf_obj)
 
M0_INTERNAL bool m0_conf_obj_invariant (const struct m0_conf_obj *obj)
 
M0_INTERNAL struct m0_conf_objm0_conf_obj_create (const struct m0_fid *id, struct m0_conf_cache *cache)
 
static int stub_create (struct m0_conf_cache *cache, const struct m0_fid *id, struct m0_conf_obj **out)
 
M0_INTERNAL int m0_conf_obj_find (struct m0_conf_cache *cache, const struct m0_fid *id, struct m0_conf_obj **out)
 
M0_INTERNAL int m0_conf_obj_find_lock (struct m0_conf_cache *cache, const struct m0_fid *id, struct m0_conf_obj **out)
 
M0_INTERNAL void m0_conf_obj_delete (struct m0_conf_obj *obj)
 
M0_INTERNAL void m0_conf_obj_get (struct m0_conf_obj *obj)
 
M0_INTERNAL void m0_conf_obj_get_lock (struct m0_conf_obj *obj)
 
M0_INTERNAL void m0_conf_obj_put (struct m0_conf_obj *obj)
 
static bool confx_obj_is_valid (const struct m0_confx_obj *flat)
 
M0_INTERNAL int m0_conf_obj_fill (struct m0_conf_obj *dest, const struct m0_confx_obj *src)
 
M0_INTERNAL bool m0_conf_obj_match (const struct m0_conf_obj *cached, const struct m0_confx_obj *flat)
 
const struct m0_fidm0_conf_objx_fid (const struct m0_confx_obj *obj)
 
const struct m0_conf_obj_typem0_conf_objx_type (const struct m0_confx_obj *obj)
 

Variables

static const struct m0_bob_type generic_obj_bob
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CONF

Definition at line 23 of file obj_ops.c.