Motr
M0
|
#include <obj.h>
Data Fields | |
struct m0_fid | co_id |
enum m0_conf_status | co_status |
const struct m0_conf_obj_ops * | co_ops |
struct m0_conf_obj * | co_parent |
uint64_t | co_nrefs |
struct m0_chan | co_chan |
enum m0_ha_obj_state | co_ha_state |
struct m0_chan | co_ha_chan |
struct m0_conf_cache * | co_cache |
struct m0_tlink | co_cache_link |
struct m0_tlink | co_dir_link |
uint64_t | co_gen_magic |
uint64_t | co_con_magic |
bool | co_deleted |
const char * | co_name |
Generic configuration object.
The fields of struct m0_conf_obj are common to all configuration objects. m0_conf_obj is embedded into each concrete configuration object.
struct m0_conf_cache* co_cache |
struct m0_tlink co_cache_link |
Linkage to m0_conf_cache::ca_registry.
struct m0_chan co_chan |
uint64_t co_con_magic |
Concrete magic.
Different concrete object types have different values of ->co_con_magic.
This magic value is used for generic-to-concrete casting (see M0_CONF_CAST()).
bool co_deleted |
Whether m0_conf_cache_gc() should garbage-collect this object.
struct m0_tlink co_dir_link |
Linkage to m0_conf_dir::cd_items.
uint64_t co_gen_magic |
struct m0_chan co_ha_chan |
enum m0_ha_obj_state co_ha_state |
const char* co_name |
uint64_t co_nrefs |
Reference counter. The object is "pinned" if this value is non-zero.
const struct m0_conf_obj_ops* co_ops |
struct m0_conf_obj* co_parent |
Pointer to the parent object.
For objects that may have several parents (e.g., m0_conf_node) this points to the object itself.
enum m0_conf_status co_status |