Searched refs:now (Results 1 - 25 of 67) sorted by relevance

123

/net/
H A Dactivity_stats.c41 ktime_t now; local
45 now = ktime_get();
46 delta = ktime_to_ns(ktime_sub(now, last_transmit));
57 last_transmit = now;
/net/dccp/
H A Dprobe.c57 struct timespec now; local
61 getnstimeofday(&now);
63 now = timespec_sub(now, dccpw.tstart);
66 (unsigned long) now.tv_sec,
67 (unsigned long) now.tv_nsec / NSEC_PER_USEC);
/net/sunrpc/auth_gss/
H A Dgss_krb5_seal.c85 /* ptr now at start of header described in rfc 1964, section 1.2.1: */
135 s32 now; local
142 now = get_seconds();
165 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE;
176 s32 now; local
206 now = get_seconds();
208 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE;
H A Dgss_krb5_unseal.c82 s32 now; local
127 now = get_seconds();
129 if (now > ctx->endtime)
152 s32 now; local
195 now = get_seconds();
196 if (now > ctx->endtime)
H A Dgss_krb5_wrap.c166 s32 now; local
175 now = get_seconds();
198 /* ptr now at header described in rfc 1964, section 1.2.1: */
262 return (kctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE;
273 s32 now; local
364 now = get_seconds();
366 if (now > kctx->endtime)
445 s32 now; local
490 now = get_seconds();
491 return (kctx->endtime < now)
497 s32 now; local
[all...]
/net/dccp/ccids/
H A Dccid3.c106 static u32 ccid3_hc_tx_idle_rtt(struct ccid3_hc_tx_sock *hc, ktime_t now) argument
108 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count);
129 ktime_t now = stamp ? *stamp : ktime_get_real(); local
137 if (ccid3_hc_tx_idle_rtt(hc, now) >= 2) {
147 } else if (ktime_us_delta(now, hc->tx_t_ld) - (s64)hc->tx_rtt >= 0) {
152 hc->tx_t_ld = now;
186 ktime_t now)
188 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count),
192 hc->tx_t_last_win_count = now;
284 ktime_t now local
185 ccid3_hc_tx_update_win_count(struct ccid3_hc_tx_sock *hc, ktime_t now) argument
371 ktime_t now; local
602 ktime_t now = ktime_get_real(); local
[all...]
H A Dccid2.c164 /* if we were blocked before, we may now send cwnd=1 packet */
194 static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) argument
207 hc->tx_cwnd_stamp = now;
213 static void ccid2_cwnd_restart(struct sock *sk, const u32 now) argument
223 cwnd >>= (now - hc->tx_lsndtime) / hc->tx_rto;
226 hc->tx_cwnd_stamp = now;
236 const u32 now = ccid2_time_stamp; local
241 (s32)(now - hc->tx_lsndtime) >= hc->tx_rto)
242 ccid2_cwnd_restart(sk, now);
244 hc->tx_lsndtime = now;
[all...]
/net/netfilter/
H A Dxt_IDLETIMER.c191 unsigned long now = jiffies; local
201 if (time_after(expires, now))
203 jiffies_to_msecs(expires - now) / 1000);
207 jiffies_to_msecs(now - expires) / 1000);
239 unsigned long time_diff, now = jiffies; local
254 /* since jiffies are not updated when suspended now represents
256 if (time_after(timer->timer.expires, now)) {
260 if (timer->timer.expires > (time_diff + now)) {
343 unsigned long now = jiffies; local
351 if (!timer_prev || time_before(timer->timer.expires, now)) {
383 unsigned long now = jiffies; local
[all...]
H A Dxt_limit.c73 unsigned long now = jiffies; local
76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY;
H A Dnfnetlink_acct.c458 u64 now; local
467 now = (nfacct->flags & NFACCT_F_QUOTA_PKTS) ?
470 ret = now > *quota;
472 if (now >= *quota &&
H A Dxt_hashlimit.c445 static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, u32 mode) argument
447 unsigned long delta = now - dh->rateinfo.prev;
453 dh->rateinfo.prev = now;
610 unsigned long now = jiffies; local
628 dh->expires = now + msecs_to_jiffies(hinfo->cfg.expire);
629 rateinfo_recalc(dh, now, hinfo->cfg.mode);
636 dh->expires = now + msecs_to_jiffies(hinfo->cfg.expire);
637 rateinfo_recalc(dh, now, hinfo->cfg.mode);
/net/rxrpc/
H A Dar-transport.c115 /* we can now add the new candidate to the list */
223 unsigned long now, earliest, reap_time; local
229 now = get_seconds();
237 (long) now - (long) trans->put_time);
243 if (reap_time <= now)
251 _debug("reschedule reaper %ld", (long) earliest - now);
252 ASSERTCMP(earliest, >, now);
254 (earliest - now) * HZ);
/net/bridge/netfilter/
H A Debt_limit.c38 unsigned long now = jiffies; local
41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY;
/net/sctp/
H A Dprobe.c141 struct timespec now; local
152 getnstimeofday(&now);
153 now = timespec_sub(now, sctpw.tstart);
155 printl("%lu.%06lu ", (unsigned long) now.tv_sec,
156 (unsigned long) now.tv_nsec / NSEC_PER_USEC);
/net/atm/
H A Dmpoa_caches.c229 struct timeval now; local
231 do_gettimeofday(&now);
238 if ((now.tv_sec - entry->tv.tv_sec)
255 struct timeval now; local
258 do_gettimeofday(&now);
264 if ((now.tv_sec - entry->hold_down.tv_sec) <
269 if ((now.tv_sec - entry->reply_wait.tv_sec) >
302 struct timeval now; local
306 do_gettimeofday(&now);
313 if ((now
505 struct timeval now; local
[all...]
H A Dmpoa_proc.c140 struct timeval now; local
150 do_gettimeofday(&now);
158 (now.tv_sec-in_entry->tv.tv_sec),
177 (now.tv_sec-eg_entry->tv.tv_sec)),
/net/sched/
H A Dsch_cbq.c161 psched_time_t now; /* Cached timestamp */ member in struct:cbq_sched_data
168 transmit just now */
357 psched_time_t now = psched_get_time(); local
360 if (cl->undertime < now) {
412 psched_tdiff_t delay = cl->undertime - q->now;
430 cl->undertime = q->now + delay;
447 delay = b->undertime - q->now;
485 psched_tdiff_t delay = cl->undertime - q->now;
492 psched_time_t sched = q->now;
500 cl->undertime = q->now
552 cbq_undelay_prio(struct cbq_sched_data *q, int prio, psched_time_t now) argument
592 psched_time_t now; local
699 psched_time_t now; local
947 psched_time_t now; local
[all...]
H A Dsch_hhf.c201 u32 now = hhf_time_stamp(); local
209 if (hhf_time_before(prev, now)) {
232 u32 now = hhf_time_stamp(); local
239 if (hhf_time_before(prev, now))
272 u32 now = hhf_time_stamp(); local
276 if (hhf_time_before(prev, now)) {
279 q->hhf_arrays_reset_timestamp = now;
289 flow->hit_timestamp = now;
327 flow->hit_timestamp = now;
H A Dsch_fq.c393 static void fq_check_throttled(struct fq_sched_data *q, u64 now) argument
397 if (q->time_next_delayed_flow > now)
404 if (f->time_next_packet > now) {
417 u64 now = ktime_get_ns(); local
426 fq_check_throttled(q, now);
448 if (unlikely(f->head && now < f->time_next_packet)) {
467 f->time_next_packet = now;
493 f->time_next_packet = now + len;
788 u64 now = ktime_get_ns(); local
800 .time_next_delayed_flow = q->time_next_delayed_flow - now,
[all...]
H A Dact_police.c259 s64 now; local
282 now = ktime_get_ns();
283 toks = min_t(s64, now - police->tcfp_t_c,
297 police->tcfp_t_c = now;
/net/decnet/
H A DKconfig8 Digital (now Compaq). It provides reliable stream and sequenced
/net/ipv4/
H A Dtcp_htcp.c107 u32 now = tcp_time_stamp; local
121 ca->lasttime = now;
128 now - ca->lasttime >= ca->minRTT &&
130 __u32 cur_Bi = ca->packetcount * HZ / (now - ca->lasttime);
143 ca->lasttime = now;
206 * were getting just too full now).
H A Dtcp_cubic.c367 u32 now = bictcp_clock(); local
370 if ((s32)(now - ca->last_ack) <= hystart_ack_delta) {
371 ca->last_ack = now;
372 if ((s32)(now - ca->round_start) > ca->delay_min >> 4)
/net/tipc/
H A Dname_distr.c324 unsigned long now = get_jiffies_64(); local
331 e->expires = now + msecs_to_jiffies(sysctl_tipc_named_timeout);
344 unsigned long now = get_jiffies_64(); local
347 if (time_after(e->expires, now)) {
/net/netfilter/ipvs/
H A Dip_vs_lblc.c265 unsigned long now = jiffies; local
273 if (time_before(now,
296 * The full expiration check is for this purpose now.
302 unsigned long now = jiffies; local
329 if (time_before(now, en->lastuse + ENTRY_TIMEOUT))

Completed in 297 milliseconds

123