Motr  M0
domain.h File Reference
#include "lib/types.h"
#include "lib/tlist.h"
#include "fid/fid.h"
#include "stob/cache.h"
Include dependency graph for domain.h:

Go to the source code of this file.

Data Structures

struct  m0_stob_domain
 
struct  m0_stob_domain_ops
 

Macros

#define __MOTR_STOB_DOMAIN_H__
 

Functions

M0_INTERNAL int m0_stob_domain_init (const char *location, const char *str_cfg_init, struct m0_stob_domain **out)
 
M0_INTERNAL void m0_stob_domain_fini (struct m0_stob_domain *dom)
 
M0_INTERNAL bool m0_stob_domain__invariant (struct m0_stob_domain *dom)
 
M0_INTERNAL int m0_stob_domain_create (const char *location, const char *str_cfg_init, uint64_t dom_key, const char *str_cfg_create, struct m0_stob_domain **out)
 
M0_INTERNAL int m0_stob_domain_destroy (struct m0_stob_domain *dom)
 
M0_INTERNAL int m0_stob_domain_destroy_location (const char *location)
 
M0_INTERNAL int m0_stob_domain_create_or_init (const char *location, const char *str_cfg_init, uint64_t dom_key, const char *str_cfg_create, struct m0_stob_domain **out)
 
M0_INTERNAL struct m0_stob_domainm0_stob_domain_find (const struct m0_fid *dom_id)
 
M0_INTERNAL struct m0_stob_domainm0_stob_domain_find_by_location (const char *location)
 
M0_INTERNAL struct m0_stob_domainm0_stob_domain_find_by_stob_id (const struct m0_stob_id *stob_id)
 
M0_INTERNAL const struct m0_fidm0_stob_domain_id_get (const struct m0_stob_domain *dom)
 
M0_INTERNAL const char * m0_stob_domain_location_get (const struct m0_stob_domain *dom)
 
M0_INTERNAL bool m0_stob_domain_is_of_type (const struct m0_stob_domain *dom, const struct m0_stob_type *dt)
 
M0_INTERNAL void m0_stob_domain__id_set (struct m0_stob_domain *dom, struct m0_fid *dom_id)
 
M0_INTERNAL void m0_stob_domain__dom_id_make (struct m0_fid *dom_id, uint8_t type_id, uint64_t dom_container, uint64_t dom_key)
 
M0_INTERNAL uint8_t m0_stob_domain__type_id (const struct m0_fid *dom_id)
 
M0_INTERNAL uint64_t m0_stob_domain__dom_key (const struct m0_fid *dom_id)
 
M0_INTERNAL bool m0_stob_domain__dom_key_is_valid (uint64_t dom_key)
 
M0_INTERNAL struct m0_stob_cachem0_stob_domain__cache (struct m0_stob_domain *dom)
 
M0_INTERNAL struct m0_stobm0_stob_domain__stob_alloc (struct m0_stob_domain *dom, const struct m0_fid *stob_fid)
 
M0_INTERNAL void m0_stob_domain__stob_free (struct m0_stob_domain *dom, struct m0_stob *stob)
 

Macro Definition Documentation

◆ __MOTR_STOB_DOMAIN_H__

#define __MOTR_STOB_DOMAIN_H__

Definition at line 26 of file domain.h.