Home
last modified time | relevance | path

Searched refs:stamp (Results 1 – 88 of 88) sorted by relevance

/linux-4.4.14/net/netfilter/
Dxt_time.c160 s64 stamp; in time_mt() local
174 stamp = ktime_to_ns(skb->tstamp); in time_mt()
175 stamp = div_s64(stamp, NSEC_PER_SEC); in time_mt()
179 stamp -= 60 * sys_tz.tz_minuteswest; in time_mt()
190 if (stamp < info->date_start || stamp > info->date_stop) in time_mt()
193 packet_time = localtime_1(&current_time, stamp); in time_mt()
214 stamp -= SECONDS_PER_DAY; in time_mt()
217 localtime_2(&current_time, stamp); in time_mt()
224 localtime_3(&current_time, stamp); in time_mt()
/linux-4.4.14/arch/arc/kernel/
Dtime.c82 } stamp; in arc_counter_read() local
87 stamp.l = read_aux_reg(ARC_REG_MCIP_READBACK); in arc_counter_read()
90 stamp.h = read_aux_reg(ARC_REG_MCIP_READBACK); in arc_counter_read()
94 return stamp.full; in arc_counter_read()
131 } stamp; in arc_counter_read() local
140 : "=r" (stamp.low), "=r" (stamp.high), "=r" (status)); in arc_counter_read()
142 return stamp.full; in arc_counter_read()
/linux-4.4.14/fs/ntfs/
Dusnjrnl.c51 sle64 stamp; in ntfs_stamp_usnjrnl() local
62 stamp = get_current_ntfs_time(); in ntfs_stamp_usnjrnl()
69 (long long)sle64_to_cpu(stamp), in ntfs_stamp_usnjrnl()
73 uh->journal_id = stamp; in ntfs_stamp_usnjrnl()
/linux-4.4.14/Documentation/networking/timestamping/
Dtimestamping.c181 struct timeval *stamp = in printpacket() local
184 (long)stamp->tv_sec, in printpacket()
185 (long)stamp->tv_usec); in printpacket()
189 struct timespec *stamp = in printpacket() local
192 (long)stamp->tv_sec, in printpacket()
193 (long)stamp->tv_nsec); in printpacket()
197 struct timespec *stamp = in printpacket() local
201 (long)stamp->tv_sec, in printpacket()
202 (long)stamp->tv_nsec); in printpacket()
203 stamp++; in printpacket()
[all …]
/linux-4.4.14/drivers/char/
Dbfin-otp.c25 #define stamp(fmt, args...) pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args) macro
26 #define stampit() stamp("here i am")
57 stamp("processing page %i (0x%x:%s)", page, flags, in bfin_otp_read()
61 stamp("error from otp: 0x%x", ret); in bfin_otp_read()
149 stamp("processing page %i (0x%x:%s) from %p", page, flags, in bfin_otp_write()
157 stamp("error from otp: 0x%x", ret); in bfin_otp_write()
192 stamp("locking page %lu resulted in 0x%x", arg, otp_result); in bfin_otp_ioctl()
/linux-4.4.14/include/linux/
Dww_mutex.h20 atomic_long_t stamp; member
29 unsigned long stamp; member
61 { .stamp = ATOMIC_LONG_INIT(0) \
123 ctx->stamp = atomic_long_inc_return(&ww_class->stamp); in ww_acquire_init()
138 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
Dskbuff.h2986 struct timeval *stamp) in skb_get_timestamp() argument
2988 *stamp = ktime_to_timeval(skb->tstamp); in skb_get_timestamp()
2992 struct timespec *stamp) in skb_get_timestampns() argument
2994 *stamp = ktime_to_timespec(skb->tstamp); in skb_get_timestampns()
Dgenhd.h121 unsigned long stamp; member
/linux-4.4.14/security/tomoyo/
Daudit.c149 struct tomoyo_time stamp; in tomoyo_print_header() local
159 tomoyo_convert_time(get_seconds(), &stamp); in tomoyo_print_header()
165 "fsuid=%u fsgid=%u }", stamp.year, stamp.month, in tomoyo_print_header()
166 stamp.day, stamp.hour, stamp.min, stamp.sec, r->profile, in tomoyo_print_header()
Dutil.c90 void tomoyo_convert_time(time_t time, struct tomoyo_time *stamp) in tomoyo_convert_time() argument
99 stamp->sec = time % 60; in tomoyo_convert_time()
101 stamp->min = time % 60; in tomoyo_convert_time()
103 stamp->hour = time % 24; in tomoyo_convert_time()
116 stamp->year = y; in tomoyo_convert_time()
117 stamp->month = ++m; in tomoyo_convert_time()
118 stamp->day = ++time; in tomoyo_convert_time()
Dcommon.c2295 struct tomoyo_time stamp; in tomoyo_read_stat() local
2296 tomoyo_convert_time(tomoyo_stat_modified[i], &stamp); in tomoyo_read_stat()
2299 stamp.year, stamp.month, stamp.day, in tomoyo_read_stat()
2300 stamp.hour, stamp.min, stamp.sec); in tomoyo_read_stat()
Dcommon.h1039 void tomoyo_convert_time(time_t time, struct tomoyo_time *stamp);
/linux-4.4.14/net/ipv6/
Dmip6.c121 ktime_t stamp; member
187 static inline int mip6_report_rl_allow(ktime_t stamp, in mip6_report_rl_allow() argument
194 if (!ktime_equal(mip6_report_rl.stamp, stamp) || in mip6_report_rl_allow()
198 mip6_report_rl.stamp = stamp; in mip6_report_rl_allow()
217 ktime_t stamp; in mip6_destopt_reject() local
231 stamp = skb_get_ktime(skb); in mip6_destopt_reject()
233 if (!mip6_report_rl_allow(stamp, &ipv6_hdr(skb)->daddr, in mip6_destopt_reject()
Dreassembly.c334 fq->q.stamp = skb->tstamp; in ip6_frag_queue()
492 head->tstamp = fq->q.stamp; in ip6_frag_reasm()
/linux-4.4.14/arch/blackfin/boot/
Dinstall.sh49 local stamp=$(stat -c %Y ${file} 2>/dev/null)
50 mv ${file} ${file}.${stamp:-old}
/linux-4.4.14/kernel/gcov/
Dgcc_3_4.c75 unsigned int stamp; member
191 return (info1->stamp == info2->stamp); in gcov_info_is_compatible()
252 dup->stamp = info->stamp; in gcov_info_dup()
533 rc = seq_write_gcov_u32(seq, iter->info->stamp); in gcov_iter_write()
Dgcc_4_7.c87 unsigned int stamp; member
210 return (info1->stamp == info2->stamp); in gcov_info_is_compatible()
435 pos += store_gcov_u32(buffer, pos, info->stamp); in convert_to_gcda()
/linux-4.4.14/tools/perf/arch/x86/tests/
Drdpmc.c125 u64 stamp, now, delta; in __test__rdpmc() local
127 stamp = mmap_read_self(addr); in __test__rdpmc()
135 delta = now - stamp; in __test__rdpmc()
/linux-4.4.14/fs/isofs/
Drock.h67 struct stamp { struct
73 struct stamp times[0]; /* Variable number of these beasts */ argument
/linux-4.4.14/drivers/watchdog/
Dbfin_wdt.c30 #define stamp(fmt, args...) \ macro
32 #define stampit() stamp("here i am")
121 stamp("maxtimeout=%us newtimeout=%lus (cnt=%#x)", max_t, t, cnt); in bfin_wdt_set_timeout()
/linux-4.4.14/scripts/
Danalyze_suspend.py95 stamp = 0 variable in SystemValues
229 stamp = 0 variable in Data
994 data.stamp = {'time': '', 'host': '', 'mode': ''}
998 data.stamp['time'] = dt.strftime('%B %d %Y, %I:%M:%S %p')
999 data.stamp['host'] = m.group('host')
1000 data.stamp['mode'] = m.group('mode')
1001 data.stamp['kernel'] = m.group('kernel')
1002 sysvals.suspendmode = data.stamp['mode']
1003 if not sysvals.stamp:
1004 sysvals.stamp = data.stamp
[all …]
/linux-4.4.14/drivers/usb/mon/
Dmon_text.c180 unsigned int stamp; in mon_get_timestamp() local
183 stamp = tval.tv_sec & 0xFFF; /* 2^32 = 4294967296. Limit to 4096s. */ in mon_get_timestamp()
184 stamp = stamp * 1000000 + tval.tv_usec; in mon_get_timestamp()
185 return stamp; in mon_get_timestamp()
192 unsigned int stamp; in mon_text_event() local
197 stamp = mon_get_timestamp(); in mon_text_event()
212 ep->tstamp = stamp; in mon_text_event()
/linux-4.4.14/arch/blackfin/mach-bf533/boards/
DMakefile5 obj-$(CONFIG_BFIN533_STAMP) += stamp.o
/linux-4.4.14/include/net/
Ddn.h119 unsigned long stamp; /* time of last transmit */ member
171 unsigned long stamp; member
Dinet_frag.h55 ktime_t stamp; member
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
DMakefile5 obj-$(CONFIG_BFIN537_STAMP) += stamp.o
/linux-4.4.14/drivers/net/can/softing/
Dsofting_fw.c34 unsigned long stamp; in _softing_fct_cmd() local
41 stamp = jiffies + 1 * HZ; in _softing_fct_cmd()
53 if ((ret != vector) || time_after(jiffies, stamp)) in _softing_fct_cmd()
80 unsigned long stamp; in softing_bootloader_command() local
86 stamp = jiffies + 3 * HZ; in softing_bootloader_command()
94 if (time_after(jiffies, stamp)) in softing_bootloader_command()
/linux-4.4.14/lib/
Dlocking-selftest.c1139 t.stamp++; in ww_test_fail_acquire()
1155 t2.stamp++; in ww_test_fail_acquire()
1308 t2.stamp--; in ww_test_edeadlk_normal()
1334 t2.stamp--; in ww_test_edeadlk_normal_slow()
1360 t2.stamp--; in ww_test_edeadlk_no_unlock()
1385 t2.stamp--; in ww_test_edeadlk_no_unlock_slow()
1410 t2.stamp--; in ww_test_edeadlk_acquire_more()
1431 t2.stamp--; in ww_test_edeadlk_acquire_more_slow()
1456 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk()
1482 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk_slow()
[all …]
/linux-4.4.14/Documentation/ptp/
Dptp.txt22 - Time stamp external events
75 - 2 Time stamp external triggers, programmable polarity (opt. interrupt)
83 - GPIO inputs can time stamp external triggers
/linux-4.4.14/include/uapi/drm/
Ddrm_sarea.h56 unsigned int stamp; member
/linux-4.4.14/net/decnet/
Ddn_nsp_out.c82 scp->stamp = jiffies; in dn_nsp_send()
221 cb->stamp = jiffies; in dn_nsp_clone_and_send()
365 if ((jiffies - scp->stamp) > t) in dn_nsp_queue_xmit()
387 unsigned long reftime = cb->stamp; in dn_nsp_check_xmit_queue()
410 pkttime = cb2->stamp; in dn_nsp_check_xmit_queue()
Ddn_timer.c95 if (time_after_eq(jiffies, scp->stamp + scp->keepalive)) in dn_slow_timer()
Ddn_route.c660 cb->stamp = jiffies; in dn_route_rcv()
Daf_decnet.c602 if (time_after_eq(jiffies, scp->stamp + HZ * decnet_time_wait)) { in dn_destroy_timer()
/linux-4.4.14/tools/usb/usbip/
D.gitignore21 stamp-h1
/linux-4.4.14/arch/ia64/oprofile/
Dperfmon.c21 struct pt_regs *regs, unsigned long stamp) in perfmon_handler() argument
/linux-4.4.14/Documentation/networking/
Dtimestamping.txt359 supported, the driver may time stamp more than just the requested types
403 /* time stamp no incoming packet at all */
406 /* time stamp any incoming packet */
409 /* return value: time stamp all packets requested plus some others */
428 to the shared time stamp structure of the skb call skb_hwtstamps(). Then
432 /* hardware time stamp transformed into duration
453 as possible. skb_tx_timestamp() provides a software time stamp if requested
456 hardware time stamp for it, it passes the time stamp back by
458 hardware time stamp. skb_hwtstamp_tx() clones the original skb and
460 If obtaining the hardware time stamp somehow fails, then the driver
Dtcp.txt103 backoff timers etc. A change of route table stamp causes a change of header
Darcnet-hardware.txt2340 C7 -- No stamp or label but in a 20 pin chip socket.
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-net-janz-ican317 Firmware stamp of ican3 module
/linux-4.4.14/kernel/locking/
Dmutex.c492 if (ctx->stamp - hold_ctx->stamp <= LONG_MAX && in __ww_mutex_lock_check_stamp()
493 (ctx->stamp != hold_ctx->stamp || ctx > hold_ctx)) { in __ww_mutex_lock_check_stamp()
/linux-4.4.14/arch/ia64/kernel/
Dperfmon_default_smpl.c102 …truct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs, unsigned long stamp) in default_handler() argument
168 ent->tstamp = stamp; in default_handler()
/linux-4.4.14/drivers/net/irda/
Dirda-usb.h160 ktime_t stamp; member
Dali-ircc.h212 ktime_t stamp; member
Dnsc-ircc.h266 ktime_t stamp; member
Dirda-usb.c498 diff = ktime_us_delta(ktime_get(), self->stamp); in irda_usb_hard_xmit()
868 self->stamp = ktime_get(); in irda_usb_receive()
Dali-ircc.c1459 diff = ktime_us_delta(ktime_get(), self->stamp); in ali_ircc_fir_hard_xmit()
1876 self->stamp = ktime_get(); in ali_ircc_dma_receive_complete()
Dnsc-ircc.c1504 diff = ktime_us_delta(ktime_get(), self->stamp); in nsc_ircc_hard_xmit_fir()
1867 self->stamp = ktime_get(); in nsc_ircc_dma_receive_complete()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c197 u64 stamp = 0; in ixgbe_ptp_read() local
199 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_read()
200 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_read()
202 return stamp; in ixgbe_ptp_read()
/linux-4.4.14/net/dccp/ccids/lib/
Dpacket_history.h52 ktime_t stamp; member
Dpacket_history.c69 entry->stamp = ktime_get_real(); in tfrc_tx_hist_add()
/linux-4.4.14/drivers/usb/host/
Doxu210hp.h305 unsigned stamp; member
420 unsigned stamp; member
Doxu210hp-hcd.c1762 if (!++(oxu->stamp)) in scan_async()
1763 oxu->stamp++; in scan_async()
1771 && qh->stamp != oxu->stamp) { in scan_async()
1780 qh->stamp = oxu->stamp; in scan_async()
1794 if (qh->stamp == oxu->stamp) in scan_async()
/linux-4.4.14/net/dccp/ccids/
Dccid3.c124 static void ccid3_hc_tx_update_x(struct sock *sk, ktime_t *stamp) in ccid3_hc_tx_update_x() argument
129 ktime_t now = stamp ? *stamp : ktime_get_real(); in ccid3_hc_tx_update_x()
395 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp)); in ccid3_hc_tx_packet_recv()
/linux-4.4.14/arch/ia64/include/asm/
Dperfmon.h72 …ruct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs, unsigned long stamp);
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-cmd.c266 unsigned long stamp; in saa7164_cmd_wait() local
284 stamp = jiffies; in saa7164_cmd_wait()
298 r = time_before(jiffies, stamp + (HZ * waitsecs)); in saa7164_cmd_wait()
/linux-4.4.14/net/rxrpc/
Drxkad.c916 __le32 stamp; in rxkad_decrypt_ticket() local
917 memcpy(&stamp, p, 4); in rxkad_decrypt_ticket()
918 issue = le32_to_cpu(stamp); in rxkad_decrypt_ticket()
920 __be32 stamp; in rxkad_decrypt_ticket() local
921 memcpy(&stamp, p, 4); in rxkad_decrypt_ticket()
922 issue = be32_to_cpu(stamp); in rxkad_decrypt_ticket()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Drx.c307 unsigned long stamp) in iwlagn_recover_from_statistics() argument
314 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwlagn_recover_from_statistics()
441 unsigned long stamp = jiffies; in iwlagn_rx_statistics() local
504 iwlagn_recover_from_statistics(priv, rx_ofdm, rx_ofdm_ht, tx, stamp); in iwlagn_rx_statistics()
519 priv->rx_statistics_jiffies = stamp; in iwlagn_rx_statistics()
Drs.h301 unsigned long stamp; member
Drs.c251 window->stamp = 0; in rs_rate_scale_clear_window()
536 window->stamp = jiffies; in rs_collect_tx_data()
/linux-4.4.14/net/ipv4/
Dicmp.c241 u32 stamp; member
262 delta = min_t(u32, now - icmp_global.stamp, HZ); in icmp_global_allow()
268 delta = min_t(u32, now - icmp_global.stamp, HZ); in icmp_global_allow()
272 icmp_global.stamp = now; in icmp_global_allow()
Dip_fragment.c487 qp->q.stamp = skb->tstamp; in ip_frag_queue()
616 head->tstamp = qp->q.stamp; in ip_frag_reasm()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-rs.c139 win->stamp = 0; in il3945_clear_win()
167 if (time_after(jiffies, rs_sta->win[i].stamp + RATE_WIN_FLUSH)) { in il3945_rate_scale_flush_wins()
325 win->stamp = jiffies; in il3945_collect_tx_data()
D3945.h73 unsigned long stamp; member
D4965-rs.c236 win->stamp = 0; in il4965_rs_rate_scale_clear_win()
488 win->stamp = jiffies; in il4965_rs_collect_tx_data()
Dcommon.h2759 unsigned long stamp; member
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c245 __be32 stamp = cpu_to_be32(STAMP_VAL | (!!owner << STAMP_SHIFT)); in mlx4_en_stamp_wqe() local
257 *ptr = stamp; in mlx4_en_stamp_wqe()
264 *ptr = stamp; in mlx4_en_stamp_wqe()
268 stamp ^= cpu_to_be32(0x80000000); in mlx4_en_stamp_wqe()
/linux-4.4.14/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.4.14/net/ieee802154/6lowpan/
Dreassembly.c194 fq->q.stamp = skb->tstamp; in lowpan_frag_queue()
306 head->tstamp = fq->q.stamp; in lowpan_frag_reasm()
/linux-4.4.14/drivers/net/ethernet/ti/
DKconfig83 the CPSW Ethernet Switch. The unit can time stamp PTP UDP/IPv4
/linux-4.4.14/drivers/md/
Ddm-stats.c37 unsigned long long stamp; member
499 difference = now - shared->stamp; in dm_stat_round()
513 shared->stamp = now; in dm_stat_round()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dqp.c215 __be32 stamp; in stamp_send_wqe() local
222 stamp = ind & qp->sq.wqe_cnt ? cpu_to_be32(0x7fffffff) : in stamp_send_wqe()
226 *wqe = stamp; in stamp_send_wqe()
2759 int uninitialized_var(stamp); in mlx4_ib_post_send()
3019 stamp = ind + qp->sq_spare_wqes; in mlx4_ib_post_send()
3032 stamp_send_wqe(qp, stamp, size * 16); in mlx4_ib_post_send()
3056 stamp_send_wqe(qp, stamp, size * 16); in mlx4_ib_post_send()
/linux-4.4.14/block/
Dblk-core.c1410 if (now == part->stamp) in part_round_stats_single()
1416 inflight * (now - part->stamp)); in part_round_stats_single()
1417 __part_stat_add(cpu, part, io_ticks, (now - part->stamp)); in part_round_stats_single()
1419 part->stamp = now; in part_round_stats_single()
Dgenhd.c663 disk->part0.stamp = 0; in del_gendisk()
/linux-4.4.14/include/linux/ceph/
Dceph_fs.h282 struct ceph_timespec stamp; member
/linux-4.4.14/Documentation/filesystems/
Dvfat.txt244 unsigned char time[2]; // time stamp
245 unsigned char date[2]; // date stamp
/linux-4.4.14/Documentation/hid/
Dhid-sensor.txt223 consist of a 32 bit usage id, 64 bit time stamp and 32 bit length field of raw
/linux-4.4.14/sound/core/
Dpcm_native.c290 unsigned int stamp = 2; in snd_pcm_hw_refine() local
408 rstamps[k] = stamp; in snd_pcm_hw_refine()
411 vstamps[r->var] = stamp; in snd_pcm_hw_refine()
416 stamp++; in snd_pcm_hw_refine()
/linux-4.4.14/Documentation/x86/x86_64/
Dboot-options.txt92 Don't use the CPU time stamp counter to read the wall time.
/linux-4.4.14/arch/arc/
DKconfig137 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr
/linux-4.4.14/Documentation/virtual/kvm/
Dtimekeeping.txt314 The TSC or time stamp counter is relatively simple in theory; it counts
522 accurate time stamp counter reading may therefore not always be available, and
/linux-4.4.14/arch/x86/
DKconfig.cpu24 (time stamp counter) register.
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db571 API-auditsc-get-stamp
/linux-4.4.14/arch/s390/kernel/
Dentry.S1086 0: # update accounting time stamp
/linux-4.4.14/Documentation/
Dparport-lowlevel.txt4 Time-stamp: <2000-02-24 13:30:20 twaugh>
/linux-4.4.14/Documentation/trace/
Dftrace.txt322 "timestamp" is added. This stamp comes from a specified
345 uptime: This uses the jiffies counter and the time stamp
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES371 which was cached could cause the file's time stamp to be updated
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c6128 u64 stamp = tr32(TG3_EAV_REF_CLCK_LSB); in tg3_refclk_read() local
6129 return stamp | (u64)tr32(TG3_EAV_REF_CLCK_MSB) << 32; in tg3_refclk_read()