Lines Matching refs:next_expires
54 ml_batched_timer_expiration_changed(MlBatchedTimer *self, struct timespec *next_expires) in ml_batched_timer_expiration_changed() argument
56 return ((next_expires->tv_sec != self->expires.tv_sec) || in ml_batched_timer_expiration_changed()
57 (next_expires->tv_nsec != self->expires.tv_nsec)); in ml_batched_timer_expiration_changed()
69 ml_batched_timer_update(MlBatchedTimer *self, struct timespec *next_expires) in ml_batched_timer_update() argument
94 if (ml_batched_timer_expiration_changed(self, next_expires)) in ml_batched_timer_update()
99 if (ml_batched_timer_expiration_changed(self, next_expires)) in ml_batched_timer_update()
102 self->expires = *next_expires; in ml_batched_timer_update()
117 struct timespec next_expires; in ml_batched_timer_postpone() local
124 next_expires.tv_nsec = 0; in ml_batched_timer_postpone()
125 next_expires.tv_sec = iv_now.tv_sec + sec; in ml_batched_timer_postpone()
126 ml_batched_timer_update(self, &next_expires); in ml_batched_timer_postpone()
133 struct timespec next_expires; in ml_batched_timer_cancel() local
135 next_expires.tv_sec = 0; in ml_batched_timer_cancel()
136 next_expires.tv_nsec = 0; in ml_batched_timer_cancel()
137 ml_batched_timer_update(self, &next_expires); in ml_batched_timer_cancel()