Home
last modified time | relevance | path

Searched refs:time_t (Results 1 – 25 of 80) sorted by relevance

1234

/linux-6.15/tools/laptop/dslm/
H A Ddslm.c58 static char *myctime(time_t time) in myctime()
68 time_t start_time; in measure()
70 time_t last_time; in measure()
72 time_t curr_time = 0; in measure()
73 time_t time_diff; in measure()
74 time_t active_time = 0; in measure()
75 time_t sleep_time = 0; in measure()
76 time_t unknown_time = 0; in measure()
77 time_t total_time = 0; in measure()
/linux-6.15/arch/parisc/include/uapi/asm/
H A Dsocket.h154 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N…
155 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA…
156 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES…
158 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
159 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
/linux-6.15/arch/sparc/include/uapi/asm/
H A Dsocket.h157 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N…
158 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA…
159 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES…
161 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
162 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
/linux-6.15/arch/mips/include/uapi/asm/
H A Dsocket.h174 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N…
175 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA…
176 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES…
178 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
179 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
/linux-6.15/include/uapi/asm-generic/
H A Dsocket.h159 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N…
160 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA…
161 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES…
163 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
164 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
/linux-6.15/arch/alpha/include/uapi/asm/
H A Dsocket.h163 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N…
164 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA…
165 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES…
167 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
168 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
/linux-6.15/tools/include/uapi/asm-generic/
H A Dsocket.h159 #define SO_TIMESTAMP (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMP_OLD : SO_TIMESTAMP_N…
160 #define SO_TIMESTAMPNS (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPNS_OLD : SO_TIMESTA…
161 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES…
163 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
164 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)
/linux-6.15/tools/testing/vsock/
H A Dvsock_perf.c45 static time_t current_nsec(void) in current_nsec()
130 static float get_gbps(unsigned long bits, time_t ns_delta) in get_gbps()
139 time_t rx_begin_ns; in run_receiver()
140 time_t in_read_ns; in run_receiver()
220 time_t t; in run_receiver()
266 time_t tx_begin_ns; in run_sender()
267 time_t tx_total_ns; in run_sender()
269 time_t time_in_send; in run_sender()
313 time_t before; in run_sender()
/linux-6.15/tools/include/nolibc/
H A Dtime.h16 time_t time(time_t *tptr) in time()
H A Dtypes.h196 union { time_t st_atime; struct timespec st_atim; }; /* time of last access */
197 union { time_t st_mtime; struct timespec st_mtim; }; /* time of last modification */
198 union { time_t st_ctime; struct timespec st_ctim; }; /* time of last status change */
H A Dstd.h34 typedef signed long time_t; typedef
/linux-6.15/tools/testing/selftests/timens/
H A Dtimens.c33 time_t offset;
88 static int test_gettime(clockid_t clock_index, bool raw_syscall, time_t offset) in test_gettime()
151 time_t offset; in main()
/linux-6.15/tools/testing/selftests/rtc/
H A Drtctest.c64 static time_t rtc_time_to_timestamp(struct rtc_time *rtc_time) in rtc_time_to_timestamp()
118 time_t start_rtc_read, prev_rtc_read;
133 time_t rtc_read;
227 time_t secs, new; in TEST_F()
297 time_t secs, new; in TEST_F()
361 time_t secs, new;
429 time_t secs, new;
/linux-6.15/tools/testing/selftests/timers/
H A Dset-2038.c52 now.tv_sec = (time_t)time; in settime()
77 time_t start; in main()
H A Dfreq-step.c37 static time_t mono_raw_base;
38 static time_t mono_base;
/linux-6.15/Documentation/translations/zh_CN/security/
H A Ddigsig.rst38 time_t timestamp; /* 密钥时间戳,目前为0 */
46 time_t timestamp; /* 签名时间戳 */
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_test.c499 time_t prog_start = time(NULL); in test_pidfd_poll_exec()
521 time_t prog_time = time(NULL) - prog_start; in test_pidfd_poll_exec()
542 static time_t *child_exit_secs;
600 time_t since_child_exit = time(NULL) - *child_exit_secs; in test_pidfd_poll_leader_exit()
/linux-6.15/tools/testing/selftests/vDSO/
H A Dvdso_test_abi.c32 typedef time_t (*vdso_time_t)(time_t *t);
/linux-6.15/tools/testing/selftests/x86/
H A Dtest_vsyscall.c59 typedef long (*time_func_t)(time_t *t);
100 static inline long sys_time(time_t *t) in sys_time()
477 time_t tmp; in test_emulation()
/linux-6.15/include/uapi/linux/
H A Dvm_sockets.h91 …(sizeof(time_t) == sizeof(__kernel_long_t) ? SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD : SO_VM_SOCKETS_CON…
H A Dlp.h99 #define LPSETTIMEOUT (sizeof(time_t) > sizeof(__kernel_long_t) ? \
/linux-6.15/Documentation/security/
H A Ddigsig.rst31 time_t timestamp; /* key made, always 0 for now */
39 time_t timestamp; /* signature made */
/linux-6.15/tools/power/x86/intel-speed-select/
H A Disst-daemon.c24 static time_t per_package_levels_tm[MAX_PACKAGE_COUNT][MAX_DIE_PER_PACKAGE][MAX_PUNIT_PER_DIE];
40 time_t tm; in process_level_change()
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Drecalc_apic_map_test.c41 time_t t; in main()
/linux-6.15/tools/testing/selftests/alsa/
H A Dglobal-timer.c27 time_t end; in bind_to_timer()

1234