Home
last modified time | relevance | path

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

1234

/linux/net/netfilter/
H A Dxt_time.c159 time64_t stamp; in time_mt()
179 stamp = ktime_get_real_seconds(); in time_mt()
183 stamp -= 60 * sys_tz.tz_minuteswest; in time_mt()
197 if (stamp < info->date_start || stamp > info->date_stop) in time_mt()
200 packet_time = localtime_1(&current_time, stamp); in time_mt()
221 stamp -= SECONDS_PER_DAY; in time_mt()
224 localtime_2(&current_time, stamp); in time_mt()
231 localtime_3(&current_time, stamp); in time_mt()
163 time64_t stamp; time_mt() local
/linux/tools/testing/selftests/net/
H A 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/include/linux/
H A Dww_mutex.h40 atomic_long_t stamp;
58 unsigned long stamp;
87 { .stamp = ATOMIC_LONG_INIT(0) \
148 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp); in ww_acquire_init()
168 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
39 atomic_long_t stamp; global() member
57 unsigned long stamp; global() member
/linux/tools/testing/selftests/powerpc/nx-gzip/include/
H A 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/net/ipv6/
H A 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/security/tomoyo/
H A 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()
H A 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/arch/powerpc/platforms/powernv/
H A 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/Documentation/driver-api/
H A Dptp.rst24 - Time stamp external events
97 - 2 Time stamp external triggers, programmable polarity (opt. interrupt)
106 - GPIO inputs can time stamp external triggers
120 - Programmable inputs can time stamp external triggers
130 GPIO which can time stamp external triggers and one GPIO to produce
133 configured to either time stamp external triggers or produce
/linux/tools/testing/selftests/nolibc/
H A Drun-tests.sh137 stamp="${archive}.stamp"
139 [ -f "${stamp}" ] && return
145 touch "${stamp}"
/linux/kernel/gcov/
H A Dgcc_4_7.c97 unsigned int stamp; member
236 return (info1->stamp == info2->stamp); in gcov_info_is_compatible()
395 pos += store_gcov_u32(buffer, pos, info->stamp); in convert_to_gcda()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c372 u64 stamp = 0; in ixgbe_ptp_read_82599() local
374 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_read_82599()
375 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_read_82599()
377 return stamp; in ixgbe_ptp_read_82599()
558 u64 ns, stamp; in ixgbe_ptp_gettimex() local
577 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex()
581 stamp = IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_gettimex()
583 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_gettimex()
587 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
/linux/drivers/usb/mon/
H A 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/tools/power/pm-graph/
H A 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 …]
H A Dsleepgraph.py161 stamp = 0 variable in SystemValues
1528 self.stamp = 0
2776 def createHeader(self, sv, stamp): argument
2777 if(not stamp['time']):
2789 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2790 stamp['mode'], stamp['time'])
2791 if 'man' in stamp and 'plat' in stamp and 'cpu' in stamp and \
2792 stamp['man'] and stamp['plat'] and stamp['cpu']:
2794 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu'])
3031 self.stamp = ''
[all …]
/linux/drivers/net/can/softing/
H A 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/drivers/net/ethernet/marvell/mvpp2/
H A 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/kernel/
H A Daudit.c213 struct audit_stamp stamp; /* audit stamp for these records */ member
1883 struct audit_stamp *stamp) in audit_get_stamp() argument
1885 if (!ctx || !auditsc_get_stamp(ctx, stamp)) { in audit_get_stamp()
1886 ktime_get_coarse_real_ts64(&stamp->ctime); in audit_get_stamp()
1887 stamp->serial = audit_serial(); in audit_get_stamp()
1964 audit_get_stamp(ab->ctx, &ab->stamp); in audit_log_start()
1969 (unsigned long long)ab->stamp.ctime.tv_sec, in audit_log_start()
1970 ab->stamp.ctime.tv_nsec/1000000, in audit_log_start()
1971 ab->stamp.serial); in audit_log_start()
2255 (unsigned long long)ab->stamp.ctime.tv_sec, in audit_buffer_aux_new()
[all …]
/linux/include/uapi/drm/
H A Ddrm_sarea.h60 unsigned int stamp; member
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_log.c215 snapshot->stamp = ~0ULL; in xe_guc_log_snapshot_capture()
217 snapshot->stamp = xe_mmio_read64_2x32(&gt->mmio, GUC_PMTIMESTAMP_LO); in xe_guc_log_snapshot_capture()
248 drm_printf(p, "GuC timestamp: 0x%08llX [%llu]\n", snapshot->stamp, snapshot->stamp); in xe_guc_log_snapshot_print()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-janz-ican317 Firmware stamp of ican3 module
/linux/tools/usb/usbip/
H A D.gitignore23 stamp-h1
/linux/arch/powerpc/platforms/book3s/
H A Dvas-api.c178 csb.address = crb->stamp.nx.fault_storage_addr; in vas_update_csb()
258 nx = &crb->stamp.nx; in vas_dump_crb()
261 be64_to_cpu(crb->stamp.nx.fault_storage_addr), in vas_dump_crb()
/linux/net/dccp/ccids/
H A Dccid3.c
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c211 unsigned long stamp) in iwlagn_recover_from_statistics() argument
218 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwlagn_recover_from_statistics()
345 unsigned long stamp = jiffies; in iwlagn_rx_statistics() local
408 iwlagn_recover_from_statistics(priv, rx_ofdm, rx_ofdm_ht, tx, stamp); in iwlagn_rx_statistics()
423 priv->rx_statistics_jiffies = stamp; in iwlagn_rx_statistics()

1234