25 #ifndef __MOTR_STOB_TYPE_H__ 26 #define __MOTR_STOB_TYPE_H__ 94 const char *location_data,
109 const char *location_data,
114 const char *location_data);
M0_INTERNAL struct m0_stob_type * m0_stob_type_by_dom_id(const struct m0_fid *id)
void(* sto_register)(struct m0_stob_type *type)
M0_INTERNAL void m0_stob_type_register(struct m0_stob_type *type)
M0_INTERNAL uint8_t m0_stob_type_id_get(const struct m0_stob_type *type)
M0_INTERNAL struct m0_stob_domain * m0_stob_type__dom_find(struct m0_stob_type *type, const struct m0_fid *dom_id)
M0_INTERNAL void m0_stob_type__dom_del(struct m0_stob_type *type, struct m0_stob_domain *dom)
int(* sto_domain_init)(struct m0_stob_type *type, const char *location_data, void *cfg_init, struct m0_stob_domain **out)
M0_INTERNAL void m0_stob_type__dom_add(struct m0_stob_type *type, struct m0_stob_domain *dom)
M0_INTERNAL struct m0_stob_domain * m0_stob_type__dom_find_by_location(struct m0_stob_type *type, const char *location)
static struct m0_stob_domain * dom
struct m0_mutex st_domains_lock
int(* sto_domain_cfg_init_parse)(const char *str_cfg_init, void **cfg_init)
M0_INTERNAL uint8_t m0_stob_type_id_by_name(const char *name)
M0_INTERNAL void m0_stob_types_fini(void)
int(* sto_domain_cfg_create_parse)(const char *str_cfg_create, void **cfg_create)
M0_INTERNAL const char * m0_stob_type_name_get(struct m0_stob_type *type)
M0_INTERNAL int m0_stob_types_init(void)
M0_INTERNAL struct m0_stob_type * m0_stob_type_by_name(const char *name)
void(* sto_deregister)(struct m0_stob_type *type)
void(* sto_domain_cfg_create_free)(void *cfg_create)
void(* sto_domain_cfg_init_free)(void *cfg_init)
int(* sto_domain_destroy)(struct m0_stob_type *type, const char *location_data)
struct m0_tlink st_type_linkage
const struct m0_stob_type_ops * st_ops
M0_INTERNAL void m0_stob_type_deregister(struct m0_stob_type *type)
struct m0_fid_type st_fidt
int(* sto_domain_create)(struct m0_stob_type *type, const char *location_data, uint64_t dom_key, void *cfg_create)