Home | History | Annotate | Download | only in kern

Lines Matching defs:tptr

3949 		syscallarg(const struct timeval *) tptr;
3953 SCARG(uap, tptr), UIO_USERSPACE);
3966 syscallarg(const struct timeval *) tptr;
3974 error = do_sys_utimes(l, fp->f_vnode, NULL, 0, SCARG(uap, tptr),
3986 syscallarg(const struct timespec *) tptr;
3995 SCARG(uap, tptr), UIO_USERSPACE);
4010 syscallarg(const struct timeval *) tptr;
4014 SCARG(uap, tptr), UIO_USERSPACE);
4024 syscallarg(const struct timespec *) tptr;
4028 const struct timespec *tptr;
4031 tptr = SCARG(uap, tptr);
4035 SCARG(uap, path), follow, tptr, UIO_USERSPACE);
4045 const struct timespec *tptr, enum uio_seg seg)
4048 return do_sys_utimensat(l, AT_FDCWD, vp, path, flag, tptr, seg);
4053 const char *path, int flag, const struct timespec *tptr, enum uio_seg seg)
4074 if (tptr == NULL) {
4081 error = copyin(tptr, ts, sizeof (ts));
4085 ts[0] = tptr[0];
4086 ts[1] = tptr[1];
4100 /* note: SEG describes TPTR, not PATH; PATH is always user */
4134 const struct timeval *tptr, enum uio_seg seg)
4140 if (tptr != NULL) {
4144 error = copyin(tptr, tv, sizeof(tv));
4147 tptr = tv;
4150 if ((tptr[0].tv_usec == UTIME_NOW) ||
4151 (tptr[0].tv_usec == UTIME_OMIT))
4152 ts[0].tv_nsec = tptr[0].tv_usec;
4154 if (tptr[0].tv_usec < 0 || tptr[0].tv_usec >= 1000000)
4157 TIMEVAL_TO_TIMESPEC(&tptr[0], &ts[0]);
4160 if ((tptr[1].tv_usec == UTIME_NOW) ||
4161 (tptr[1].tv_usec == UTIME_OMIT))
4162 ts[1].tv_nsec = tptr[1].tv_usec;
4164 if (tptr[1].tv_usec < 0 || tptr[1].tv_usec >= 1000000)
4167 TIMEVAL_TO_TIMESPEC(&tptr[1], &ts[1]);