Home
last modified time | relevance | path

Searched refs:cur_setting (Results 1 – 1 of 1) sorted by relevance

/kernel/
Dposix-timers.c622 common_timer_get(struct k_itimer *timr, struct itimerspec *cur_setting) in common_timer_get() argument
627 memset(cur_setting, 0, sizeof(struct itimerspec)); in common_timer_get()
633 cur_setting->it_interval = ktime_to_timespec(iv); in common_timer_get()
657 cur_setting->it_value.tv_nsec = 1; in common_timer_get()
659 cur_setting->it_value = ktime_to_timespec(remaining); in common_timer_get()
667 struct itimerspec cur_setting; in SYSCALL_DEFINE2() local
674 CLOCK_DISPATCH(timr->it_clock, timer_get, (timr, &cur_setting)); in SYSCALL_DEFINE2()
678 if (copy_to_user(setting, &cur_setting, sizeof (cur_setting))) in SYSCALL_DEFINE2()