Home
last modified time | relevance | path

Searched refs:stamp (Results 1 - 25 of 133) sorted by relevance

123456

/kernel/linux/linux-5.10/net/netfilter/
H A 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()
/kernel/linux/linux-6.6/net/netfilter/
H A 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()
/kernel/linux/linux-5.10/fs/ntfs/
H A Dusnjrnl.c24 * ntfs_stamp_usnjrnl - stamp the transaction log ($UsnJrnl) on an ntfs volume
25 * @vol: ntfs volume on which to stamp the transaction log
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()
/kernel/linux/linux-6.6/fs/ntfs/
H A Dusnjrnl.c24 * ntfs_stamp_usnjrnl - stamp the transaction log ($UsnJrnl) on an ntfs volume
25 * @vol: ntfs volume on which to stamp the transaction log
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()
/kernel/linux/linux-5.10/include/linux/
H A Dww_mutex.h23 atomic_long_t stamp; member
33 unsigned long stamp; member
59 { .stamp = ATOMIC_LONG_INIT(0) \
125 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp); in ww_acquire_init()
142 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dtimestamping.c13 * without hardware support, SIOCGSTAMP[NS] (per-socket time stamp) and
61 " SIOCGSTAMP - check last socket time stamp\n" in usage()
62 " SIOCGSTAMPNS - more accurate socket time stamp\n"); in usage()
162 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
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtimestamping.c13 * without hardware support, SIOCGSTAMP[NS] (per-socket time stamp) and
62 " SIOCGSTAMP - check last socket time stamp\n" in usage()
63 " SIOCGSTAMPNS - more accurate socket time stamp\n" in usage()
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
[all...]
/kernel/linux/linux-6.6/include/linux/
H A 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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dvas-fault.c44 nx = &crb->stamp.nx; in dump_crb()
47 be64_to_cpu(crb->stamp.nx.fault_storage_addr), in dump_crb()
92 csb.address = crb->stamp.nx.fault_storage_addr; in update_csb()
251 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn()
264 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn()
277 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn()
291 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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.c87 * @stamp: Pointer to "struct tomoyo_time".
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()
/kernel/linux/linux-6.6/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.c87 * @stamp: Pointer to "struct tomoyo_time".
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()
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
H A 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()
/kernel/linux/linux-5.10/fs/isofs/
H A Drock.h68 struct stamp { struct
74 struct stamp times[]; /* Variable number of these beasts */
/kernel/linux/linux-6.6/fs/isofs/
H A Drock.h68 struct stamp { struct
74 struct stamp times[]; /* Variable number of these beasts */
/kernel/linux/linux-5.10/kernel/gcov/
H A Dgcc_4_7.c87 * @stamp: uniquifying time stamp
100 unsigned int stamp; member
239 return (info1->stamp == info2->stamp); in gcov_info_is_compatible()
464 pos += store_gcov_u32(buffer, pos, info->stamp); in convert_to_gcda()
/kernel/linux/linux-6.6/kernel/gcov/
H A Dgcc_4_7.c84 * @stamp: uniquifying time stamp
97 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A 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()
805 * ixgbe_ptp_tx_hwtstamp - utility function which checks for TX time stamp
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A 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()
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()
795 * ixgbe_ptp_tx_hwtstamp - utility function which checks for TX time stamp
[all...]

Completed in 17 milliseconds

123456