Searched refs:tsp (Results 1 – 3 of 3) sorted by relevance
75 int timeutil_sync_state_update(struct timeutil_sync_state *tsp, in timeutil_sync_state_update() argument80 if (((tsp->base.ref == 0) && (inst->ref > 0)) in timeutil_sync_state_update()81 || ((inst->ref > tsp->base.ref) in timeutil_sync_state_update()82 && (inst->local > tsp->base.local))) { in timeutil_sync_state_update()83 if (tsp->base.ref == 0) { in timeutil_sync_state_update()84 tsp->base = *inst; in timeutil_sync_state_update()85 tsp->latest = (struct timeutil_sync_instant){}; in timeutil_sync_state_update()86 tsp->skew = 1.0f; in timeutil_sync_state_update()89 tsp->latest = *inst; in timeutil_sync_state_update()97 int timeutil_sync_state_set_skew(struct timeutil_sync_state *tsp, float skew, in timeutil_sync_state_set_skew() argument[all …]
190 int timeutil_sync_state_update(struct timeutil_sync_state *tsp,217 int timeutil_sync_state_set_skew(struct timeutil_sync_state *tsp, float skew,233 float timeutil_sync_estimate_skew(const struct timeutil_sync_state *tsp);257 int timeutil_sync_ref_from_local(const struct timeutil_sync_state *tsp,281 int timeutil_sync_local_from_ref(const struct timeutil_sync_state *tsp,
117 static void reset_transit_state(struct transit_state *tsp) in reset_transit_state() argument119 tsp->async = false; in reset_transit_state()120 tsp->retval = 0; in reset_transit_state()121 tsp->notify = NULL; in reset_transit_state()122 tsp->srv = NULL; in reset_transit_state()127 struct transit_state *tsp) in run_transit() argument129 if (tsp->async) { in run_transit()130 TC_PRINT("%s async\n", tsp->tag); in run_transit()131 tsp->notify = notify; in run_transit()132 tsp->srv = srv; in run_transit()[all …]