/linux-master/include/vdso/ |
H A D | time32.h | 8 old_time32_t tv_sec; member in struct:old_timespec32 13 old_time32_t tv_sec; member in struct:old_timeval32
|
/linux-master/tools/include/nolibc/ |
H A D | time.h | 24 *tptr = tv.tv_sec; 25 return tv.tv_sec;
|
/linux-master/include/uapi/linux/ |
H A D | time_types.h | 8 __kernel_time64_t tv_sec; /* seconds */ member in struct:__kernel_timespec 26 __kernel_long_t tv_sec; member in struct:__kernel_old_timeval 32 __kernel_old_time_t tv_sec; /* seconds */ member in struct:__kernel_old_timespec 42 __s64 tv_sec; member in struct:__kernel_sock_timeval
|
H A D | time.h | 12 __kernel_old_time_t tv_sec; /* seconds */ member in struct:timespec 18 __kernel_old_time_t tv_sec; /* seconds */ member in struct:timeval
|
/linux-master/tools/testing/selftests/timens/ |
H A D | exec.c | 28 if (sscanf(argv[1], "%ld", &now.tv_sec) != 1) 33 if (abs(tst.tv_sec - now.tv_sec) > 5) 34 return pr_fail("%ld %ld\n", now.tv_sec, tst.tv_sec); 53 if (abs(tst.tv_sec - now.tv_sec) > 5) 55 now.tv_sec, tst.tv_sec); 73 if (abs(tst.tv_sec [all...] |
H A D | vfork_exec.c | 35 if (abs(tst.tv_sec - now->tv_sec) > 5) { 37 args->tst_name, tst.tv_sec, now->tv_sec); 67 if (abs(tst.tv_sec - now->tv_sec) > 5) 69 tst_name, tst.tv_sec, now->tv_sec); 87 now.tv_sec = strtoul(argv[1], &endptr, 0); 119 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec [all...] |
H A D | timens.c | 111 child_ts_new.tv_sec = parent_ts_old.tv_sec + offset; 119 if (difftime(cur_ts.tv_sec, child_ts_new.tv_sec) < precision) { 122 clocks[clock_index].name, entry, parent_ts_old.tv_sec, 123 child_ts_new.tv_sec, cur_ts.tv_sec); 133 if (difftime(cur_ts.tv_sec, parent_ts_old.tv_sec) > DAY_IN_SEC) { 136 clocks[clock_index].name, entry, parent_ts_old.tv_sec, [all...] |
H A D | timer.c | 32 new_value.it_value.tv_sec = 3600; 34 new_value.it_interval.tv_sec = 1; 38 new_value.it_value.tv_sec += now.tv_sec; 58 elapsed = new_value.it_value.tv_sec; 101 mtime_now.tv_sec += 70 * 24 * 3600; 102 btime_now.tv_sec += 9 * 24 * 3600;
|
H A D | timerfd.c | 40 new_value.it_value.tv_sec = 3600; 42 new_value.it_interval.tv_sec = 1; 46 new_value.it_value.tv_sec += now.tv_sec; 63 elapsed = new_value.it_value.tv_sec; 108 mtime_now.tv_sec += 70 * 24 * 3600; 109 btime_now.tv_sec += 9 * 24 * 3600;
|
H A D | futex.c | 32 timeout.tv_sec++; 50 if (end.tv_sec < timeout.tv_sec || 51 (end.tv_sec == timeout.tv_sec && end.tv_nsec < timeout.tv_nsec)) {
|
H A D | clock_nanosleep.c | 64 now.tv_sec = start.tv_sec; 68 now.tv_sec += 3600; 104 if (rem.tv_sec < 3300 || rem.tv_sec > 3900) { 106 clockid, abs, rem.tv_sec);
|
H A D | procfs.c | 89 uptime->tv_sec = up_sec; 139 uptime_expected = uptime_old.tv_sec + TEN_DAYS_IN_SEC; 140 if (fabs(difftime(uptime_new.tv_sec, uptime_expected)) > prec) { 142 uptime_old.tv_sec, uptime_new.tv_sec, 143 uptime_old.tv_sec + TEN_DAYS_IN_SEC);
|
/linux-master/include/linux/ |
H A D | time64.h | 14 time64_t tv_sec; /* seconds */ member in struct:timespec64 49 return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec); 59 if (lhs->tv_sec < rhs->tv_sec) 61 if (lhs->tv_sec > rhs->tv_sec) 72 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, 84 set_normalized_timespec64(&ts_delta, lhs.tv_sec [all...] |
/linux-master/tools/thermal/lib/ |
H A D | uptimeofday.c | 20 __offset = __tv.tv_sec - info.uptime; 29 return ((__tv.tv_sec - __offset) * 1000) + (__tv.tv_usec / 1000); 35 .tv_sec = (msec / 1000),
|
/linux-master/fs/ext4/ |
H A D | inode-test.c | 89 .expected = {.tv_sec = -0x80000000LL, .tv_nsec = 0L}, 97 .expected = {.tv_sec = -1LL, .tv_nsec = 0L}, 113 .expected = {.tv_sec = 0x7fffffffLL, .tv_nsec = 0L}, 121 .expected = {.tv_sec = 0x80000000LL, .tv_nsec = 0L}, 129 .expected = {.tv_sec = 0xffffffffLL, .tv_nsec = 0L}, 137 .expected = {.tv_sec = 0x100000000LL, .tv_nsec = 0L}, 145 .expected = {.tv_sec = 0x17fffffffLL, .tv_nsec = 0L}, 153 .expected = {.tv_sec = 0x180000000LL, .tv_nsec = 0L}, 161 .expected = {.tv_sec = 0x1ffffffffLL, .tv_nsec = 0L}, 169 .expected = {.tv_sec [all...] |
/linux-master/fs/fat/ |
H A D | fat_test.c | 35 .ts = {.tv_sec = 315532800LL, .tv_nsec = 0L}, 43 .ts = {.tv_sec = 4354819198LL, .tv_nsec = 0L}, 51 .ts = {.tv_sec = 315493200LL, .tv_nsec = 0L}, 59 .ts = {.tv_sec = 4354858798LL, .tv_nsec = 0L}, 67 .ts = {.tv_sec = 825552000LL, .tv_nsec = 0L}, 75 .ts = {.tv_sec = 951782400LL, .tv_nsec = 0L}, 83 .ts = {.tv_sec = 4107542400LL, .tv_nsec = 0L}, 91 .ts = {.tv_sec = 1078014600LL, .tv_nsec = 0L}, 99 .ts = {.tv_sec = 1078097400LL, .tv_nsec = 0L}, 107 .ts = {.tv_sec [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | inconsistency-check.c | 83 if ((unsigned long)a.tv_sec < (unsigned long)b.tv_sec) 85 if ((unsigned long)a.tv_sec > (unsigned long)b.tv_sec) 103 now = then = list[0].tv_sec; 129 ksft_print_msg("%lu:%lu\n", list[i].tv_sec, 134 delta = list[inconsistent].tv_sec * NSEC_PER_SEC; 136 delta -= list[inconsistent+1].tv_sec * NSEC_PER_SEC; 145 now = list[0].tv_sec;
|
H A D | leap-a-day.c | 62 if (a.tv_sec < b.tv_sec) 64 if (a.tv_sec > b.tv_sec) 76 ts.tv_sec++; 138 if (tx.time.tv_sec < next_leap) { 142 tx.time.tv_sec, 151 tx.time.tv_sec, 246 next_leap = ts.tv_sec; 252 tv.tv_sec [all...] |
/linux-master/fs/hfs/ |
H A D | sysdep.c | 33 inode_set_ctime(inode, ts.tv_sec + diff, ts.tv_nsec); 35 inode_set_atime(inode, ts.tv_sec + diff, ts.tv_nsec); 37 inode_set_mtime(inode, ts.tv_sec + diff, ts.tv_nsec);
|
/linux-master/arch/um/os-Linux/ |
H A D | time.c | 23 return ((long long) ts->tv_sec * UM_NSEC_PER_SEC) + ts->tv_nsec; 51 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; 54 its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC; 66 .it_value.tv_sec = nsecs / UM_NSEC_PER_SEC, 69 .it_interval.tv_sec = 0, 111 if (its.it_value.tv_sec || its.it_value.tv_nsec)
|
/linux-master/tools/testing/selftests/vDSO/ |
H A D | vdso_test_correctness.c | 41 long long tv_sec; member in struct:__kernel_timespec 219 if (a->tv_sec != b->tv_sec) 220 return a->tv_sec < b->tv_sec; 228 if (a->tv_sec != b->tv_sec) 229 return a->tv_sec < b->tv_sec; 236 if (a->tv_sec ! [all...] |
/linux-master/arch/mips/loongson2ef/common/ |
H A D | time.c | 26 ts->tv_sec = mc146818_get_cmos_time();
|
/linux-master/tools/testing/selftests/tty/ |
H A D | tty_tstamp_update.c | 79 if (st1.st_atim.tv_sec == st2.st_atim.tv_sec && 80 st1.st_mtim.tv_sec == st2.st_mtim.tv_sec) {
|
/linux-master/sound/core/seq/ |
H A D | seq_timer.h | 75 if (a->tv_sec > b->tv_sec) 77 if ((a->tv_sec == b->tv_sec) && (a->tv_nsec >= b->tv_nsec)) 88 tm->tv_sec++; 96 tm->tv_sec += inc->tv_sec;
|
/linux-master/kernel/time/ |
H A D | time.c | 86 if (get_user(tv.tv_sec, tptr)) 124 if (get_user(tv.tv_sec, tptr)) 147 if (put_user(ts.tv_sec, &tv->tv_sec) || 206 if (get_user(new_ts.tv_sec, &tv->tv_sec) || 231 if (put_user(ts.tv_sec, &tv->tv_sec) || 250 if (get_user(new_ts.tv_sec, &tv->tv_sec) || [all...] |