Searched refs:pid_for_clock (Results 1 – 1 of 1) sorted by relevance
57 static struct pid *pid_for_clock(const clockid_t clock, bool gettime) in pid_for_clock() function102 ret = pid_for_clock(clock, false) ? 0 : -EINVAL; in validate_clock_permissions()365 tsk = pid_task(pid_for_clock(clock, true), clock_pid_type(clock)); in posix_cpu_clock_get()392 pid = pid_for_clock(new_timer->it_clock, false); in posix_cpu_timer_create()