Lines Matching defs:timer
19 * buffer is full or when it is not used for some time (by timer). This is
439 * wbuf_timer_callback - write-buffer timer callback function.
440 * @timer: timer data (write-buffer descriptor)
442 * This function is called when the write-buffer timer expires.
444 static enum hrtimer_restart wbuf_timer_callback_nolock(struct hrtimer *timer)
446 struct ubifs_wbuf *wbuf = container_of(timer, struct ubifs_wbuf, timer);
456 * new_wbuf_timer - start new write-buffer timer.
461 ubifs_assert(!hrtimer_active(&wbuf->timer));
465 dbg_io("set timer for jhead %s, %llu-%llu millisecs",
470 hrtimer_start_range_ns(&wbuf->timer, wbuf->softlimit, wbuf->delta,
476 * cancel_wbuf_timer - cancel write-buffer timer.
485 hrtimer_cancel(&wbuf->timer);
678 * will sit in RAM until the write-buffer is synchronized (e.g., by timer, or
1072 hrtimer_init(&wbuf->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
1073 wbuf->timer.function = wbuf_timer_callback_nolock;