Lines Matching defs:timer
19 * buffer is full or when it is not used for some time (by timer). This is
470 * wbuf_timer_callback - write-buffer timer callback function.
471 * @timer: timer data (write-buffer descriptor)
473 * This function is called when the write-buffer timer expires.
475 static enum hrtimer_restart wbuf_timer_callback_nolock(struct hrtimer *timer)
477 struct ubifs_wbuf *wbuf = container_of(timer, struct ubifs_wbuf, timer);
487 * new_wbuf_timer - start new write-buffer timer.
499 ubifs_assert(c, !hrtimer_active(&wbuf->timer));
504 dbg_io("set timer for jhead %s, %llu-%llu millisecs",
508 hrtimer_start_range_ns(&wbuf->timer, softlimit, delta,
513 * cancel_wbuf_timer - cancel write-buffer timer.
521 hrtimer_cancel(&wbuf->timer);
712 * will sit in RAM until the write-buffer is synchronized (e.g., by timer, or
1161 hrtimer_init(&wbuf->timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
1162 wbuf->timer.function = wbuf_timer_callback_nolock;