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

123

/linux-master/net/netfilter/
H A Dxt_time.c163 time64_t stamp; local
183 stamp = ktime_get_real_seconds();
187 stamp -= 60 * sys_tz.tz_minuteswest;
201 if (stamp < info->date_start || stamp > info->date_stop)
204 packet_time = localtime_1(&current_time, stamp);
225 stamp -= SECONDS_PER_DAY;
228 localtime_2(&current_time, stamp);
235 localtime_3(&current_time, stamp);
/linux-master/include/linux/
H A Dww_mutex.h39 atomic_long_t stamp; member in struct:ww_class
57 unsigned long stamp; member in struct:ww_acquire_ctx
76 { .stamp = ATOMIC_LONG_INIT(0) \
136 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp);
153 ctx->deadlock_inject_countdown = ctx->stamp & 0xf;
/linux-master/include/uapi/drm/
H A Ddrm_sarea.h60 unsigned int stamp; member in struct:drm_sarea_drawable
/linux-master/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-master/arch/powerpc/platforms/powernv/
H A Dvas-fault.c107 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY))
120 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY);
133 be32_to_cpu(crb->stamp.nx.pswid));
147 be32_to_cpu(crb->stamp.nx.pswid),
/linux-master/fs/isofs/
H A Drock.h68 struct stamp { struct
74 struct stamp times[]; /* Variable number of these beasts */
/linux-master/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"
63 " SIOCGSTAMPNS - more accurate socket time stamp\n"
181 struct timeval *stamp = local
184 (long)stamp->tv_sec,
185 (long)stamp->tv_usec);
189 struct timespec *stamp = local
192 (long)stamp->tv_sec,
193 (long)stamp->tv_nsec);
197 struct timespec *stamp local
[all...]
/linux-master/net/ipv6/
H A Dmip6.c109 ktime_t stamp; member in struct:mip6_report_rate_limiter
175 static inline int mip6_report_rl_allow(ktime_t stamp, argument
182 if (mip6_report_rl.stamp != stamp ||
186 mip6_report_rl.stamp = stamp;
205 ktime_t stamp; local
219 stamp = skb_get_ktime(skb);
221 if (!mip6_report_rl_allow(stamp, &ipv6_hdr(skb)->daddr,
/linux-master/tools/testing/selftests/nolibc/
H A Drun-tests.sh111 stamp="${archive}.stamp"
113 [ -f "${stamp}" ] && return
119 touch "${stamp}"
/linux-master/security/tomoyo/
H A Daudit.c152 struct tomoyo_time stamp; local
163 tomoyo_convert_time(ktime_get_real_seconds(), &stamp);
167 stamp.year, stamp.month, stamp.day, stamp.hour,
168 stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode],
H A Dutil.c87 * @stamp: Pointer to "struct tomoyo_time".
91 void tomoyo_convert_time(time64_t time64, struct tomoyo_time *stamp) argument
96 stamp->sec = tm.tm_sec;
97 stamp->min = tm.tm_min;
98 stamp->hour = tm.tm_hour;
99 stamp->day = tm.tm_mday;
100 stamp->month = tm.tm_mon + 1;
101 stamp->year = tm.tm_year + 1900;
/linux-master/kernel/gcov/
H A Dgcc_4_7.c84 * @stamp: uniquifying time stamp
97 unsigned int stamp; member in struct:gcov_info
236 return (info1->stamp == info2->stamp);
396 pos += store_gcov_u32(buffer, pos, info->stamp);
/linux-master/net/dccp/ccids/lib/
H A Dpacket_history.h34 * @stamp: send time of packet with sequence number @seqno
39 ktime_t stamp; member in struct:tfrc_tx_hist_entry
/linux-master/drivers/net/can/softing/
H A Dsofting_fw.c23 unsigned long stamp; local
30 stamp = jiffies + 1 * HZ;
42 if ((ret != vector) || time_after(jiffies, stamp))
69 unsigned long stamp; local
75 stamp = jiffies + 3 * HZ;
83 if (time_after(jiffies, stamp))
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_tai.c63 struct timespec64 stamp; member in struct:mvpp2_tai
306 mvpp22_tai_gettimex64(ptp, &tai->stamp, NULL);
352 * We use our stored timestamp (tai->stamp) to form a full timestamp,
355 ts.tv_sec = READ_ONCE(tai->stamp.tv_sec);
/linux-master/arch/powerpc/include/asm/
H A Dicswx.h154 } stamp; member in struct:coprocessor_request_block
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c371 u64 stamp = 0; local
373 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIML);
374 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32;
376 return stamp;
554 u64 ns, stamp; local
572 stamp = timespec64_to_ns(ts);
576 stamp = IXGBE_READ_REG(hw, IXGBE_SYSTIML);
578 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32;
582 ns = timecounter_cyc2time(&adapter->hw_tc, stamp);
795 * ixgbe_ptp_tx_hwtstamp - utility function which checks for TX time stamp
[all...]
/linux-master/tools/power/pm-graph/
H A Dbootgraph.py298 sysvals.stamp = {
311 # grab the stamp and sysinfo
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['boo
[all...]
H A Dsleepgraph.py160 stamp = 0 variable in class:SystemValues
534 # get the latest time stamp from the dmesg log
1505 self.stamp = 0
2753 def createHeader(self, sv, stamp):
2754 if(not stamp['time']):
2764 headline_stamp = '<div class="stamp">{0} {1} {2} {3}</div>\n'
2765 self.html += headline_stamp.format(stamp['host'], stamp['kernel'],
2766 stamp['mode'], stamp['tim
[all...]
/linux-master/drivers/usb/mon/
H A Dmon_text.c185 unsigned int stamp; local
188 stamp = now.tv_sec & 0xFFF; /* 2^32 = 4294967296. Limit to 4096s. */
189 stamp = stamp * USEC_PER_SEC + now.tv_nsec / NSEC_PER_USEC;
190 return stamp;
197 unsigned int stamp; local
202 stamp = mon_get_timestamp();
217 ep->tstamp = stamp;
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-cmd.c248 unsigned long stamp; local
266 stamp = jiffies;
280 r = time_before(jiffies, stamp + (HZ * waitsecs));
/linux-master/arch/powerpc/platforms/book3s/
H A Dvas-api.c178 csb.address = crb->stamp.nx.fault_storage_addr;
258 nx = &crb->stamp.nx;
261 be64_to_cpu(crb->stamp.nx.fault_storage_addr),
/linux-master/net/dccp/ccids/
H A Dccid3.c105 * @stamp: most recent time if available - can be left NULL.
114 static void ccid3_hc_tx_update_x(struct sock *sk, ktime_t *stamp) argument
119 ktime_t now = stamp ? *stamp : ktime_get_real();
387 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp));
/linux-master/include/net/
H A Dinet_frag.h76 * @stamp: timestamp of the last received fragment
79 * @mono_delivery_time: stamp has a mono delivery time (EDT)
97 ktime_t stamp; member in struct:inet_frag_queue
/linux-master/kernel/locking/
H A Dww_mutex.h265 return (signed long)(a->stamp - b->stamp) > 0;
347 * list is ordered by stamp, smallest (oldest) first.
437 * Since __ww_mutex_add_waiter() orders the wait-list on stamp, we only have to
463 * stamp is earlier than ours and we must kill ourself.
478 * Add @waiter to the wait-list, keep the wait-list ordered by stamp, smallest
504 * Add the waiter before the first waiter with a higher stamp.
507 * never die here, but they are sorted in stamp order and

Completed in 278 milliseconds

123