Searched refs:ts (Results 176 - 200 of 795) sorted by last modified time

1234567891011>>

/linux-master/kernel/time/
H A Dhrtimer.c2023 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) argument
2028 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp))
2033 if (put_timespec64(ts, restart->nanosleep.rmtp))
/linux-master/kernel/rcu/
H A Drcutorture.c273 u64 ts = trace_clock_local(); local
275 (void)do_div(ts, NSEC_PER_USEC);
276 return ts;
417 unsigned long long ts; local
426 ts = rcu_trace_clock_local();
432 do_trace_rcu_torture_read(cur_ops->name, NULL, ts,
1973 unsigned long long ts; local
1985 ts = rcu_trace_clock_local();
2006 ts, started, completed);
/linux-master/io_uring/
H A During_cmd.c56 static void io_uring_cmd_work(struct io_kiocb *req, struct io_tw_state *ts) argument
59 unsigned issue_flags = ts->locked ? 0 : IO_URING_F_UNLOCKED;
104 struct io_tw_state ts = { local
107 io_req_task_complete(req, &ts);
H A Dnapi.c267 * @ts: pointer to timespec or NULL
272 struct timespec64 *ts)
276 if (ts) {
279 if (timespec64_compare(ts, &poll_to_ts) > 0) {
280 *ts = timespec64_sub(*ts, poll_to_ts);
282 u64 to = timespec64_to_ns(ts);
285 ts->tv_sec = 0;
286 ts->tv_nsec = 0;
271 __io_napi_adjust_timeout(struct io_ring_ctx *ctx, struct io_wait_queue *iowq, struct timespec64 *ts) argument
H A Dnapi.h21 struct io_wait_queue *iowq, struct timespec64 *ts);
32 struct timespec64 *ts)
36 __io_napi_adjust_timeout(ctx, iowq, ts);
91 struct timespec64 *ts)
30 io_napi_adjust_timeout(struct io_ring_ctx *ctx, struct io_wait_queue *iowq, struct timespec64 *ts) argument
89 io_napi_adjust_timeout(struct io_ring_ctx *ctx, struct io_wait_queue *iowq, struct timespec64 *ts) argument
H A Dio_uring.h83 void io_req_task_complete(struct io_kiocb *req, struct io_tw_state *ts);
85 void io_req_task_submit(struct io_kiocb *req, struct io_tw_state *ts);
96 int io_poll_issue(struct io_kiocb *req, struct io_tw_state *ts);
346 static inline void io_tw_lock(struct io_ring_ctx *ctx, struct io_tw_state *ts) argument
348 if (!ts->locked) {
350 ts->locked = true;
H A Dcancel.c310 struct timespec64 ts = { variable in typeref:struct:timespec64
315 timeout = ktime_add_ns(timespec64_to_ktime(ts), ktime_get_ns());
/linux-master/include/uapi/linux/
H A Dptp_clock.h155 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1]; member in struct:ptp_sys_offset
165 struct ptp_clock_time ts[PTP_MAX_SAMPLES][3]; member in struct:ptp_sys_offset_extended
H A Dio_uring.h742 __u64 ts; member in struct:io_uring_getevents_arg
/linux-master/include/net/
H A Dinet_sock.h45 unsigned char ts; member in struct:ip_options
H A Ddsa.h934 struct ethtool_ts_info *ts);
/linux-master/include/linux/
H A Dptp_clock_kernel.h95 * parameter ts: Holds the result.
99 * parameter ts: Holds the PHC timestamp.
111 * parameter ts: Time value to set.
118 * parameter ts: Holds the result.
125 * parameter ts: Holds the PHC timestamp.
180 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
181 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
185 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
186 int (*getcycles64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
187 int (*getcyclesx64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
[all...]
H A Dptp_kvm.h18 int kvm_arch_ptp_get_clock(struct timespec64 *ts);
H A Dnvme.h1449 __u8 ts[24]; member in struct:nvmf_common_command
/linux-master/fs/
H A Dselect.c276 struct timespec64 ts = {.tv_sec = sec, .tv_nsec = nsec}; local
278 if (!timespec64_valid(&ts))
286 *to = timespec64_add_safe(*to, ts);
737 struct timespec64 ts, end_time, *to = NULL; local
743 if (get_timespec64(&ts, tsp))
747 if (get_old_timespec32(&ts, tsp))
755 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec))
1106 struct timespec64 ts, end_time, *to = NULL; local
1110 if (get_timespec64(&ts, ts
1132 struct timespec64 ts, end_time, *to = NULL; local
1319 struct timespec64 ts, end_time, *to = NULL; local
1404 struct timespec64 ts, end_time, *to = NULL; local
1430 struct timespec64 ts, end_time, *to = NULL; local
[all...]
H A Deventpoll.c2484 struct timespec64 ts, *to = NULL; local
2487 if (get_timespec64(&ts, timeout))
2489 to = &ts;
2490 if (poll_select_set_timeout(to, ts.tv_sec, ts.tv_nsec))
2541 struct timespec64 ts, *to = NULL; local
2544 if (get_timespec64(&ts, timeout))
2546 to = &ts;
2547 if (poll_select_set_timeout(to, ts.tv_sec, ts
[all...]
/linux-master/fs/fat/
H A Dinode.c895 struct timespec64 ts = inode_get_atime(inode); local
898 fat_time_unix2fat(sbi, &ts, &atime, &raw_entry->adate, NULL);
1620 struct timespec64 ts; local
1714 fat_time_fat2unix(sbi, &ts, 0, cpu_to_le16(FAT_DATE_MIN), 0);
1715 sb->s_time_min = ts.tv_sec;
1717 fat_time_fat2unix(sbi, &ts, cpu_to_le16(FAT_TIME_MAX),
1719 sb->s_time_max = ts.tv_sec;
/linux-master/fs/btrfs/
H A Dsend.c707 struct btrfs_timespec *ts)
710 read_extent_buffer(eb, &bts, (unsigned long)ts, sizeof(bts));
752 #define TLV_PUT_BTRFS_TIMESPEC(sctx, attrtype, eb, ts) \
754 ret = tlv_put_btrfs_timespec(sctx, attrtype, eb, ts); \
705 tlv_put_btrfs_timespec(struct send_ctx *sctx, u16 attr, struct extent_buffer *eb, struct btrfs_timespec *ts) argument
H A Dfile.c1115 struct timespec64 now, ts; local
1121 ts = inode_get_mtime(inode);
1122 if (!timespec64_equal(&ts, &now))
1125 ts = inode_get_ctime(inode);
1126 if (!timespec64_equal(&ts, &now))
/linux-master/drivers/ptp/
H A Dptp_vclock.c73 struct timespec64 *ts)
82 *ts = ns_to_timespec64(ns);
88 struct timespec64 *ts,
106 *ts = ns_to_timespec64(ns);
112 const struct timespec64 *ts)
115 u64 ns = timespec64_to_ns(ts);
150 struct timespec64 ts; local
152 ptp_vclock_gettime(&vclock->info, &ts);
171 struct timespec64 ts = {}; local
173 ptp->info->getcycles64(ptp->info, &ts);
72 ptp_vclock_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument
87 ptp_vclock_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
111 ptp_vclock_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
[all...]
H A Dptp_ocp.c1202 __ptp_ocp_gettime_locked(struct ptp_ocp *bp, struct timespec64 *ts, argument
1229 ts->tv_sec = time_sec;
1230 ts->tv_nsec = time_ns;
1236 ptp_ocp_gettimex(struct ptp_clock_info *ptp_info, struct timespec64 *ts, argument
1244 err = __ptp_ocp_gettime_locked(bp, ts, sts);
1251 __ptp_ocp_settime_locked(struct ptp_ocp *bp, const struct timespec64 *ts) argument
1256 time_ns = ts->tv_nsec;
1257 time_sec = ts->tv_sec;
1273 ptp_ocp_settime(struct ptp_clock_info *ptp_info, const struct timespec64 *ts) argument
1279 __ptp_ocp_settime_locked(bp, ts);
1306 struct timespec64 ts; local
1577 struct timespec64 ts; local
2035 struct timespec64 ts; local
2100 struct timespec64 ts; local
3175 struct timespec64 ts; local
3272 struct timespec64 ts; local
3949 struct timespec64 ts; local
4386 struct timespec64 ts; local
[all...]
H A Dptp_kvm_common.c80 const struct timespec64 *ts)
85 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument
100 memcpy(ts, &tspec, sizeof(struct timespec64));
79 ptp_kvm_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
H A Dptp_kvm_x86.c77 int kvm_arch_ptp_get_clock(struct timespec64 *ts) argument
89 ts->tv_sec = clock_pair->sec;
90 ts->tv_nsec = clock_pair->nsec;
H A Dptp_clock.c132 struct timespec64 ts; local
136 ts.tv_sec = tx->time.tv_sec;
137 ts.tv_nsec = tx->time.tv_usec;
140 ts.tv_nsec *= 1000;
142 if ((unsigned long) ts.tv_nsec >= NSEC_PER_SEC)
145 kt = timespec64_to_ktime(ts);
211 static int ptp_getcycles64(struct ptp_clock_info *info, struct timespec64 *ts) argument
214 return info->getcyclesx64(info, ts, NULL);
216 return info->gettime64(info, ts);
H A Dptp_fc3.c360 static int _idtfc3_gettime(struct idtfc3 *idtfc3, struct timespec64 *ts) argument
368 *ts = ns_to_timespec64(idtfc3->ns);
373 static int idtfc3_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) argument
379 err = _idtfc3_gettime(idtfc3, ts);
385 static int _idtfc3_settime(struct idtfc3 *idtfc3, const struct timespec64 *ts) argument
391 if (timespec64_valid(ts) == false) {
401 now_ns = timespec64_to_ns(ts);
408 static int idtfc3_settime(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument
414 err = _idtfc3_settime(idtfc3, ts);

Completed in 310 milliseconds

1234567891011>>