Lines Matching refs:uap
92 linux_timer_create(struct thread *td, struct linux_timer_create_args *uap)
99 if (uap->evp == NULL) {
102 error = copyin(uap->evp, &l_ev, sizeof(l_ev));
110 error = linux_to_native_clockid(&nwhich, uap->clock_id);
115 error = copyout(&id, uap->timerid, sizeof(int));
123 linux_timer_settime(struct thread *td, struct linux_timer_settime_args *uap)
129 error = copyin(uap->new, &l_val, sizeof(l_val));
133 ovalp = uap->old != NULL ? &oval : NULL;
134 error = kern_ktimer_settime(td, uap->timerid, uap->flags, &val, ovalp);
135 if (error == 0 && uap->old != NULL) {
137 error = copyout(&l_oval, uap->old, sizeof(l_oval));
143 linux_timer_gettime(struct thread *td, struct linux_timer_gettime_args *uap)
149 error = kern_ktimer_gettime(td, uap->timerid, &val);
152 error = copyout(&l_val, uap->setting, sizeof(l_val));
158 linux_timer_getoverrun(struct thread *td, struct linux_timer_getoverrun_args *uap)
161 return (kern_ktimer_getoverrun(td, uap->timerid));
165 linux_timer_delete(struct thread *td, struct linux_timer_delete_args *uap)
168 return (kern_ktimer_delete(td, uap->timerid));