123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- #ifndef _LINUX_TIME32_H
- #define _LINUX_TIME32_H
- #include <linux/time64.h>
- #include <linux/timex.h>
- #include <vdso/time32.h>
- struct old_itimerspec32 {
- struct old_timespec32 it_interval;
- struct old_timespec32 it_value;
- };
- struct old_utimbuf32 {
- old_time32_t actime;
- old_time32_t modtime;
- };
- struct old_timex32 {
- u32 modes;
- s32 offset;
- s32 freq;
- s32 maxerror;
- s32 esterror;
- s32 status;
- s32 constant;
- s32 precision;
- s32 tolerance;
- struct old_timeval32 time;
- s32 tick;
- s32 ppsfreq;
- s32 jitter;
- s32 shift;
- s32 stabil;
- s32 jitcnt;
- s32 calcnt;
- s32 errcnt;
- s32 stbcnt;
- s32 tai;
- s32:32; s32:32; s32:32; s32:32;
- s32:32; s32:32; s32:32; s32:32;
- s32:32; s32:32; s32:32;
- };
- extern int get_old_timespec32(struct timespec64 *, const void __user *);
- extern int put_old_timespec32(const struct timespec64 *, void __user *);
- extern int get_old_itimerspec32(struct itimerspec64 *its,
- const struct old_itimerspec32 __user *uits);
- extern int put_old_itimerspec32(const struct itimerspec64 *its,
- struct old_itimerspec32 __user *uits);
- struct __kernel_timex;
- int get_old_timex32(struct __kernel_timex *, const struct old_timex32 __user *);
- int put_old_timex32(struct old_timex32 __user *, const struct __kernel_timex *);
- extern struct __kernel_old_timeval ns_to_kernel_old_timeval(s64 nsec);
- #endif
|