/net/rxrpc/ |
H A D | ar-transport.c | 115 /* 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);
|
H A D | ar-connection.c | 392 /* we've got a connection with a free channel and we can now attach the 577 /* we've got a connection with a free channel and we can now attach the 701 /* we can now add the new candidate to the list */ 849 unsigned long now, earliest, reap_time; local 855 now = get_seconds(); 862 (long) now - (long) conn->put_time); 873 } else if (reap_time <= now) { 896 _debug("reschedule reaper %ld", (long) earliest - now); 897 ASSERTCMP(earliest, >, now); 899 (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 | 85 /* 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 D | gss_krb5_unseal.c | 82 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)
|
/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 | 348 __be32 now = htonl(dccp_timestamp()); local 352 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 | nfnetlink_acct.c | 458 u64 now; local 467 now = (nfacct->flags & NFACCT_F_QUOTA_PKTS) ? 470 ret = now > *quota; 472 if (now >= *quota &&
|
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)) { 343 unsigned long now = jiffies; local 351 if (!timer_prev || time_before(timer->timer.expires, now)) { 383 unsigned long now = jiffies; local [all...] |
/net/sctp/ |
H A D | probe.c | 141 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 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/hsr/ |
H A D | hsr_framereg.c | 136 unsigned long now; local 148 now = jiffies; 150 node->time_in[i] = now;
|
/net/ipv4/ |
H A D | inet_timewait_sock.c | 424 unsigned long now = jiffies; local 438 if (time_before_eq(j, now)) {
|
H A D | tcp_htcp.c | 107 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 D | inetpeer.c | 340 /* lockless readers can catch us now */ \ 493 * The rate information is held in the inet_peer entries now. 511 unsigned long now, token; local 518 now = jiffies; 519 token += now - peer->rate_last; 520 peer->rate_last = now;
|
H A D | tcp_cubic.c | 367 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/sched/ |
H A D | act_police.c | 259 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/tipc/ |
H A D | name_distr.c | 324 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/irda/ |
H A D | irlap.c | 352 * Must set frame format now so that the rest of the code knows 831 * min turn time, so now we must calculate how many chars (XBOF's) we 868 static void irlap_change_speed(struct irlap_cb *self, __u32 speed, int now) argument 879 /* Change speed now, or just piggyback speed on frames */ 880 if (now) { 929 /* Use 500ms in IrLAP for now */ 939 * Function irlap_apply_default_connection_parameters (void, now) 998 * Function irlap_apply_connection_parameters (qos, now) 1002 * If 'now' is false, the speed and xbofs will be changed after the next 1004 * If 'now' i 1006 irlap_apply_connection_parameters(struct irlap_cb *self, int now) argument [all...] |