Home
last modified time | relevance | path

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

1234

/linux-6.1.9/net/netfilter/
Dxt_time.c163 time64_t stamp; in time_mt() local
183 stamp = ktime_get_real_seconds(); in time_mt()
187 stamp -= 60 * sys_tz.tz_minuteswest; in time_mt()
201 if (stamp < info->date_start || stamp > info->date_stop) in time_mt()
204 packet_time = localtime_1(&current_time, stamp); in time_mt()
225 stamp -= SECONDS_PER_DAY; in time_mt()
228 localtime_2(&current_time, stamp); in time_mt()
235 localtime_3(&current_time, stamp); in time_mt()
/linux-6.1.9/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-6.1.9/tools/testing/selftests/net/
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-6.1.9/include/linux/
Dww_mutex.h39 atomic_long_t stamp; member
57 unsigned long stamp; member
76 { .stamp = ATOMIC_LONG_INIT(0) \
136 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp); in ww_acquire_init()
153 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
/linux-6.1.9/tools/testing/selftests/powerpc/nx-gzip/include/
Dcrb.h136 #define crb_nx_fault_addr(c) __be64_to_cpu(c->stamp.nx.fault_storage_addr)
137 #define crb_nx_flags(c) c->stamp.nx.flags
138 #define crb_nx_fault_status(c) c->stamp.nx.fault_status
139 #define crb_nx_pswid(c) c->stamp.nx.pswid
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/powerpc/platforms/powernv/
Dvas-fault.c107 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn()
120 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn()
133 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn()
147 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn()
/linux-6.1.9/kernel/gcov/
Dgcc_4_7.c97 unsigned int stamp; member
236 return (info1->stamp == info2->stamp); in gcov_info_is_compatible()
396 pos += store_gcov_u32(buffer, pos, info->stamp); in convert_to_gcda()
/linux-6.1.9/fs/isofs/
Drock.h68 struct stamp { struct
74 struct stamp times[]; /* Variable number of these beasts */ argument
/linux-6.1.9/Documentation/driver-api/
Dptp.rst24 - Time stamp external events
81 - 2 Time stamp external triggers, programmable polarity (opt. interrupt)
90 - GPIO inputs can time stamp external triggers
104 - Programmable inputs can time stamp external triggers
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c371 u64 stamp = 0; in ixgbe_ptp_read_82599() local
373 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_read_82599()
374 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_read_82599()
376 return stamp; in ixgbe_ptp_read_82599()
570 u64 ns, stamp; in ixgbe_ptp_gettimex() local
588 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex()
592 stamp = IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_gettimex()
594 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_gettimex()
598 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
/linux-6.1.9/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-6.1.9/tools/power/pm-graph/
Dbootgraph.py298 sysvals.stamp = {
313 tp.stamp = line
336 if(not sysvals.stamp['kernel']):
337 sysvals.stamp['kernel'] = sysvals.kernelVersion(msg)
344 sysvals.stamp['time'] = bt.strftime('%B %d %Y, %I:%M:%S %p')
368 if tp.stamp:
369 sysvals.stamp = 0
531 devtl.createHeader(sysvals, sysvals.stamp)
1101 sysvals.stamp['boot'] = (data.tUserMode - data.start) * 1000
1102 sysvals.stamp['lastinit'] = data.end * 1000
[all …]
Dsleepgraph.py160 stamp = 0 variable in SystemValues
1487 self.stamp = 0
2733 def createHeader(self, sv, stamp): argument
2734 if(not stamp['time']):
2745 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2746 stamp['mode'], stamp['time'])
2747 if 'man' in stamp and 'plat' in stamp and 'cpu' in stamp and \
2748 stamp['man'] and stamp['plat'] and stamp['cpu']:
2750 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
2987 self.stamp = ''
[all …]
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_tai.c63 struct timespec64 stamp; member
306 mvpp22_tai_gettimex64(ptp, &tai->stamp, NULL); in mvpp22_tai_aux_work()
355 ts.tv_sec = READ_ONCE(tai->stamp.tv_sec); in mvpp22_tai_tstamp()
/linux-6.1.9/include/uapi/drm/
Ddrm_sarea.h60 unsigned int stamp; member
/linux-6.1.9/tools/usb/usbip/
D.gitignore23 stamp-h1
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-net-janz-ican317 Firmware stamp of ican3 module
/linux-6.1.9/block/
Dblk-core.c917 unsigned long stamp; in update_io_ticks() local
919 stamp = READ_ONCE(part->bd_stamp); in update_io_ticks()
920 if (unlikely(time_after(now, stamp))) { in update_io_ticks()
921 if (likely(try_cmpxchg(&part->bd_stamp, &stamp, now))) in update_io_ticks()
922 __part_stat_add(part, io_ticks, end ? now - stamp : 1); in update_io_ticks()
/linux-6.1.9/arch/powerpc/platforms/book3s/
Dvas-api.c176 csb.address = crb->stamp.nx.fault_storage_addr; in vas_update_csb()
257 nx = &crb->stamp.nx; in vas_dump_crb()
260 be64_to_cpu(crb->stamp.nx.fault_storage_addr), in vas_dump_crb()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gmc.c370 uint64_t stamp, key = amdgpu_gmc_fault_key(addr, pasid); in amdgpu_gmc_filter_faults() local
379 stamp = max(timestamp, AMDGPU_GMC_FAULT_TIMEOUT + 1) - in amdgpu_gmc_filter_faults()
381 if (gmc->fault_ring[gmc->last_fault].timestamp >= stamp) in amdgpu_gmc_filter_faults()
387 while (fault->timestamp >= stamp) { in amdgpu_gmc_filter_faults()
/linux-6.1.9/lib/
Dlocking-selftest.c1674 t.stamp++; in ww_test_fail_acquire()
1690 t2.stamp++; in ww_test_fail_acquire()
1859 t2.stamp--; in ww_test_edeadlk_normal()
1885 t2.stamp--; in ww_test_edeadlk_normal_slow()
1911 t2.stamp--; in ww_test_edeadlk_no_unlock()
1936 t2.stamp--; in ww_test_edeadlk_no_unlock_slow()
1961 t2.stamp--; in ww_test_edeadlk_acquire_more()
1982 t2.stamp--; in ww_test_edeadlk_acquire_more_slow()
2007 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk()
2033 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk_slow()
[all …]

1234