/linux/net/netfilter/ |
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/ |
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() 203 stamp++; in printpacket() 205 stamp++; in printpacket() [all …]
|
/linux/fs/ntfs/ |
A D | usnjrnl.c | 37 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/include/linux/ |
A D | ww_mutex.h | 39 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/net/ipv6/ |
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/tools/testing/selftests/powerpc/nx-gzip/include/ |
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/security/tomoyo/ |
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()
|
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/ |
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/tools/perf/arch/x86/tests/ |
A D | rdpmc.c | 133 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/kernel/gcov/ |
A D | gcc_4_7.c | 89 unsigned int stamp; member 224 return (info1->stamp == info2->stamp); in gcov_info_is_compatible() 384 pos += store_gcov_u32(buffer, pos, info->stamp); in convert_to_gcda()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ptp.c | 368 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/Documentation/driver-api/ |
A D | ptp.rst | 24 - 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/fs/isofs/ |
A D | rock.h | 68 struct stamp { struct 74 struct stamp times[]; /* Variable number of these beasts */ argument
|
/linux/tools/power/pm-graph/ |
A D | bootgraph.py | 296 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 …]
|
A D | sleepgraph.py | 150 stamp = 0 variable in SystemValues 1402 self.stamp = 0 2660 stamp['mode'], stamp['time']) 2661 if 'man' in stamp and 'plat' in stamp and 'cpu' in stamp and \ 2662 stamp['man'] and stamp['plat'] and stamp['cpu']: 2664 self.html += headline_sysinfo.format(stamp['man'], stamp['plat'], stamp['cpu']) 2897 self.stamp = '' 2989 sv.stamp = data.stamp 6010 stamp = data.stamp 6011 stamp['suspend'], stamp['resume'] = data.getTimeValues() [all …]
|
/linux/drivers/usb/mon/ |
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/drivers/net/can/softing/ |
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/net/decnet/ |
A D | dn_nsp_out.c | 74 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/include/net/ |
A D | dn.h | 120 unsigned long stamp; /* time of last transmit */ member 165 unsigned long stamp; member
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
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/arch/powerpc/platforms/book3s/ |
A D | vas-api.c | 176 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/include/uapi/drm/ |
A D | drm_sarea.h | 60 unsigned int stamp; member
|
/linux/lib/ |
A D | locking-selftest.c | 1625 t.stamp++; in ww_test_fail_acquire() 1641 t2.stamp++; in ww_test_fail_acquire() 1794 t2.stamp--; in ww_test_edeadlk_normal() 1820 t2.stamp--; in ww_test_edeadlk_normal_slow() 1846 t2.stamp--; in ww_test_edeadlk_no_unlock() 1871 t2.stamp--; in ww_test_edeadlk_no_unlock_slow() 1896 t2.stamp--; in ww_test_edeadlk_acquire_more() 1917 t2.stamp--; in ww_test_edeadlk_acquire_more_slow() 1942 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk() 1968 t2.stamp--; in ww_test_edeadlk_acquire_more_edeadlk_slow() [all …]
|
/linux/block/ |
A D | blk-core.c | 1223 unsigned long stamp; in update_io_ticks() local 1225 stamp = READ_ONCE(part->bd_stamp); in update_io_ticks() 1226 if (unlikely(time_after(now, stamp))) { in update_io_ticks() 1227 if (likely(cmpxchg(&part->bd_stamp, stamp, now) == stamp)) in update_io_ticks() 1228 __part_stat_add(part, io_ticks, end ? now - stamp : 1); in update_io_ticks()
|