Lines Matching refs:now
547 unsigned now; in rotate() local
572 now = monotonic_sec(); in rotate()
573 if (ld->rotate_period && LESS(ld->next_rotate, now)) { in rotate()
574 ld->next_rotate = now + ld->rotate_period; in rotate()
708 unsigned now; in logdir_open() local
713 now = monotonic_sec(); in logdir_open()
799 ld->next_rotate = now + ld->rotate_period; in logdir_open()
905 unsigned now; in buffer_pread() local
927 now = monotonic_sec(); in buffer_pread()
928 nearest_rotate = now + (45 * 60 + 45); in buffer_pread()
931 if (LESS(dir[i].next_rotate, now)) in buffer_pread()
939 i = nearest_rotate - now; in buffer_pread()