/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | test_tc_edt.c | 34 uint64_t tstamp, next_tstamp = 0; in throttle_flow() local 39 tstamp = skb->tstamp; in throttle_flow() 40 if (tstamp < now) in throttle_flow() 41 tstamp = now; in throttle_flow() 44 if (next_tstamp <= tstamp) { in throttle_flow() 45 if (bpf_map_update_elem(&flow_map, &key, &tstamp, BPF_ANY)) in throttle_flow() 60 skb->tstamp = next_tstamp; in throttle_flow()
|
/Linux-v5.4/sound/core/ |
D | rawmidi_compat.c | 46 struct compat_timespec tstamp; member 78 if (compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_compat() 91 struct timespec tstamp; member 125 if (put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_x32()
|
D | pcm_compat.c | 174 struct compat_timespec tstamp; member 214 compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_compat() 237 struct timespec tstamp; member 278 put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_x32() 444 struct compat_timespec tstamp; member 507 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat() 513 compat_put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_compat() 531 struct timespec tstamp; member 596 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32() 602 put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_x32()
|
D | timer_compat.c | 73 struct compat_timespec tstamp; member 91 status.tstamp.tv_sec = tu->tstamp.tv_sec; in snd_timer_user_status_compat() 92 status.tstamp.tv_nsec = tu->tstamp.tv_nsec; in snd_timer_user_status_compat()
|
D | timer.c | 62 struct timespec tstamp; /* trigger tstamp */ member 463 struct timespec tstamp; in snd_timer_notify1() local 466 ktime_get_ts(&tstamp); in snd_timer_notify1() 468 getnstimeofday(&tstamp); in snd_timer_notify1() 477 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1() 486 ts->ccallback(ts, event + 100, &tstamp, resolution); in snd_timer_notify1() 1035 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp) in snd_timer_notify() argument 1055 ti->ccallback(ti, event, tstamp, resolution); in snd_timer_notify() 1058 ts->ccallback(ts, event, tstamp, resolution); in snd_timer_notify() 1328 struct timespec *tstamp, in snd_timer_user_ccallback() argument [all …]
|
D | compress_offload.c | 169 struct snd_compr_tstamp *tstamp) in snd_compr_update_tstamp() argument 173 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp() 175 tstamp->byte_offset, tstamp->copied_total); in snd_compr_update_tstamp() 177 stream->runtime->total_bytes_transferred = tstamp->copied_total; in snd_compr_update_tstamp() 179 stream->runtime->total_bytes_available = tstamp->copied_total; in snd_compr_update_tstamp() 187 snd_compr_update_tstamp(stream, &avail->tstamp); in snd_compr_calc_avail() 655 struct snd_compr_tstamp tstamp = {0}; in snd_compr_tstamp() local 658 ret = snd_compr_update_tstamp(stream, &tstamp); in snd_compr_tstamp() 661 &tstamp, sizeof(tstamp)) ? -EFAULT : 0; in snd_compr_tstamp()
|
/Linux-v5.4/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.h | 32 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time() argument 38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time() 58 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time() argument
|
/Linux-v5.4/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 261 addr = ((void __iomem *)(ctx->mailbox + ctx->tstamp)) + in sst_cdev_ack() 348 struct snd_compr_tstamp *tstamp) in sst_cdev_tstamp() argument 355 addr = (void __iomem *)(ctx->mailbox + ctx->tstamp) + in sst_cdev_tstamp() 365 tstamp->copied_total = fw_tstamp.ring_buffer_counter; in sst_cdev_tstamp() 366 tstamp->pcm_frames = fw_tstamp.frames_decoded; in sst_cdev_tstamp() 367 tstamp->pcm_io_frames = div_u64(fw_tstamp.hardware_counter, in sst_cdev_tstamp() 369 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp() 371 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); in sst_cdev_tstamp() 373 str_id, tstamp->copied_total, tstamp->pcm_frames); in sst_cdev_tstamp() 374 dev_dbg(dev, "rendered %d\n", tstamp->pcm_io_frames); in sst_cdev_tstamp() [all …]
|
/Linux-v5.4/net/sched/ |
D | sch_etf.c | 78 ktime_t txtime = nskb->tstamp; in is_packet_valid() 131 next = ktime_sub_ns(skb->tstamp, q->delta); in reset_watchdog() 139 ktime_t txtime = skb->tstamp; in report_sock_error() 166 ktime_t txtime = nskb->tstamp; in etf_enqueue_timesortedlist() 180 if (ktime_compare(txtime, skb->tstamp) >= 0) { in etf_enqueue_timesortedlist() 207 if (ktime_after(skb->tstamp, now)) in timesortedlist_drop() 247 q->last = skb->tstamp; in timesortedlist_remove() 265 if (ktime_before(skb->tstamp, now)) { in etf_dequeue_timesortedlist() 276 skb->tstamp = now; in etf_dequeue_timesortedlist() 280 next = ktime_sub_ns(skb->tstamp, q->delta); in etf_dequeue_timesortedlist()
|
/Linux-v5.4/sound/pci/lola/ |
D | lola_pcm.c | 41 unsigned int tstamp = lola_get_lrc(chip) >> 8; in lola_get_tstamp() local 44 tstamp += (wait_banks + 1) * chip->granularity - 1; in lola_get_tstamp() 45 tstamp -= tstamp % chip->granularity; in lola_get_tstamp() 47 return tstamp << 8; in lola_get_tstamp() 61 unsigned int tstamp) in lola_stream_start() argument 69 tstamp); in lola_stream_start() 73 unsigned int tstamp) in lola_stream_stop() argument 79 tstamp); in lola_stream_stop() 510 unsigned int tstamp; in lola_pcm_trigger() local 533 tstamp = lola_get_tstamp(chip, !sync_streams); in lola_pcm_trigger() [all …]
|
/Linux-v5.4/net/ipv6/ |
D | netfilter.c | 122 ktime_t tstamp = skb->tstamp; in br_ip6_fragment() local 187 skb->tstamp = tstamp; in br_ip6_fragment() 220 skb2->tstamp = tstamp; in br_ip6_fragment()
|
/Linux-v5.4/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 203 struct snd_compr_tstamp *tstamp) in sst_platform_compr_pointer() argument 208 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); in sst_platform_compr_pointer() 209 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer() 211 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
|
/Linux-v5.4/drivers/platform/chrome/ |
D | cros_usbpd_logger.c | 81 ktime_t tstamp) in cros_usbpd_print_log_entry() argument 94 tstamp = ktime_sub_us(tstamp, r->timestamp << PD_LOG_TIMESTAMP_SHIFT); in cros_usbpd_print_log_entry() 95 rt = rtc_ktime_to_tm(tstamp); in cros_usbpd_print_log_entry() 161 div_s64_rem(ktime_to_ms(tstamp), MSEC_PER_SEC, &rem); in cros_usbpd_print_log_entry()
|
/Linux-v5.4/tools/testing/selftests/networking/timestamping/ |
D | rxtimestamp.c | 30 bool tstamp; member 71 { tstamp: true } 107 { tstamp: true, swtstamp: true } 140 if (t->expected.tstamp) in print_test_case() 209 actual.tstamp = true; in do_recv() 238 VALIDATE(tstamp); in do_recv()
|
/Linux-v5.4/net/netfilter/ |
D | nf_conntrack_timestamp.c | 19 module_param_named(tstamp, nf_ct_tstamp, bool, 0644); 20 MODULE_PARM_DESC(tstamp, "Enable connection tracking flow timestamping.");
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | time.h | 168 static inline unsigned long tb_ticks_since(unsigned long tstamp) in tb_ticks_since() argument 171 int delta = get_rtcl() - (unsigned int) tstamp; in tb_ticks_since() 174 return get_tbl() - tstamp; in tb_ticks_since()
|
/Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
D | dynack.c | 160 ack_ts = da->ack_rbf.tstamp[da->ack_rbf.h_rb]; in ath_dynack_compute_to() 167 ack_ts, st_ts->tstamp, st_ts->dur, in ath_dynack_compute_to() 170 if (ack_ts > st_ts->tstamp + st_ts->dur) { in ath_dynack_compute_to() 171 ackto = ack_ts - st_ts->tstamp - st_ts->dur; in ath_dynack_compute_to() 249 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; in ath_dynack_sample_tx_ts() 301 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts; in ath_dynack_sample_ack_ts()
|
D | dynack.h | 33 u32 tstamp[ATH_DYN_BUF]; member 37 u32 tstamp; member
|
/Linux-v5.4/net/bridge/netfilter/ |
D | nf_conntrack_bridge.c | 36 ktime_t tstamp = skb->tstamp; in nf_br_ip_fragment() local 84 skb->tstamp = tstamp; in nf_br_ip_fragment() 109 skb2->tstamp = tstamp; in nf_br_ip_fragment()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | eeh_pe.c | 559 time64_t tstamp; in eeh_pe_update_time_stamp() local 565 pe->tstamp = ktime_get_seconds(); in eeh_pe_update_time_stamp() 567 tstamp = ktime_get_seconds(); in eeh_pe_update_time_stamp() 568 if (tstamp - pe->tstamp > 3600) { in eeh_pe_update_time_stamp() 569 pe->tstamp = tstamp; in eeh_pe_update_time_stamp()
|
/Linux-v5.4/net/bluetooth/ |
D | mgmt_util.c | 119 skb->tstamp = mskb->tstamp; in mgmt_cmd_status() 167 skb->tstamp = mskb->tstamp; in mgmt_cmd_complete()
|
/Linux-v5.4/net/rxrpc/ |
D | input.c | 59 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 83 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 96 if (ktime_before(skb->tstamp, in rxrpc_congestion_management() 101 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 159 call->cong_tstamp = skb->tstamp; in rxrpc_congestion_management() 202 ktime_t now = skb->tstamp; in rxrpc_send_ping() 645 sent_at = skb->tstamp; in rxrpc_input_requested_ack() 866 rxrpc_input_ping_response(call, skb->tstamp, acked_serial, in rxrpc_input_ack() 869 rxrpc_input_requested_ack(call, skb->tstamp, acked_serial, in rxrpc_input_ack() 900 call->acks_latest_ts = skb->tstamp; in rxrpc_input_ack() [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | trace-event.h | 85 struct evsel *evsel, u64 tstamp); 86 void (*process_stat_interval)(u64 tstamp);
|
/Linux-v5.4/net/dsa/ |
D | tag_sja1105.c | 28 u64 tstamp; member 50 packing(buf, &meta->tstamp, 31, 0, 4, UNPACK, 0); in sja1105_meta_unpack() 121 SJA1105_SKB_CB(skb)->meta_tstamp = meta->tstamp; in sja1105_transfer_meta()
|
/Linux-v5.4/include/sound/ |
D | timer.h | 92 struct timespec * tstamp, 116 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp);
|