/net/rxrpc/ |
H A D | ar-transport.c | 111 /* we can now add the new candidate to the list */ 219 unsigned long now, earliest, reap_time; local 225 now = get_seconds(); 233 (long) now - (long) trans->put_time); 239 if (reap_time <= now) 247 _debug("reschedule reaper %ld", (long) earliest - now); 248 ASSERTCMP(earliest, >, now); 250 (earliest - now) * HZ);
|
H A D | ar-connection.c | 386 /* we've got a connection with a free channel and we can now attach the 571 /* we've got a connection with a free channel and we can now attach the 695 /* we can now add the new candidate to the list */ 843 unsigned long now, earliest, reap_time; local 849 now = get_seconds(); 856 (long) now - (long) conn->put_time); 867 } else if (reap_time <= now) { 890 _debug("reschedule reaper %ld", (long) earliest - now); 891 ASSERTCMP(earliest, >, now); 893 (earliest - now) * H [all...] |
/net/ |
H A D | activity_stats.c | 41 ktime_t now; local 45 now = ktime_get(); 46 delta = ktime_to_ns(ktime_sub(now, last_transmit)); 57 last_transmit = now;
|
/net/bridge/netfilter/ |
H A D | ebt_limit.c | 38 unsigned long now = jiffies; local 41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY;
|
/net/sunrpc/auth_gss/ |
H A D | gss_krb5_seal.c | 84 /* ptr now at start of header described in rfc 1964, section 1.2.1: */ 129 s32 now; local 136 now = get_seconds(); 159 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; 170 s32 now; local 200 now = get_seconds(); 202 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE;
|
H A D | gss_krb5_unseal.c | 82 s32 now; local 127 now = get_seconds(); 129 if (now > ctx->endtime) 152 s32 now; local 196 now = get_seconds(); 197 if (now > ctx->endtime)
|
/net/dccp/ |
H A D | input.c | 248 unsigned long now = jiffies; local 261 if (time_before(now, (dp->dccps_rate_last + 276 dp->dccps_rate_last = now; 443 * features, which were undefined or not confirmed until now. 467 * If feature negotiation was successful, activate features now; 543 * echo, etc, for now were not clearing it, sending an extra
|
H A D | probe.c | 57 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);
|
H A D | options.c | 380 __be32 now = htonl(dccp_timestamp()); local 384 return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now));
|
/net/netfilter/ |
H A D | xt_limit.c | 73 unsigned long now = jiffies; local 76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY;
|
H A D | xt_IDLETIMER.c | 191 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)) { 342 unsigned long now = jiffies; local 350 if (!timer_prev || time_before(timer->timer.expires, now)) { 386 unsigned long now = jiffies; local [all...] |
/net/sctp/ |
H A D | probe.c | 134 struct timespec now; local 143 getnstimeofday(&now); 144 now = timespec_sub(now, sctpw.tstart); 146 printl("%lu.%06lu ", (unsigned long) now.tv_sec, 147 (unsigned long) now.tv_nsec / NSEC_PER_USEC);
|
/net/atm/ |
H A D | mpoa_caches.c | 229 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 D | mpoa_proc.c | 140 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/dccp/ccids/ |
H A D | ccid2.c | 164 /* 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...] |
H A D | ccid3.c | 106 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...] |
/net/ipv4/ |
H A D | inet_fragment.c | 52 unsigned long now = jiffies; local 81 mod_timer(&f->secret_timer, now + f->secret_interval);
|
H A D | inet_timewait_sock.c | 425 unsigned long now = jiffies; local 439 if (time_before_eq(j, now)) {
|
H A D | tcp_htcp.c | 106 u32 now = tcp_time_stamp; local 120 ca->lasttime = now; 127 now - ca->lasttime >= ca->minRTT && 129 __u32 cur_Bi = ca->packetcount * HZ / (now - ca->lasttime); 142 ca->lasttime = now; 205 * were getting just too full now).
|
H A D | tcp_cubic.c | 364 u32 now = bictcp_clock(); local 367 if ((s32)(now - ca->last_ack) <= hystart_ack_delta) { 368 ca->last_ack = now; 369 if ((s32)(now - ca->round_start) > ca->delay_min >> 4)
|
/net/sched/ |
H A D | sch_tbf.c | 158 s64 now; local 163 now = ktime_to_ns(ktime_get()); 164 toks = min_t(s64, now - q->t_c, q->buffer); 182 q->t_c = now; 192 now + max_t(long, -toks, -ptoks)); 195 which can be sent now. It sounds cool,
|
H A D | act_police.c | 311 s64 now; local 334 now = ktime_to_ns(ktime_get()); 335 toks = min_t(s64, now - police->tcfp_t_c, 349 police->tcfp_t_c = now;
|
/net/irda/ |
H A D | irlap.c | 354 * Must set frame format now so that the rest of the code knows 833 * min turn time, so now we must calculate how many chars (XBOF's) we 870 static void irlap_change_speed(struct irlap_cb *self, __u32 speed, int now) argument 881 /* Change speed now, or just piggyback speed on frames */ 882 if (now) { 931 /* Use 500ms in IrLAP for now */ 941 * Function irlap_apply_default_connection_parameters (void, now) 1000 * Function irlap_apply_connection_parameters (qos, now) 1004 * If 'now' is false, the speed and xbofs will be changed after the next 1006 * If 'now' i 1008 irlap_apply_connection_parameters(struct irlap_cb *self, int now) argument [all...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_lblc.c | 271 unsigned long now = jiffies; local 279 if (time_before(now, 302 * The full expiration check is for this purpose now. 308 unsigned long now = jiffies; local 335 if (time_before(now, en->lastuse + ENTRY_TIMEOUT))
|
H A D | ip_vs_lblcr.c | 30 * now - serverSet[dest_ip].lastMod > T then 34 * serverSet[dest_ip].lastMod <- now; 438 unsigned long now = jiffies; local 449 sysctl_lblcr_expiration(svc), now)) 470 * The full expiration check is for this purpose now. 476 unsigned long now = jiffies; local 503 if (time_before(now, en->lastuse+ENTRY_TIMEOUT))
|