25 #ifndef __MOTR_FOP_FOM_SIMPLE_H__ 26 #define __MOTR_FOP_FOM_SIMPLE_H__ 165 #define M0_FOM_SIMPLE_POST(s, r, c, t, f, d, l) \ 168 (void)(sizeof((t)(NULL, (d), 0))); \ 169 m0_fom_simple_post((s), (r), (c), \ 170 (int (*)(struct m0_fom *, void *, int *))(t),\ 171 (void (*)(struct m0_fom_simple *))(f), \
static void tick(struct m0_locality_chore *chore, struct m0_locality *loc, void *place)
static size_t locality(const struct m0_fom *fom)
M0_INTERNAL void m0_fom_simples_fini(void)
M0_INTERNAL void m0_fom_simple_post(struct m0_fom_simple *simpleton, struct m0_reqh *reqh, struct m0_sm_conf *conf, int(*tick)(struct m0_fom *, void *, int *), void(*free)(struct m0_fom_simple *sfom), void *data, size_t locality)
int(* si_tick)(struct m0_fom *fom, void *data, int *phase)
void(* si_free)(struct m0_fom_simple *sfom)
M0_INTERNAL void m0_fom_simple_hoard(struct m0_fom_simple *cat, size_t nr, struct m0_reqh *reqh, struct m0_sm_conf *conf, int(*tick)(struct m0_fom *, void *, int *), void(*free)(struct m0_fom_simple *sfom), void *data)
struct m0_fom_type si_type
M0_INTERNAL int m0_fom_simples_init(void)