43 .sd_name =
"SM finish",
M0_INTERNAL void m0_chan_wait(struct m0_clink *link)
static struct m0_sm_state_descr phases[]
M0_INTERNAL void m0_clink_init(struct m0_clink *link, m0_chan_cb_t cb)
static struct m0_addb2_mach * m
M0_INTERNAL void m0_clink_del_lock(struct m0_clink *link)
static size_t locality(const struct m0_fom *fom)
static void fop_stats_fom_fini(struct m0_fom *fom)
int(* fto_create)(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
static size_t fom_stats_home_locality(const struct m0_fom *fom)
struct m0_fom_type stats_fom_type
const struct m0_fom_type_ops fom_stats_type_ops
void m0_fom_init(struct m0_fom *fom, const struct m0_fom_type *fom_type, const struct m0_fom_ops *ops, struct m0_fop *fop, struct m0_fop *reply, struct m0_reqh *reqh)
static const struct m0_fom_ops fom_stats_ops
#define M0_AMB(obj, ptr, field)
void m0_fom_fini(struct m0_fom *fom)
M0_INTERNAL void m0_chan_init(struct m0_chan *chan, struct m0_mutex *ch_guard)
static struct m0_chan chan
M0_INTERNAL void m0_mutex_init(struct m0_mutex *mutex)
struct m0_reqh_service_type ut_stats_service_type
M0_INTERNAL void m0_chan_signal_lock(struct m0_chan *chan)
void m0_clink_add_lock(struct m0_chan *chan, struct m0_clink *link)
static struct m0_mutex mutex
static struct m0_sm_trans_descr trans[]
#define M0_ALLOC_PTR(ptr)
M0_INTERNAL void m0_mutex_fini(struct m0_mutex *mutex)
M0_INTERNAL void m0_clink_fini(struct m0_clink *link)
M0_INTERNAL void m0_fom_queue(struct m0_fom *fom)
void(* fo_fini)(struct m0_fom *fom)
static struct m0_clink clink
static void test_stats_req_handle(struct m0_reqh *reqh)
void m0_fom_phase_set(struct m0_fom *fom, int phase)
M0_INTERNAL void m0_chan_fini_lock(struct m0_chan *chan)
static int stats_fom_create(struct m0_fom **m, struct m0_reqh *reqh)
static struct m0_sm_conf fom_phases_conf
static int fom_stats_tick(struct m0_fom *fom)
int m0_nanosleep(const m0_time_t req, m0_time_t *rem)