Searched refs:new_timer (Results 1 – 5 of 5) sorted by relevance
438 static int common_timer_create(struct k_itimer *new_timer) in common_timer_create() argument440 hrtimer_init(&new_timer->it.real.timer, new_timer->it_clock, 0); in common_timer_create()449 struct k_itimer *new_timer; in do_timer_create() local457 new_timer = alloc_posix_timer(); in do_timer_create()458 if (unlikely(!new_timer)) in do_timer_create()461 spin_lock_init(&new_timer->it_lock); in do_timer_create()468 new_timer_id = posix_timer_add(new_timer); in do_timer_create()470 posix_timer_free(new_timer); in do_timer_create()474 new_timer->it_id = (timer_t) new_timer_id; in do_timer_create()475 new_timer->it_clock = which_clock; in do_timer_create()[all …]
386 static int posix_cpu_timer_create(struct k_itimer *new_timer) in posix_cpu_timer_create() argument392 pid = pid_for_clock(new_timer->it_clock, false); in posix_cpu_timer_create()407 lockdep_set_class(&new_timer->it_lock, &posix_cpu_timers_key); in posix_cpu_timer_create()409 new_timer->kclock = &clock_posix_cpu; in posix_cpu_timer_create()410 timerqueue_init(&new_timer->it.cpu.node); in posix_cpu_timer_create()411 new_timer->it.cpu.pid = get_pid(pid); in posix_cpu_timer_create()
733 static int alarm_timer_create(struct k_itimer *new_timer) in alarm_timer_create() argument743 type = clock2alarm(new_timer->it_clock); in alarm_timer_create()744 alarm_init(&new_timer->it.alarm.alarmtimer, type, alarm_handle_timer); in alarm_timer_create()
191 time64_t new_timer, limit, expiry; in key_garbage_collector() local207 new_timer = TIME64_MAX; in key_garbage_collector()240 if (expiry > limit && expiry < new_timer) { in key_garbage_collector()243 new_timer = key->expiry; in key_garbage_collector()282 if (new_timer != TIME64_MAX) { in key_garbage_collector()283 new_timer += key_gc_delay; in key_garbage_collector()284 key_schedule_gc(new_timer); in key_garbage_collector()
277 time64_t new_timer; in xrep_quota_fix_timer() local283 new_timer = xfs_dquot_set_timeout(mp, in xrep_quota_fix_timer()286 t = xfs_dq_unix_to_bigtime(new_timer); in xrep_quota_fix_timer()288 t = new_timer; in xrep_quota_fix_timer()