/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.h | 20 int qede_ptp_get_ts_info(struct qede_dev *edev, struct ethtool_ts_info *ts);
|
/linux-master/tools/bpf/runqslower/ |
H A D | runqslower.c | 94 char ts[32]; local 99 strftime(ts, sizeof(ts), "%H:%M:%S", tm); 100 printf("%-8s %-16s %-6d %14llu\n", ts, e->task, e->pid, e->delta_us);
|
/linux-master/io_uring/ |
H A D | timeout.h | 6 struct timespec64 ts; member in struct:io_timeout_data
|
H A D | rw.h | 27 void io_req_rw_complete(struct io_kiocb *req, struct io_tw_state *ts);
|
H A D | poll.h | 51 void io_poll_task_func(struct io_kiocb *req, struct io_tw_state *ts);
|
H A D | futex.c | 53 static void __io_futex_complete(struct io_kiocb *req, struct io_tw_state *ts) argument 57 io_req_task_complete(req, ts); 60 static void io_futex_complete(struct io_kiocb *req, struct io_tw_state *ts) argument 65 io_tw_lock(ctx, ts); 68 __io_futex_complete(req, ts); 71 static void io_futexv_complete(struct io_kiocb *req, struct io_tw_state *ts) argument 76 io_tw_lock(req->ctx, ts); 88 __io_futex_complete(req, ts);
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 170 static int xgbe_gettime(struct ptp_clock_info *info, struct timespec64 *ts) argument 184 *ts = ns_to_timespec64(nsec); 190 const struct timespec64 *ts) 198 nsec = timespec64_to_ns(ts); 189 xgbe_settime(struct ptp_clock_info *info, const struct timespec64 *ts) argument
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfad_im.h | 156 struct timespec64 ts; local 158 ktime_get_real_ts64(&ts); 164 entry->aen_tv_sec = ts.tv_sec; 165 entry->aen_tv_usec = ts.tv_nsec / NSEC_PER_USEC;
|
/linux-master/kernel/time/ |
H A D | test_udelay.c | 81 struct timespec64 ts; local 83 ktime_get_ts64(&ts); 85 loops_per_jiffy, (s64)ts.tv_sec, ts.tv_nsec);
|
/linux-master/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 232 ts = sample["time"] 239 return "VM:%5d VCPU:%03d %16s %5u/%-5u [%03u] %9u.%09u " % (machine_pid, vcpu, comm, pid, tid, cpu, ts / 1000000000, ts %1000000000) 241 return "%16s %5u/%-5u [%03u] %9u.%09u " % (comm, pid, tid, cpu, ts / 1000000000, ts %1000000000) 422 ts = sample["time"] 424 if glb_time != ts: 425 glb_time = ts 445 def auxtrace_error(typ, code, cpu, pid, tid, ip, ts, msg, cpumode, *x): 457 (machine_pid, vcpu, "Trace error", pid, tid, cpu, ts / 100000000 [all...] |
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | dp_tx.h | 20 void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | kvm_clock_test.c | 85 struct timespec ts; local 90 r = clock_gettime(CLOCK_REALTIME, &ts); 97 data.realtime = ts.tv_sec * NSEC_PER_SEC; 98 data.realtime += ts.tv_nsec;
|
/linux-master/drivers/media/pci/saa7134/ |
H A D | Makefile | 4 saa7134-y += saa7134-ts.o saa7134-tvaudio.o saa7134-vbi.o
|
/linux-master/include/linux/ |
H A D | init_syscalls.h | 18 int __init init_utimes(char *filename, struct timespec64 *ts);
|
/linux-master/tools/testing/selftests/net/ |
H A D | rxtimestamp.c | 179 struct scm_timestamping *ts; local 220 ts = (struct scm_timestamping *)CMSG_DATA(cmsg); 221 actual.swtstamp = !!ts->ts[0].tv_sec; 222 if (ts->ts[1].tv_sec != 0) 223 error(0, 0, "ts[1] should not be set."); 224 actual.hwtstamp = !!ts->ts[2].tv_sec;
|
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_net.c | 116 unsigned long ts_count; /* Current ts cell counter. */ 311 const u8 *ts, *ts_end, *from_where; member in struct:dvb_net_ule_handle 323 memcpy(ule_where, h->ts, TS_SZ); 335 if ((h->ts[0] != TS_SYNC) || (h->ts[1] & TS_TEI) || 336 ((h->ts[3] & TS_SC) != 0)) { 338 h->priv->ts_count, h->ts[0], 339 (h->ts[1] & TS_TEI) >> 7, 340 (h->ts[3] & TS_SC) >> 6); 353 h->ts [all...] |
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 81 int64_t timespec_to_ns(struct timespec ts) argument 83 return (int64_t)ts.tv_nsec + 1000000000LL * (int64_t)ts.tv_sec; 86 struct timespec timespec_add_ns(struct timespec ts, int64_t ns) argument 90 res.tv_nsec = ts.tv_nsec + ns; 91 res.tv_sec = ts.tv_sec + res.tv_nsec / 1000000000LL; 119 struct timespec timespec_div(struct timespec ts, int divisor) argument 121 int64_t ns = timespec_to_ns(ts) / divisor;
|
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_ptp.c | 130 struct timespec64 *ts, 151 *ts = ns_to_timespec64(system_time); 157 const struct timespec64 *ts) 161 u64 system_time = timespec64_to_ns(ts); 179 struct timespec64 *ts, 200 *ts = ns_to_timespec64(counter); 129 tsnep_ptp_gettimex64(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 156 tsnep_ptp_settime64(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 178 tsnep_ptp_getcyclesx64(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | 24 void igc_ptp_read(struct igc_adapter *adapter, struct timespec64 *ts) argument 33 ts->tv_sec = sec; 34 ts->tv_nsec = nsec; 38 const struct timespec64 *ts) 42 wr32(IGC_SYSTIML, ts->tv_nsec); 43 wr32(IGC_SYSTIMH, ts->tv_sec); 91 struct timespec64 *ts, 102 ts->tv_nsec = rd32(IGC_SYSTIML); 103 ts->tv_sec = rd32(IGC_SYSTIMH); 112 const struct timespec64 *ts) 37 igc_ptp_write_i225(struct igc_adapter *adapter, const struct timespec64 *ts) argument 90 igc_ptp_gettimex64_i225(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 111 igc_ptp_settime_i225(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 252 struct timespec64 ts; local 1028 igc_ptp_getcyclesx64(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 1150 struct timespec64 ts = adapter->prev_ptp_time; local [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-pcf2127.c | 198 struct pcf21xx_ts_config ts[PCF2127_MAX_TS_SUPPORTED]; member in struct:pcf21xx_config 208 time64_t ts[PCF2127_MAX_TS_SUPPORTED]; /* Timestamp values. */ member in struct:pcf2127 611 static int pcf2127_rtc_ts_read(struct device *dev, time64_t *ts, argument 619 ret = regmap_bulk_read(pcf2127->regmap, pcf2127->cfg->ts[ts_id].reg_base, 646 *ts = rtc_tm_to_time64(&tm); 662 ret = pcf2127_rtc_ts_read(dev, &pcf2127->ts[ts_id], ts_id); 763 pcf2127->cfg->ts[ts_id].gnd_detect_reg, 764 pcf2127->cfg->ts[ts_id].gnd_detect_bit, 772 if (pcf2127->cfg->ts[ts_id].inter_detect_bit) { 775 pcf2127->cfg->ts[ts_i 827 time64_t ts; local [all...] |
/linux-master/net/ipv4/ |
H A D | ip_options.c | 59 ip_rt_get_source(iph + opt->ts + iph[opt->ts + 2] - 9, skb, rt); 64 memcpy(iph + opt->ts + iph[opt->ts + 2] - 5, &midtime, 4); 106 if (sopt->ts) { 107 optlen = sptr[sopt->ts+1]; 108 soffset = sptr[sopt->ts+2]; 109 dopt->ts = dopt->optlen + sizeof(struct iphdr); 110 memcpy(dptr, sptr+sopt->ts, optlen); 219 opt->ts [all...] |
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 301 u64 ts; local 303 ts = event->array[0]; 304 ts <<= TS_SHIFT; 305 ts += event->time_delta; 307 return ts; 397 u64 ts; member in struct:rb_event_info 658 u64 ts; local 662 ts = rb_event_time_stamp(event); 663 return rb_fix_abs_ts(ts, cpu_buffer->tail_page->page->time_stamp); 679 rb_time_read(&cpu_buffer->write_stamp, &ts); 1060 u64 ts; local 1084 ring_buffer_normalize_time_stamp(struct trace_buffer *buffer, int cpu, u64 *ts) argument 3342 u64 ts, delta; local 3418 u64 ts, delta; local 3574 u64 ts; local 4710 rb_buffer_peek(struct ring_buffer_per_cpu *cpu_buffer, u64 *ts, unsigned long *lost_events) argument 4784 rb_iter_peek(struct ring_buffer_iter *iter, u64 *ts) argument 4916 ring_buffer_peek(struct trace_buffer *buffer, int cpu, u64 *ts, unsigned long *lost_events) argument 4965 ring_buffer_iter_peek(struct ring_buffer_iter *iter, u64 *ts) argument 4994 ring_buffer_consume(struct trace_buffer *buffer, int cpu, u64 *ts, unsigned long *lost_events) argument [all...] |
/linux-master/net/core/ |
H A D | scm.c | 284 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { 285 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; 286 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; 298 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { 299 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; 300 tss.ts[i].tv_nsec = tss_internal->ts[ [all...] |
/linux-master/fs/ |
H A D | select.c | 276 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...] |
/linux-master/fs/fat/ |
H A D | namei_vfat.c | 581 struct timespec64 *ts, 645 fat_time_unix2fat(sbi, ts, &time, &date, &time_cs); 657 int is_dir, int cluster, struct timespec64 *ts, 672 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, 682 fat_truncate_time(dir, ts, S_CTIME|S_MTIME); 765 struct timespec64 ts; local 770 ts = current_time(dir); 771 err = vfat_add_entry(dir, &dentry->d_name, 0, 0, &ts, &sinfo); 853 struct timespec64 ts; local 858 ts 579 vfat_build_slots(struct inode *dir, const unsigned char *name, int len, int is_dir, int cluster, struct timespec64 *ts, struct msdos_dir_slot *slots, int *nr_slots) argument 656 vfat_add_entry(struct inode *dir, const struct qstr *qname, int is_dir, int cluster, struct timespec64 *ts, struct fat_slot_info *sinfo) argument 921 vfat_update_dir_metadata(struct inode *dir, struct timespec64 *ts) argument 938 struct timespec64 ts; local 1066 struct timespec64 ts = current_time(old_dir); local [all...] |