Go to the source code of this file.
|
static bool | dir_check (const void *bob) |
|
| M0_CONF__BOB_DEFINE (m0_conf_dir, M0_CONF_DIR_MAGIC, dir_check) |
|
| M0_CONF__INVARIANT_DEFINE (dir_invariant, m0_conf_dir) |
|
static int | dir_decode (struct m0_conf_obj *dest M0_UNUSED, const struct m0_confx_obj *src M0_UNUSED) |
|
static int | dir_encode (struct m0_confx_obj *dest M0_UNUSED, const struct m0_conf_obj *src M0_UNUSED) |
|
static bool | dir_match (const struct m0_conf_obj *cached M0_UNUSED, const struct m0_confx_obj *flat M0_UNUSED) |
|
static bool | belongs (const struct m0_conf_obj *entry, const struct m0_conf_dir *dir) |
|
static bool | readdir_pre (const struct m0_conf_dir *dir, const struct m0_conf_obj *entry) |
|
static bool | readdir_post (int retval, const struct m0_conf_dir *dir, const struct m0_conf_obj *entry) |
|
static int | dir_readdir (const struct m0_conf_obj *dir, struct m0_conf_obj **pptr) |
|
static int | dir_lookup (const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out) |
|
static void | dir_delete (struct m0_conf_obj *obj) |
|
static struct m0_conf_obj * | dir_create (void) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CONF |
Definition at line 23 of file dir.c.
◆ belongs()
Definition at line 64 of file dir.c.
◆ dir_check()
static bool dir_check |
( |
const void * |
bob | ) |
|
|
static |
Definition at line 28 of file dir.c.
◆ dir_create()
◆ dir_decode()
Definition at line 42 of file dir.c.
◆ dir_delete()
◆ dir_encode()
Definition at line 49 of file dir.c.
◆ dir_lookup()
◆ dir_match()
Definition at line 56 of file dir.c.
◆ dir_readdir()
◆ M0_CONF__BOB_DEFINE()
◆ M0_CONF__INVARIANT_DEFINE()
M0_CONF__INVARIANT_DEFINE |
( |
dir_invariant |
, |
|
|
m0_conf_dir |
|
|
) |
| |
◆ readdir_post()
◆ readdir_pre()
◆ dir_ops
Initial value:= {
.coo_invariant = dir_invariant,
}
static int dir_decode(struct m0_conf_obj *dest M0_UNUSED, const struct m0_confx_obj *src M0_UNUSED)
static void dir_delete(struct m0_conf_obj *obj)
static int dir_lookup(const struct m0_conf_obj *parent, const struct m0_fid *name, struct m0_conf_obj **out)
static int dir_readdir(const struct m0_conf_obj *dir, struct m0_conf_obj **pptr)
static bool dir_match(const struct m0_conf_obj *cached M0_UNUSED, const struct m0_confx_obj *flat M0_UNUSED)
static int dir_encode(struct m0_confx_obj *dest M0_UNUSED, const struct m0_conf_obj *src M0_UNUSED)
Definition at line 177 of file dir.c.
◆ M0_CONF_DIR_TYPE
Initial value:= {
.cot_ftype = {
.ft_id = M0_CONF__DIR_FT_ID,
.ft_name = "conf_dir"
},
}
static struct m0_conf_obj * dir_create(void)
Definition at line 206 of file dir.c.