22 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DTM0 123 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL enum m0_dtm0_ts_ord m0_dtm0_ts_cmp(const struct m0_dtm0_clk_src *cs, const struct m0_dtm0_ts *left, const struct m0_dtm0_ts *right)
M0_INTERNAL void m0_mutex_unlock(struct m0_mutex *mutex)
struct m0_dtm0_ts cs_last
static void cs_phys_now(struct m0_dtm0_clk_src *cs, struct m0_dtm0_ts *now)
M0_INTERNAL void m0_mutex_lock(struct m0_mutex *mutex)
M0_INTERNAL bool m0_dtm0_ts_is_none(const struct m0_dtm0_ts *ts)
M0_INTERNAL void m0_dtm0_clk_src_now(struct m0_dtm0_clk_src *cs, struct m0_dtm0_ts *now)
m0_time_t m0_time_now(void)
int(* cso_cmp)(const struct m0_dtm0_ts *left, const struct m0_dtm0_ts *right)
M0_INTERNAL void m0_mutex_init(struct m0_mutex *mutex)
const struct m0_dtm0_clk_src_ops * cs_ops
struct m0_mutex cs_phys_lock
M0_INTERNAL void m0_dtm0_clk_src_fini(struct m0_dtm0_clk_src *cs)
M0_INTERNAL void m0_mutex_fini(struct m0_mutex *mutex)
void(* cso_now)(struct m0_dtm0_clk_src *cs, struct m0_dtm0_ts *ts)
static const struct m0_dtm0_clk_src_ops cs_phys_ops
M0_INTERNAL bool m0_dtm0_ts__invariant(const struct m0_dtm0_ts *ts)
static enum m0_dtm0_ts_ord cs_phys_cmp(const struct m0_dtm0_ts *left, const struct m0_dtm0_ts *right)
M0_INTERNAL void m0_dtm0_clk_src_init(struct m0_dtm0_clk_src *cs, enum m0_dtm0_cs_types type)