• Home
  • Raw
  • Download

Lines Matching refs:it

115 	return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock));  in cpu_timer_task_rcu()
124 u64 delta, incr, expires = timer->it.cpu.node.expires; in bump_cpu_timer()
144 timer->it.cpu.node.expires += incr; in bump_cpu_timer()
148 return timer->it.cpu.node.expires; in bump_cpu_timer()
411 timerqueue_init(&new_timer->it.cpu.node); in posix_cpu_timer_create()
412 new_timer->it.cpu.pid = get_pid(pid); in posix_cpu_timer_create()
454 struct cpu_timer *ctmr = &timer->it.cpu; in disarm_timer()
474 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_del()
497 if (timer->it.cpu.firing) in posix_cpu_timer_del()
560 struct cpu_timer *ctmr = &timer->it.cpu; in arm_timer()
586 struct cpu_timer *ctmr = &timer->it.cpu; in cpu_timer_fire()
629 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_set()
672 if (unlikely(timer->it.cpu.firing)) { in posix_cpu_timer_set()
673 timer->it.cpu.firing = -1; in posix_cpu_timer_set()
792 struct cpu_timer *ctmr = &timer->it.cpu; in posix_cpu_timer_get()
948 static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, in check_cpu_itimer() argument
951 if (!it->expires) in check_cpu_itimer()
954 if (cur_time >= it->expires) { in check_cpu_itimer()
955 if (it->incr) in check_cpu_itimer()
956 it->expires += it->incr; in check_cpu_itimer()
958 it->expires = 0; in check_cpu_itimer()
966 if (it->expires && it->expires < *expires) in check_cpu_itimer()
967 *expires = it->expires; in check_cpu_itimer()
1007 check_cpu_itimer(tsk, &sig->it[CPUCLOCK_PROF], in check_process_timers()
1010 check_cpu_itimer(tsk, &sig->it[CPUCLOCK_VIRT], in check_process_timers()
1181 struct task_struct *tsk = rcu_dereference(timr->it.cpu.handling); in posix_cpu_timer_wait_running()
1403 list_for_each_entry_safe(timer, next, &firing, it.cpu.elist) { in handle_posix_cpu_timers()
1414 list_del_init(&timer->it.cpu.elist); in handle_posix_cpu_timers()
1415 cpu_firing = timer->it.cpu.firing; in handle_posix_cpu_timers()
1416 timer->it.cpu.firing = 0; in handle_posix_cpu_timers()
1425 rcu_assign_pointer(timer->it.cpu.handling, NULL); in handle_posix_cpu_timers()
1505 struct itimerspec64 it; in do_cpu_nanosleep() local
1524 memset(&it, 0, sizeof(it)); in do_cpu_nanosleep()
1525 it.it_value = *rqtp; in do_cpu_nanosleep()
1528 error = posix_cpu_timer_set(&timer, flags, &it, NULL); in do_cpu_nanosleep()
1535 if (!cpu_timer_getexpires(&timer.it.cpu)) { in do_cpu_nanosleep()
1557 expires = cpu_timer_getexpires(&timer.it.cpu); in do_cpu_nanosleep()
1558 error = posix_cpu_timer_set(&timer, 0, &zero_it, &it); in do_cpu_nanosleep()
1571 if ((it.it_value.tv_sec | it.it_value.tv_nsec) == 0) { in do_cpu_nanosleep()
1585 error = nanosleep_copyout(restart, &it.it_value); in do_cpu_nanosleep()