Searched defs:now (Results 26 - 50 of 64) sorted by relevance

123

/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))
H A Dip_vs_lblcr.c30 * now - serverSet[dest_ip].lastMod > T then
34 * serverSet[dest_ip].lastMod <- now;
428 unsigned long now = jiffies; local
439 sysctl_lblcr_expiration(svc), now))
460 * The full expiration check is for this purpose now.
466 unsigned long now = jiffies; local
493 if (time_before(now, en->lastuse+ENTRY_TIMEOUT))
/net/sched/
H A Dsch_pie.c272 psched_time_t now = psched_get_time(); local
273 u32 dtime = now - q->vars.dq_tstamp;
H A Dsch_tbf.c237 s64 now; local
242 now = ktime_get_ns();
243 toks = min_t(s64, now - q->t_c, q->buffer);
261 q->t_c = now;
271 now + max_t(long, -toks, -ptoks),
275 which can be sent now. It sounds cool,
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 Dsch_netem.c420 /* We don't fill cb now as skb_unshare() may invalidate it */
466 * do it now in software before we mangle it.
487 psched_time_t now; local
493 now = psched_get_time();
504 * Last packet in queue is reference point (now),
508 delay -= netem_skb_cb(last)->time_to_send - now;
510 now = netem_skb_cb(last)->time_to_send;
516 cb->time_to_send = now + delay;
/net/sunrpc/auth_gss/
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/appletalk/
H A Daarp.c1007 unsigned long now = jiffies; local
1020 dt2str((long)entry->expires_at - (long)now));
1023 dt2str(now - entry->last_sent),
/net/bridge/
H A Dbr_fdb.c603 unsigned long now = jiffies; local
625 ci.ndm_used = jiffies_to_clock_t(now - fdb->used);
627 ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated);
H A Dbr_multicast.c663 unsigned long now = jiffies; local
678 mod_timer(&mp->timer, now + br->multicast_membership_interval);
698 mod_timer(&p->timer, now + br->multicast_membership_interval);
997 /* We treat this as an IGMPv2 report for now. */
1058 /* We treat these as MLDv1 reports for now. */
1184 unsigned long now = jiffies; local
1189 now + br->multicast_querier_interval);
1203 now + br->multicast_querier_interval);
1232 unsigned long now = jiffies; local
1289 time_after(mp->timer.expires, now
1321 unsigned long now = jiffies; local
1415 unsigned long now; local
[all...]
/net/ipv4/
H A Dicmp.c254 u32 credit, delta, incr = 0, now = (u32)jiffies; local
261 delta = min_t(u32, now - icmp_global.stamp, HZ);
267 delta = min_t(u32, now - icmp_global.stamp, HZ);
271 icmp_global.stamp = now;
H A Dinet_connection_sock.c330 * so can't free req now. Instead, we set req->sk to
571 unsigned long now = jiffies; local
615 if (time_after_eq(now, req->expires)) {
632 req->expires = now + timeo;
800 * of the variants now. --ANK
H A Ddevinet.c601 unsigned long now, next, next_sec, next_sched; local
606 now = jiffies;
607 next = round_jiffies_up(now + ADDR_CHECK_FREQUENCY);
620 age = (now - ifa->ifa_tstamp +
655 age = (now - ifa->ifa_tstamp +
688 now = jiffies;
690 if (time_before(next_sched, now + ADDRCONF_TIMER_FUZZ_MAX))
691 next_sched = now + ADDRCONF_TIMER_FUZZ_MAX;
694 next_sched - now);
H A Dipmr.c655 unsigned long now; local
667 now = jiffies;
671 if (time_after(c->mfc_un.unres.expires, now)) {
672 unsigned long interval = c->mfc_un.unres.expires - now;
H A Droute.c476 u32 now = (u32)jiffies; local
479 if (old != now && cmpxchg(&bucket->stamp32, old, now) == old)
480 delta = prandom_u32_max(now - old);
903 unsigned long now; local
942 now = jiffies;
943 peer->rate_tokens += now - peer->rate_last;
946 peer->rate_last = now;
2335 unsigned long now = jiffies; local
2337 if (time_before(now, expire
[all...]
/net/ipv6/
H A Dip6_flowlabel.c134 unsigned long now = jiffies; local
151 if (time_after_eq(now, ttd)) {
164 sched = now + FL_MAX_LINGER;
/net/rxrpc/
H A Drxkad.c830 time_t issue, now; local
925 now = get_seconds();
926 _debug("KIV ISSUE: %lx [%lx]", issue, now);
929 if (issue > now) {
935 if (issue < now - life) {
/net/atm/
H A Dlec.c1623 unsigned long now,
1634 now, entry->last_used, time_to_check);
1635 if (time_after(now, entry->last_used + time_to_check) &&
1646 time_after_eq(now, entry->timestamp +
1657 time_after_eq(now, entry->timestamp +
1689 unsigned long now; local
1693 now = jiffies;
1699 if (__lec_arp_check_expire(entry, now, priv)) {
1622 __lec_arp_check_expire(struct lec_arp_table *entry, unsigned long now, struct lec_priv *priv) argument
/net/batman-adv/
H A Dbridge_loop_avoidance.c302 /* now we pretend that the client would have sent this ... */
414 /* this is a gateway now, remove any TT entry on this VLAN */
460 * to allow the requester another check if the CRC is correct now.
522 /* no local broadcasts should be sent or received, for now. */
989 * a time out, or clean all backbone gws if now is set.
991 static void batadv_bla_purge_backbone_gw(struct batadv_priv *bat_priv, int now) argument
1011 if (now)
1038 * @primary_if: the selected primary interface, may be NULL if now is set
1039 * @now: whether the whole hash shall be wiped now
1044 batadv_bla_purge_claims(struct batadv_priv *bat_priv, struct batadv_hard_iface *primary_if, int now) argument
[all...]
/net/netfilter/
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/sunrpc/
H A Dsched.c418 dprintk("RPC: %5u __rpc_wake_up_task (now %lu)\n",
618 unsigned long expires, now, timeo; local
621 expires = now = jiffies;
624 if (time_after_eq(now, timeo)) {
630 if (expires == now || time_after(expires, timeo))
/net/wireless/
H A Dscan.c504 * the one we're looking at right now has that,
540 unsigned long now = jiffies; local
555 if (time_after(now, bss->ts + IEEE80211_SCAN_RESULT_EXPIRE) &&
1229 /* creq now owned by driver */
/net/core/
H A Dneighbour.c275 unsigned long now = jiffies; local
281 time_after(now, tbl->last_flush + 5 * HZ))) {
294 n->updated = n->used = now;
887 unsigned long now, next; local
895 now = jiffies;
896 next = now + HZ;
902 if (time_before_eq(now,
906 } else if (time_before_eq(now,
913 next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME);
922 if (time_before_eq(now,
984 unsigned long next, now = jiffies; local
1385 unsigned long now = jiffies; local
1418 unsigned long now = jiffies; local
1535 unsigned long now = jiffies; local
1868 unsigned long now = jiffies; local
2187 unsigned long now = jiffies; local
[all...]
/net/decnet/
H A Ddn_route.c22 * Steve Whitehouse : Prerouting NF hook, now really is prerouting.
27 * Steve Whitehouse : Routing is now starting to look like a
28 * sensible set of code now, mainly due to
203 unsigned long now = jiffies; local
213 (now - rt->dst.lastuse) < expire) {
223 if ((jiffies - now) > 0)
227 mod_timer(&dn_route_timer, now + decnet_dst_gc_interval * HZ);
235 unsigned long now = jiffies; local
246 (now - rt->dst.lastuse) < expire) {
337 unsigned long now local
396 unsigned long now = jiffies; local
[all...]

Completed in 611 milliseconds

123