Home
last modified time | relevance | path

Searched refs:tstamp (Results 1 – 93 of 93) sorted by relevance

/linux-4.1.27/sound/core/
Drawmidi_compat.c58 struct compat_timespec tstamp; member
88 if (put_user(status.tstamp.tv_sec, &src->tstamp.tv_sec) || in snd_rawmidi_ioctl_status_compat()
89 put_user(status.tstamp.tv_nsec, &src->tstamp.tv_nsec) || in snd_rawmidi_ioctl_status_compat()
102 struct timespec tstamp; member
134 if (put_timespec(&status.tstamp, &src->tstamp) || in snd_rawmidi_ioctl_status_x32()
Dtimer_compat.c61 struct compat_timespec tstamp; member
79 status.tstamp.tv_sec = tu->tstamp.tv_sec; in snd_timer_user_status_compat()
80 status.tstamp.tv_nsec = tu->tstamp.tv_nsec; in snd_timer_user_status_compat()
Dpcm_compat.c197 struct compat_timespec tstamp; member
237 compat_put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_compat()
260 struct timespec tstamp; member
301 put_timespec(&status.tstamp, &src->tstamp) || in snd_pcm_status_user_x32()
465 struct compat_timespec tstamp; member
528 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_compat()
534 compat_put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_compat()
552 struct timespec tstamp; member
616 sstatus.tstamp = status->tstamp; in snd_pcm_ioctl_sync_ptr_x32()
622 put_timespec(&sstatus.tstamp, &src->s.status.tstamp) || in snd_pcm_ioctl_sync_ptr_x32()
Dtimer.c74 struct timespec tstamp; /* trigger tstamp */ member
401 struct timespec tstamp; in snd_timer_notify1() local
404 ktime_get_ts(&tstamp); in snd_timer_notify1()
406 getnstimeofday(&tstamp); in snd_timer_notify1()
414 ti->ccallback(ti, event, &tstamp, resolution); in snd_timer_notify1()
425 ts->ccallback(ts, event + 100, &tstamp, resolution); in snd_timer_notify1()
934 int event, struct timespec *tstamp,
958 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp) in snd_timer_notify() argument
982 ti->ccallback(ti, event, tstamp, resolution); in snd_timer_notify()
985 ts->ccallback(ts, event, tstamp, resolution); in snd_timer_notify()
[all …]
Dcompress_offload.c169 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()
633 struct snd_compr_tstamp tstamp = {0}; in snd_compr_tstamp() local
636 ret = snd_compr_update_tstamp(stream, &tstamp); in snd_compr_tstamp()
639 &tstamp, sizeof(tstamp)) ? -EFAULT : 0; in snd_compr_tstamp()
Dpcm.c472 status.tstamp.tv_sec, status.tstamp.tv_nsec); in snd_pcm_substream_proc_status_read()
Dpcm_native.c747 status->tstamp = runtime->status->tstamp; in snd_pcm_status()
762 snd_pcm_gettime(runtime, &status->tstamp); in snd_pcm_status()
2730 sync_ptr.s.status.tstamp = status->tstamp; in snd_pcm_sync_ptr()
Dpcm_lib.c178 snd_pcm_gettime(runtime, (struct timespec *)&runtime->status->tstamp); in xrun()
268 runtime->status->tstamp = *curr_tstamp; in update_audio_tstamp()
/linux-4.1.27/sound/soc/intel/atom/sst/
Dsst_drv_interface.c277 ((void *)(ctx->mailbox + ctx->tstamp) in sst_cdev_ack()
285 addr = ((void *)(ctx->mailbox + ctx->tstamp)) + in sst_cdev_ack()
365 struct snd_compr_tstamp *tstamp) in sst_cdev_tstamp() argument
372 ((void *)(ctx->mailbox + ctx->tstamp) in sst_cdev_tstamp()
381 tstamp->copied_total = fw_tstamp.ring_buffer_counter; in sst_cdev_tstamp()
382 tstamp->pcm_frames = fw_tstamp.frames_decoded; in sst_cdev_tstamp()
383 tstamp->pcm_io_frames = div_u64(fw_tstamp.hardware_counter, in sst_cdev_tstamp()
385 tstamp->sampling_rate = fw_tstamp.sampling_frequency; in sst_cdev_tstamp()
387 dev_dbg(dev, "PCM = %u\n", tstamp->pcm_io_frames); in sst_cdev_tstamp()
389 str_id, tstamp->copied_total, tstamp->pcm_frames); in sst_cdev_tstamp()
[all …]
Dsst_stream.c93 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
96 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
Dsst.h409 unsigned int tstamp; member
Dsst.c187 sst->tstamp = SST_TIME_STAMP_MRFLD; in sst_driver_ops()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Ddynack.c126 ack_ts = da->ack_rbf.tstamp[da->ack_rbf.h_rb]; in ath_dynack_compute_to()
133 ack_ts, st_ts->tstamp, st_ts->dur, in ath_dynack_compute_to()
136 if (ack_ts > st_ts->tstamp + st_ts->dur) { in ath_dynack_compute_to()
137 ackto = ack_ts - st_ts->tstamp - st_ts->dur; in ath_dynack_compute_to()
204 da->st_rbf.ts[da->st_rbf.t_rb].tstamp = ts->ts_tstamp; in ath_dynack_sample_tx_ts()
226 hdr->addr1, da->st_rbf.ts[da->st_rbf.t_rb].tstamp, in ath_dynack_sample_tx_ts()
258 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts; in ath_dynack_sample_ack_ts()
261 da->ack_rbf.tstamp[da->ack_rbf.t_rb], in ath_dynack_sample_ack_ts()
Ddynack.h33 u32 tstamp[ATH_DYN_BUF]; member
37 u32 tstamp; member
/linux-4.1.27/sound/pci/lola/
Dlola_pcm.c54 unsigned int tstamp = lola_get_lrc(chip) >> 8; in lola_get_tstamp() local
57 tstamp += (wait_banks + 1) * chip->granularity - 1; in lola_get_tstamp()
58 tstamp -= tstamp % chip->granularity; in lola_get_tstamp()
60 return tstamp << 8; in lola_get_tstamp()
74 unsigned int tstamp) in lola_stream_start() argument
82 tstamp); in lola_stream_start()
86 unsigned int tstamp) in lola_stream_stop() argument
92 tstamp); in lola_stream_stop()
523 unsigned int tstamp; in lola_pcm_trigger() local
546 tstamp = lola_get_tstamp(chip, !sync_streams); in lola_pcm_trigger()
[all …]
/linux-4.1.27/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c206 struct snd_compr_tstamp *tstamp) in sst_platform_compr_pointer() argument
211 stream->compr_ops->tstamp(sst->dev, stream->id, tstamp); in sst_platform_compr_pointer()
212 tstamp->byte_offset = tstamp->copied_total % in sst_platform_compr_pointer()
214 pr_debug("calc bytes offset/copied bytes as %d\n", tstamp->byte_offset); in sst_platform_compr_pointer()
Dsst-mfld-platform.h111 int (*tstamp)(struct device *dev, unsigned int str_id, member
112 struct snd_compr_tstamp *tstamp);
/linux-4.1.27/arch/powerpc/include/asm/
Dtime.h180 static inline unsigned long tb_ticks_since(unsigned long tstamp) in tb_ticks_since() argument
183 int delta = get_rtcl() - (unsigned int) tstamp; in tb_ticks_since()
186 return get_tbl() - tstamp; in tb_ticks_since()
Deeh.h93 struct timeval tstamp; /* Time on first-time freeze */ member
Dspu.h179 unsigned long long tstamp; member
/linux-4.1.27/net/netfilter/
Dnf_conntrack_timestamp.c20 module_param_named(tstamp, nf_ct_tstamp, bool, 0644);
21 MODULE_PARM_DESC(tstamp, "Enable connection tracking flow timestamping.");
Dxt_time.c171 if (skb->tstamp.tv64 == 0) in time_mt()
174 stamp = ktime_to_ns(skb->tstamp); in time_mt()
Dnf_conntrack_standalone.c147 struct nf_conn_tstamp *tstamp; in ct_show_delta_time() local
150 tstamp = nf_conn_tstamp_find(ct); in ct_show_delta_time()
151 if (tstamp) { in ct_show_delta_time()
152 delta_time = st->time_now - tstamp->start; in ct_show_delta_time()
Dnf_conntrack_core.c357 struct nf_conn_tstamp *tstamp; in nf_ct_delete() local
359 tstamp = nf_conn_tstamp_find(ct); in nf_ct_delete()
360 if (tstamp && tstamp->stop == 0) in nf_ct_delete()
361 tstamp->stop = ktime_get_real_ns(); in nf_ct_delete()
573 struct nf_conn_tstamp *tstamp; in __nf_conntrack_confirm() local
647 tstamp = nf_conn_tstamp_find(ct); in __nf_conntrack_confirm()
648 if (tstamp) { in __nf_conntrack_confirm()
649 if (skb->tstamp.tv64 == 0) in __nf_conntrack_confirm()
652 tstamp->start = ktime_to_ns(skb->tstamp); in __nf_conntrack_confirm()
Dnf_conntrack_netlink.c266 const struct nf_conn_tstamp *tstamp; in ctnetlink_dump_timestamp() local
268 tstamp = nf_conn_tstamp_find(ct); in ctnetlink_dump_timestamp()
269 if (!tstamp) in ctnetlink_dump_timestamp()
276 if (nla_put_be64(skb, CTA_TIMESTAMP_START, cpu_to_be64(tstamp->start)) || in ctnetlink_dump_timestamp()
277 (tstamp->stop != 0 && nla_put_be64(skb, CTA_TIMESTAMP_STOP, in ctnetlink_dump_timestamp()
278 cpu_to_be64(tstamp->stop)))) in ctnetlink_dump_timestamp()
1657 struct nf_conn_tstamp *tstamp; in ctnetlink_create_conntrack() local
1777 tstamp = nf_conn_tstamp_find(ct); in ctnetlink_create_conntrack()
1778 if (tstamp) in ctnetlink_create_conntrack()
1779 tstamp->start = ktime_get_real_ns(); in ctnetlink_create_conntrack()
Dnfnetlink_queue_core.c314 if (entskb->tstamp.tv64) in nfqnl_build_packet_message()
468 if (entskb->tstamp.tv64) { in nfqnl_build_packet_message()
470 struct timeval tv = ktime_to_timeval(entskb->tstamp); in nfqnl_build_packet_message()
Dnfnetlink_log.c539 if (skb->tstamp.tv64) { in __build_packet_message()
541 struct timeval tv = ktime_to_timeval(skb->tstamp); in __build_packet_message()
/linux-4.1.27/arch/powerpc/kernel/
Deeh_pe.c511 struct timeval tstamp; in eeh_pe_update_time_stamp() local
517 do_gettimeofday(&pe->tstamp); in eeh_pe_update_time_stamp()
519 do_gettimeofday(&tstamp); in eeh_pe_update_time_stamp()
520 if (tstamp.tv_sec - pe->tstamp.tv_sec > 3600) { in eeh_pe_update_time_stamp()
521 pe->tstamp = tstamp; in eeh_pe_update_time_stamp()
Deeh_driver.c569 struct timeval tstamp; in eeh_reset_device() local
574 tstamp = pe->tstamp; in eeh_reset_device()
642 pe->tstamp = tstamp; in eeh_reset_device()
/linux-4.1.27/include/sound/
Dtimer.h105 struct timespec * tstamp,
128 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp);
Dcompress_driver.h123 struct snd_compr_tstamp *tstamp);
/linux-4.1.27/include/uapi/sound/
Dasound.h440 struct timespec tstamp; /* reference timestamp */ member
459 struct timespec tstamp; /* Timestamp */ member
630 struct timespec tstamp; /* Timestamp */ member
742 struct timespec tstamp; /* Timestamp - last update */ member
792 struct timespec tstamp; member
935 struct timespec tstamp; member
Dcompress_offload.h82 struct snd_compr_tstamp tstamp; member
/linux-4.1.27/net/ipv4/
Dtcp_probe.c60 ktime_t tstamp; member
125 p->tstamp = ktime_get(); in jtcp_rcv_established()
191 = ktime_to_timespec(ktime_sub(p->tstamp, tcp_probe.start)); in tcpprobe_sprint()
Dip_fragment.c470 qp->q.stamp = skb->tstamp; in ip_frag_queue()
608 head->tstamp = qp->q.stamp; in ip_frag_reasm()
Dtcp_output.c1025 skb->tstamp.tv64 = 0; in tcp_transmit_skb()
1203 buff->tstamp = skb->tstamp; in tcp_fragment()
3025 skb->tstamp.tv64 = 0; in tcp_make_synack()
Ddevinet.c1492 unsigned long tstamp, u32 preferred, u32 valid) in put_cacheinfo() argument
1497 ci.tstamp = cstamp_delta(tstamp); in put_cacheinfo()
/linux-4.1.27/include/net/
Dif_inet6.h60 unsigned long tstamp; /* updated timestamp */ member
207 unsigned long tstamp; /* ipv6InterfaceTable update timestamp */ member
Dsock.h2124 ktime_t kt = skb->tstamp; in sock_recv_timestamp()
2160 sk->sk_stamp = skb->tstamp; in sock_recv_ts_and_drops()
/linux-4.1.27/arch/ia64/include/uapi/asm/
Dperfmon_default_smpl.h68 unsigned long tstamp; /* ar.itc when entering perfmon intr. handler */ member
/linux-4.1.27/include/uapi/linux/
Dif_addr.h60 __u32 tstamp; /* updated timestamp, hundredths of seconds */ member
Dif_link.h262 __u32 tstamp; /* ipv6InterfaceTable updated timestamp */ member
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_desc.c195 u8 ostc_enable, u64 tstamp) in sxgbe_tx_ctxt_desc_set_tstamp() argument
199 p->tstamp_lo = (u32) tstamp; in sxgbe_tx_ctxt_desc_set_tstamp()
200 p->tstamp_hi = (u32) (tstamp>>32); in sxgbe_tx_ctxt_desc_set_tstamp()
Dsxgbe_desc.h243 u8 ostc_enable, u64 tstamp);
/linux-4.1.27/sound/oss/
Dsequencer.c163 unsigned int tstamp; in sequencer_midi_input() local
169 tstamp = jiffies - seq_time; in sequencer_midi_input()
171 if (tstamp != prev_input_time) in sequencer_midi_input()
173 tstamp = (tstamp << 8) | SEQ_WAIT; in sequencer_midi_input()
174 seq_copy_to_input((unsigned char *) &tstamp, 4); in sequencer_midi_input()
175 prev_input_time = tstamp; in sequencer_midi_input()
/linux-4.1.27/net/ipv6/
Daddrconf.c417 ndev->tstamp = jiffies; in ipv6_add_dev()
892 ifa->cstamp = ifa->tstamp = jiffies; in ipv6_add_addr()
988 if (time_before(*expires, ifa->tstamp + lifetime * HZ)) in check_cleanup_prefix_route()
989 *expires = ifa->tstamp + lifetime * HZ; in check_cleanup_prefix_route()
1119 age = (now - ifp->tstamp) / HZ; in ipv6_create_tempaddr()
1128 tmp_tstamp = ifp->tstamp; in ipv6_create_tempaddr()
1171 ift->tstamp = tmp_tstamp; in ipv6_create_tempaddr()
2231 ift->tstamp = now; in manage_tempaddrs()
2432 if (ifp->valid_lft > (now - ifp->tstamp) / HZ) in addrconf_prefix_rcv()
2433 stored_lft = ifp->valid_lft - (now - ifp->tstamp) / HZ; in addrconf_prefix_rcv()
[all …]
Dreassembly.c334 fq->q.stamp = skb->tstamp; in ip6_frag_queue()
492 head->tstamp = fq->q.stamp; in ip6_frag_reasm()
Dndisc.c1254 in6_dev->tstamp = jiffies; in ndisc_router_discovery()
1271 in6_dev->tstamp = jiffies; in ndisc_router_discovery()
1727 idev->tstamp = jiffies; in ndisc_ifinfo_sysctl_change()
Dexthdrs.c229 if (skb->tstamp.tv64 == 0) in ipv6_dest_hao()
/linux-4.1.27/Documentation/sound/alsa/
Dtimestamping.txt13 - tstamp is the current system timestamp updated during the last
15 The difference (tstamp - trigger_tstamp) defines the elapsed time.
78 In case the application requests an audio tstamp that is not supported
96 and system time using the (tstamp-trigger_tstamp)/audio_tstamp
139 this driver_timestamp will be identical to the regular system tstamp.
/linux-4.1.27/drivers/usb/mon/
Dmon_text.c57 unsigned int tstamp; member
212 ep->tstamp = stamp; in mon_text_event()
284 ep->tstamp = mon_get_timestamp(); in mon_text_error()
490 ep->id, ep->tstamp, ep->type, in mon_text_read_head_t()
508 ep->id, ep->tstamp, ep->type, in mon_text_read_head_u()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dspufs.h71 struct timespec tstamp; member
135 unsigned long long tstamp; /* time of last state switch */ member
Dcontext.c69 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()
Dsched.c1047 delta = curtime - ctx->stats.tstamp; in spuctx_switch_state()
1055 ctx->stats.tstamp = curtime; in spuctx_switch_state()
1064 spu->stats.tstamp = curtime; in spuctx_switch_state()
Dfile.c2353 time += ktime_get_ns() - ctx->stats.tstamp; in spufs_acct_time()
2490 (unsigned int) p->tstamp.tv_sec, in switch_log_sprint()
2491 (unsigned int) p->tstamp.tv_nsec, in switch_log_sprint()
2613 ktime_get_ts(&p->tstamp); in spu_switch_log_notify()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h185 u8 tstamp:1; member
187 u8 tstamp:1; member
/linux-4.1.27/net/dccp/
Dinput.c407 long tstamp = dccp_timestamp(); in dccp_rcv_request_sent_state_process() local
429 dp->dccps_syn_rtt = dccp_sample_rtt(sk, 10 * (tstamp - in dccp_rcv_request_sent_state_process()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-mixx-defs.h553 uint64_t tstamp:64; member
555 uint64_t tstamp:64;
/linux-4.1.27/arch/ia64/kernel/
Dperfmon_default_smpl.c168 ent->tstamp = stamp; in default_handler()
Dperfmon.c5182 unsigned long tstamp; in pfm_overflow_handler() local
5194 tstamp = ia64_get_itc(); in pfm_overflow_handler()
5305 ret = (*ctx->ctx_buf_fmt->fmt_handler)(task, ctx->ctx_smpl_hdr, ovfl_arg, regs, tstamp); in pfm_overflow_handler()
/linux-4.1.27/kernel/events/
Dcore.c648 u64 tstamp = perf_event_time(event); in perf_cgroup_mark_enabled() local
655 event->tstamp_enabled = tstamp - event->total_time_enabled; in perf_cgroup_mark_enabled()
658 sub->tstamp_enabled = tstamp - sub->total_time_enabled; in perf_cgroup_mark_enabled()
1541 u64 tstamp = perf_event_time(event); in event_sched_out() local
1555 delta = tstamp - event->tstamp_stopped; in event_sched_out()
1557 event->tstamp_stopped = tstamp; in event_sched_out()
1565 event->tstamp_stopped = tstamp; in event_sched_out()
1818 u64 tstamp) in perf_set_shadow_time() argument
1846 perf_cgroup_set_shadow_time(event, tstamp); in perf_set_shadow_time()
1848 event->shadow_ctx_time = tstamp - ctx->timestamp; in perf_set_shadow_time()
[all …]
/linux-4.1.27/net/ieee802154/6lowpan/
Dreassembly.c202 fq->q.stamp = skb->tstamp; in lowpan_frag_queue()
317 head->tstamp = fq->q.stamp; in lowpan_frag_reasm()
/linux-4.1.27/net/ipv6/netfilter/
Dnf_conntrack_reasm.c347 fq->q.stamp = skb->tstamp; in nf_ct_frag6_queue()
463 head->tstamp = fq->q.stamp; in nf_ct_frag6_reasm()
/linux-4.1.27/net/sched/
Dsch_netem.c504 cb->tstamp_save = skb->tstamp; in netem_enqueue()
584 skb->tstamp = netem_skb_cb(skb)->tstamp_save; in netem_dequeue()
592 skb->tstamp.tv64 = 0; in netem_dequeue()
/linux-4.1.27/drivers/iio/accel/
Dbmc150-accel.c964 int64_t tstamp; in __bmc150_accel_fifo_flush() local
1007 tstamp = data->timestamp - (count - 1) * sample_period; in __bmc150_accel_fifo_flush()
1031 iio_push_to_buffers_with_timestamp(indio_dev, sample, tstamp); in __bmc150_accel_fifo_flush()
1033 tstamp += sample_period; in __bmc150_accel_fifo_flush()
/linux-4.1.27/drivers/net/wireless/mwifiex/
D11n_aggr.c208 skb_aggr->tstamp = timeval_to_ktime(tv); in mwifiex_11n_aggregate_pkt()
Dwmm.c919 u32 queue_delay = ktime_to_ms(net_timedelta(skb->tstamp)); in mwifiex_wmm_compute_drv_pkt_delay()
/linux-4.1.27/arch/powerpc/platforms/cell/
Dspu_base.c618 spu->stats.tstamp = ktime_get_ns(); in create_spu()
649 time += ktime_get_ns() - spu->stats.tstamp; in spu_acct_time()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dt4fw_ri_api.h764 __u8 tstamp:1; member
766 __u8 tstamp:1; member
Dcm.c2192 enable_tcp_timestamps && req->tcpopt.tstamp, in accept_cr()
2217 if (enable_tcp_timestamps && req->tcpopt.tstamp) in accept_cr()
2367 ((enable_tcp_timestamps && req->tcpopt.tstamp) ? 12 : 0); in pass_accept_req()
3577 req->tcpopt.tstamp = tmp_opt.saw_tstamp; in build_cpl_pass_accept_req()
/linux-4.1.27/drivers/net/ethernet/octeon/
Docteon_mgmt.c56 u64 tstamp:1; member
64 u64 tstamp:1;
291 if (unlikely(re.s.tstamp)) { in octeon_mgmt_clean_tx_buffers()
1282 re.s.tstamp = ((skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) != 0); in octeon_mgmt_xmit()
/linux-4.1.27/sound/soc/
Dsoc-compress.c529 struct snd_compr_tstamp *tstamp) in soc_compr_pointer() argument
537 platform->driver->compr_ops->pointer(cstream, tstamp); in soc_compr_pointer()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h216 __u8 tstamp:1; member
218 __u8 tstamp:1; member
1173 __be32 tstamp; member
/linux-4.1.27/include/linux/
Dskbuff.h528 ktime_t tstamp; member
2803 return skb->tstamp; in skb_get_ktime()
2818 *stamp = ktime_to_timeval(skb->tstamp); in skb_get_timestamp()
2824 *stamp = ktime_to_timespec(skb->tstamp); in skb_get_timestampns()
2829 skb->tstamp = ktime_get_real(); in __net_timestamp()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dt4_msg.h892 __be64 tstamp; member
913 __be64 tstamp; member
/linux-4.1.27/drivers/net/can/softing/
Dsofting_main.c152 skb->tstamp = ktime; in softing_netdev_rx()
297 skb->tstamp = ktime; in softing_handle_1()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k.h431 __le64 tstamp; member
Dfm10k_main.c417 FM10K_CB(skb)->tstamp = rx_desc->q.timestamp; in fm10k_rx_hwtstamp()
/linux-4.1.27/net/sunrpc/
Dsvcsock.c587 if (skb->tstamp.tv64 == 0) { in svc_udp_recvfrom()
588 skb->tstamp = ktime_get_real(); in svc_udp_recvfrom()
592 svsk->sk_sk->sk_stamp = skb->tstamp; in svc_udp_recvfrom()
/linux-4.1.27/net/can/
Dbcm.c322 skb->tstamp = op->rx_stamp; in bcm_send_to_user()
644 op->rx_stamp = skb->tstamp; in bcm_rx_handler()
Dgw.c431 nskb->tstamp.tv64 = 0; in can_can_gw_rcv()
/linux-4.1.27/tools/perf/
Dbuiltin-trace.c1366 static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp) in trace__fprintf_tstamp() argument
1368 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in trace__fprintf_tstamp()
1383 u64 duration, u64 tstamp, FILE *fp) in trace__fprintf_entry_head() argument
1385 size_t printed = trace__fprintf_tstamp(trace, tstamp, fp); in trace__fprintf_entry_head()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dwmi.c777 u32 tstamp = le32_to_cpu(wmi->timestamp); in wmi_recv_cmd() local
780 id, wmi->mid, tstamp); in wmi_recv_cmd()
/linux-4.1.27/drivers/hsi/clients/
Dcmt_speech.c454 struct timespec *tstamp = in cs_hsi_read_on_control_complete() local
456 do_posix_clock_monotonic_gettime(tstamp); in cs_hsi_read_on_control_complete()
/linux-4.1.27/net/ipx/
Daf_ipx.c1812 if (skb->tstamp.tv64) in ipx_recvmsg()
1813 sk->sk_stamp = skb->tstamp; in ipx_recvmsg()
/linux-4.1.27/net/core/
Dskbuff.c809 new->tstamp = old->tstamp; in __copy_skb_header()
3738 skb->tstamp = ktime_get_real(); in __skb_tstamp_tx()
4149 skb->tstamp.tv64 = 0; in skb_scrub_packet()
Ddev.c1683 skb->tstamp.tv64 = 0; in net_timestamp_set()
1690 if ((COND) && !(SKB)->tstamp.tv64) \
/linux-4.1.27/drivers/net/ethernet/sun/
Dsunhme.c98 unsigned int tstamp; member
117 tlp->tstamp = (unsigned int)jiffies; in tx_add_log()
132 tx_log[this].tstamp, in tx_dump_log()
/linux-4.1.27/net/
Dsocket.c649 if (need_software_tstamp && skb->tstamp.tv64 == 0) in __sock_recv_timestamp()
668 ktime_to_timespec_cond(skb->tstamp, tss.ts + 0)) in __sock_recv_timestamp()
/linux-4.1.27/Documentation/networking/
Dtimestamping.txt443 do that. A driver must never touch sk_buff::tstamp! It is used to store
/linux-4.1.27/drivers/atm/
Deni.c539 skb->tstamp = eni_vcc->timestamp; in rx_aal0()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c6819 u64 tstamp = 0; in tg3_rx() local
6857 tstamp = tr32(TG3_RX_TSTAMP_LSB); in tg3_rx()
6858 tstamp |= (u64)tr32(TG3_RX_TSTAMP_MSB) << 32; in tg3_rx()
6904 if (tstamp) in tg3_rx()
6905 tg3_hwclock_to_timestamp(tp, tstamp, in tg3_rx()
/linux-4.1.27/net/packet/
Daf_packet.c449 if (ktime_to_timespec_cond(skb->tstamp, ts)) in tpacket_get_timestamp()