Home
last modified time | relevance | path

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

1234

/Linux-v5.4/net/netfilter/
Dxt_time.c163 s64 stamp; in time_mt() local
183 stamp = get_seconds(); in time_mt()
187 stamp -= 60 * sys_tz.tz_minuteswest; in time_mt()
198 if (stamp < info->date_start || stamp > info->date_stop) in time_mt()
201 packet_time = localtime_1(&current_time, stamp); in time_mt()
222 stamp -= SECONDS_PER_DAY; in time_mt()
225 localtime_2(&current_time, stamp); in time_mt()
232 localtime_3(&current_time, stamp); in time_mt()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtimestamping.c162 struct timeval *stamp = in printpacket() local
165 (long)stamp->tv_sec, in printpacket()
166 (long)stamp->tv_usec); in printpacket()
170 struct timespec *stamp = in printpacket() local
173 (long)stamp->tv_sec, in printpacket()
174 (long)stamp->tv_nsec); in printpacket()
178 struct timespec *stamp = in printpacket() local
182 (long)stamp->tv_sec, in printpacket()
183 (long)stamp->tv_nsec); in printpacket()
184 stamp++; in printpacket()
[all …]
/Linux-v5.4/fs/ntfs/
Dusnjrnl.c37 sle64 stamp; in ntfs_stamp_usnjrnl() local
48 stamp = get_current_ntfs_time(); in ntfs_stamp_usnjrnl()
55 (long long)sle64_to_cpu(stamp), in ntfs_stamp_usnjrnl()
59 uh->journal_id = stamp; in ntfs_stamp_usnjrnl()
/Linux-v5.4/include/linux/
Dww_mutex.h23 atomic_long_t stamp; member
33 unsigned long stamp; member
67 { .stamp = ATOMIC_LONG_INIT(0) \
133 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp); in ww_acquire_init()
150 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
/Linux-v5.4/security/tomoyo/
Daudit.c152 struct tomoyo_time stamp; in tomoyo_print_header() local
163 tomoyo_convert_time(ktime_get_real_seconds(), &stamp); in tomoyo_print_header()
167 stamp.year, stamp.month, stamp.day, stamp.hour, in tomoyo_print_header()
168 stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], in tomoyo_print_header()
Dutil.c91 void tomoyo_convert_time(time64_t time64, struct tomoyo_time *stamp) in tomoyo_convert_time() argument
96 stamp->sec = tm.tm_sec; in tomoyo_convert_time()
97 stamp->min = tm.tm_min; in tomoyo_convert_time()
98 stamp->hour = tm.tm_hour; in tomoyo_convert_time()
99 stamp->day = tm.tm_mday; in tomoyo_convert_time()
100 stamp->month = tm.tm_mon + 1; in tomoyo_convert_time()
101 stamp->year = tm.tm_year + 1900; in tomoyo_convert_time()
/Linux-v5.4/net/ipv6/
Dmip6.c109 ktime_t stamp; member
175 static inline int mip6_report_rl_allow(ktime_t stamp, in mip6_report_rl_allow() argument
182 if (mip6_report_rl.stamp != stamp || in mip6_report_rl_allow()
186 mip6_report_rl.stamp = stamp; in mip6_report_rl_allow()
205 ktime_t stamp; in mip6_destopt_reject() local
219 stamp = skb_get_ktime(skb); in mip6_destopt_reject()
221 if (!mip6_report_rl_allow(stamp, &ipv6_hdr(skb)->daddr, in mip6_destopt_reject()
/Linux-v5.4/kernel/gcov/
Dgcc_3_4.c76 unsigned int stamp; member
204 return (info1->stamp == info2->stamp); in gcov_info_is_compatible()
264 dup->stamp = info->stamp; in gcov_info_dup()
544 rc = seq_write_gcov_u32(seq, iter->info->stamp); in gcov_iter_write()
Dgcc_4_7.c90 unsigned int stamp; member
225 return (info1->stamp == info2->stamp); in gcov_info_is_compatible()
450 pos += store_gcov_u32(buffer, pos, info->stamp); in convert_to_gcda()
/Linux-v5.4/tools/perf/arch/x86/tests/
Drdpmc.c133 u64 stamp, now, delta; in __test__rdpmc() local
135 stamp = mmap_read_self(addr); in __test__rdpmc()
143 delta = now - stamp; in __test__rdpmc()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gmc.c271 uint64_t stamp, key = addr << 4 | pasid; in amdgpu_gmc_filter_faults() local
276 stamp = max(timestamp, AMDGPU_GMC_FAULT_TIMEOUT + 1) - in amdgpu_gmc_filter_faults()
278 if (gmc->fault_ring[gmc->last_fault].timestamp >= stamp) in amdgpu_gmc_filter_faults()
284 while (fault->timestamp >= stamp) { in amdgpu_gmc_filter_faults()
/Linux-v5.4/fs/isofs/
Drock.h68 struct stamp { struct
74 struct stamp times[0]; /* Variable number of these beasts */ argument
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c368 u64 stamp = 0; in ixgbe_ptp_read_82599() local
370 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_read_82599()
371 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_read_82599()
373 return stamp; in ixgbe_ptp_read_82599()
564 u64 ns, stamp; in ixgbe_ptp_gettimex() local
582 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex()
586 stamp = IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_gettimex()
588 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_gettimex()
592 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
/Linux-v5.4/drivers/usb/mon/
Dmon_text.c185 unsigned int stamp; in mon_get_timestamp() local
188 stamp = now.tv_sec & 0xFFF; /* 2^32 = 4294967296. Limit to 4096s. */ in mon_get_timestamp()
189 stamp = stamp * USEC_PER_SEC + now.tv_nsec / NSEC_PER_USEC; in mon_get_timestamp()
190 return stamp; in mon_get_timestamp()
197 unsigned int stamp; in mon_text_event() local
202 stamp = mon_get_timestamp(); in mon_text_event()
217 ep->tstamp = stamp; in mon_text_event()
/Linux-v5.4/tools/power/pm-graph/
Dbootgraph.py296 sysvals.stamp = {
311 tp.stamp = line
334 if(not sysvals.stamp['kernel']):
335 sysvals.stamp['kernel'] = sysvals.kernelVersion(msg)
342 sysvals.stamp['time'] = bt.strftime('%B %d %Y, %I:%M:%S %p')
366 if tp.stamp:
367 sysvals.stamp = 0
529 devtl.createHeader(sysvals, sysvals.stamp)
1099 sysvals.stamp['boot'] = (data.tUserMode - data.start) * 1000
1100 sysvals.stamp['lastinit'] = data.end * 1000
[all …]
Dsleepgraph.py146 stamp = 0 variable in SystemValues
1240 self.stamp = 0
2444 def createHeader(self, sv, stamp): argument
2445 if(not stamp['time']):
2456 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2457 stamp['mode'], stamp['time'])
2458 if 'man' in stamp and 'plat' in stamp and 'cpu' in stamp and \
2459 stamp['man'] and stamp['plat'] and stamp['cpu']:
2461 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2695 self.stamp = ''
[all …]
/Linux-v5.4/Documentation/driver-api/
Dptp.rst24 - Time stamp external events
80 - 2 Time stamp external triggers, programmable polarity (opt. interrupt)
89 - GPIO inputs can time stamp external triggers
/Linux-v5.4/include/net/
Ddn.h120 unsigned long stamp; /* time of last transmit */ member
165 unsigned long stamp; member
/Linux-v5.4/drivers/net/can/softing/
Dsofting_fw.c23 unsigned long stamp; in _softing_fct_cmd() local
30 stamp = jiffies + 1 * HZ; in _softing_fct_cmd()
42 if ((ret != vector) || time_after(jiffies, stamp)) in _softing_fct_cmd()
69 unsigned long stamp; in softing_bootloader_command() local
75 stamp = jiffies + 3 * HZ; in softing_bootloader_command()
83 if (time_after(jiffies, stamp)) in softing_bootloader_command()
/Linux-v5.4/net/decnet/
Ddn_nsp_out.c74 scp->stamp = jiffies; in dn_nsp_send()
213 cb->stamp = jiffies; in dn_nsp_clone_and_send()
354 if ((jiffies - scp->stamp) > t) in dn_nsp_queue_xmit()
376 unsigned long reftime = cb->stamp; in dn_nsp_check_xmit_queue()
399 pkttime = cb2->stamp; in dn_nsp_check_xmit_queue()
/Linux-v5.4/lib/
Dlocking-selftest.c1313 t.stamp++; in ww_test_fail_acquire()
1329 t2.stamp++; in ww_test_fail_acquire()
1482 t2.stamp--; in ww_test_edeadlk_normal()
1508 t2.stamp--; in ww_test_edeadlk_normal_slow()
1534 t2.stamp--; in ww_test_edeadlk_no_unlock()
1559 t2.stamp--; in ww_test_edeadlk_no_unlock_slow()
1584 t2.stamp--; in ww_test_edeadlk_acquire_more()
1605 t2.stamp--; in ww_test_edeadlk_acquire_more_slow()
1630 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk()
1656 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk_slow()
[all …]
/Linux-v5.4/include/uapi/drm/
Ddrm_sarea.h60 unsigned int stamp; member
/Linux-v5.4/arch/ia64/oprofile/
Dperfmon.c21 struct pt_regs *regs, unsigned long stamp) in perfmon_handler() argument
/Linux-v5.4/tools/usb/usbip/
D.gitignore22 stamp-h1
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-net-janz-ican317 Firmware stamp of ican3 module

1234