|
| M0_LOCKERS_DEFINE (M0_INTERNAL, m0_locality, lo_lockers) |
|
| M0_TL_DESCR_DEFINE (chore_l, "chores-local", static, struct chore_local, lo_linkage, lo_magix, M0_CHORE_L_MAGIC, M0_CHORE_L_HEAD_MAGIC) |
|
| M0_TL_DEFINE (chore_l, static, struct chore_local) |
|
| M0_TL_DESCR_DEFINE (chores_g, "chores-global", static, struct m0_locality_chore, lc_linkage, lc_magix, M0_CHORES_G_MAGIC, M0_CHORES_G_HEAD_MAGIC) |
|
| M0_TL_DEFINE (chores_g, static, struct m0_locality_chore) |
|
static struct locality_global * | loc_glob (void) |
|
static int | loc_nr (void) |
|
static void | chore_del (struct m0_locality *loc, struct m0_locality_chore *chore) |
|
static int | chore_add (struct m0_locality *loc, struct m0_locality_chore *chore) |
|
static void | chore_post (struct m0_locality *loc, struct m0_locality_chore *chore, void(*cb)(struct m0_sm_group *, struct m0_sm_ast *)) |
|
static int | chore_add_all (struct m0_locality_chore *chore) |
|
static void | chore_del_all (struct m0_locality_chore *chore) |
|
static void | chore_add_cb (struct m0_sm_group *grp, struct m0_sm_ast *ast) |
|
static void | chore_del_cb (struct m0_sm_group *grp, struct m0_sm_ast *ast) |
|
static int | locality_data_alloc (int key) |
|
static void | locality_data_free (int key) |
|
static void | locality_data_free_all (void) |
|
static int | ldata_alloc (struct m0_locality *loc, int key) |
|
static void | ldata_free (struct m0_locality *loc, int key) |
|
M0_INTERNAL void | m0_locality_init (struct m0_locality *loc, struct m0_sm_group *grp, struct m0_fom_domain *dom, size_t idx) |
|
M0_INTERNAL void | m0_locality_fini (struct m0_locality *loc) |
|
M0_INTERNAL struct m0_locality * | m0_locality_here (void) |
|
M0_INTERNAL struct m0_locality * | m0_locality_get (uint64_t value) |
|
M0_INTERNAL struct m0_locality * | m0_locality0_get (void) |
|
M0_INTERNAL void | m0_locality_dom_set (struct m0_fom_domain *dom) |
|
M0_INTERNAL void | m0_locality_dom_unset (struct m0_fom_domain *dom) |
|
static void | locs_ast_handler (void *__unused) |
|
static int | ast_thread_init (void *__unused) |
|
M0_INTERNAL int | m0_localities_init (void) |
|
M0_INTERNAL void | m0_localities_fini (void) |
|
int | m0_locality_chore_init (struct m0_locality_chore *chore, const struct m0_locality_chore_ops *ops, void *datum, m0_time_t interval, size_t datasize) |
|
void | m0_locality_chore_fini (struct m0_locality_chore *chore) |
|
M0_INTERNAL void | m0_locality_chores_run (struct m0_locality *locality) |
|
int | m0_locality_data_alloc (size_t nob, int(*ctor)(void *, void *), void(*dtor)(void *, void *), void *datum) |
|
void | m0_locality_data_free (int key) |
|
void * | m0_locality_data (int key) |
|
void | m0_locality_data_iterate (int key, void(*func)(int idx, void *data, void *datum), void *datum) |
|
static int | ctor_cb (void *arg) |
|
static int | dtor_cb (void *arg) |
|
int | m0_locality_call (struct m0_locality *loc, int(*cb)(void *), void *data) |
|
M0_INTERNAL struct m0_fom_domain * | m0_fom_dom (void) |
|