/linux/net/netfilter/ |
H A D | xt_time.c | 163 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(¤t_time, stamp); in time_mt() 225 stamp -= SECONDS_PER_DAY; in time_mt() 228 localtime_2(¤t_time, stamp); in time_mt() 235 localtime_3(¤t_time, stamp); in time_mt()
|
/linux/tools/testing/selftests/net/ |
H A D | timestamping.c | 181 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 D | ww_mutex.h | 39 atomic_long_t stamp; member 57 unsigned long stamp; member 86 { .stamp = ATOMIC_LONG_INIT(0) \ 146 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp); in ww_acquire_init() 166 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
|
/linux/tools/testing/selftests/powerpc/nx-gzip/include/ |
H A D | crb.h | 136 #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 D | mip6.c | 109 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 D | audit.c | 152 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 D | util.c | 91 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 D | vas-fault.c | 107 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 D | ptp.rst | 24 - 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/kernel/gcov/ |
H A D | gcc_4_7.c | 86 * @stamp: uniquifying time stamp 99 unsigned int stamp; 238 return (info1->stamp == info2->stamp); 398 pos += store_gcov_u32(buffer, pos, info->stamp); in convert_to_gcda() 97 unsigned int stamp; global() member
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_log.c | 174 snapshot->stamp = ~0ULL; in xe_guc_log_snapshot_capture() 176 snapshot->stamp = xe_mmio_read64_2x32(>->mmio, GUC_PMTIMESTAMP_LO); in xe_guc_log_snapshot_capture() 208 drm_printf(p, "GuC timestamp: 0x%08llX [%llu]\n", snapshot->stamp, snapshot->stamp); in xe_guc_log_snapshot_print()
|
/linux/fs/isofs/ |
H A D | rock.h | 68 struct stamp { struct 74 struct stamp times[]; /* Variable number of these beasts */ argument
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 371 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() 554 u64 ns, stamp; in ixgbe_ptp_gettimex() local 572 stamp = timespec64_to_ns(ts); in ixgbe_ptp_gettimex() 576 stamp = IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_gettimex() 578 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_gettimex() 582 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
|
/linux/drivers/usb/mon/ |
H A D | mon_text.c | 185 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 D | bootgraph.py | 298 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 …]
|
/linux/drivers/net/can/softing/ |
H A D | softing_fw.c | 23 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 D | mvpp2_tai.c | 63 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/include/uapi/drm/ |
H A D | drm_sarea.h | 60 unsigned int stamp; member
|
/linux/lib/ |
H A D | locking-selftest.c | 1674 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 …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-net-janz-ican3 | 17 Firmware stamp of ican3 module
|
/linux/tools/usb/usbip/ |
H A D | .gitignore | 23 stamp-h1
|
/linux/arch/powerpc/platforms/book3s/ |
H A D | vas-api.c | 178 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 D | ccid3.c | 114 static void ccid3_hc_tx_update_x(struct sock *sk, ktime_t *stamp) in ccid3_hc_tx_update_x() argument 119 ktime_t now = stamp ? *stamp : ktime_get_real(); in ccid3_hc_tx_update_x() 387 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp)); in ccid3_hc_tx_packet_recv()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rx.c | 211 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()
|
/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-cmd.c | 248 unsigned long stamp; in saa7164_cmd_wait() local 266 stamp = jiffies; in saa7164_cmd_wait() 280 r = time_before(jiffies, stamp + (HZ * waitsecs)); in saa7164_cmd_wait()
|