Home
last modified time | relevance | path

Searched refs:sched_next (Results 1 – 2 of 2) sorted by relevance

/net/core/
Dneighbour.c1416 long sched_next = 0; in neigh_proxy_process() local
1423 long tdif = NEIGH_CB(skb)->sched_next - now; in neigh_proxy_process()
1438 } else if (!sched_next || tdif < sched_next) in neigh_proxy_process()
1439 sched_next = tdif; in neigh_proxy_process()
1442 if (sched_next) in neigh_proxy_process()
1443 mod_timer(&tbl->proxy_timer, jiffies + sched_next); in neigh_proxy_process()
1452 unsigned long sched_next = now + (prandom_u32() % in pneigh_enqueue() local
1460 NEIGH_CB(skb)->sched_next = sched_next; in pneigh_enqueue()
1465 if (time_before(tbl->proxy_timer.expires, sched_next)) in pneigh_enqueue()
1466 sched_next = tbl->proxy_timer.expires; in pneigh_enqueue()
[all …]
/net/xfrm/
Dxfrm_policy.c1860 unsigned long sched_next; in xdst_queue_output() local
1883 sched_next = jiffies + pq->timeout; in xdst_queue_output()
1886 if (time_before(pq->hold_timer.expires, sched_next)) in xdst_queue_output()
1887 sched_next = pq->hold_timer.expires; in xdst_queue_output()
1892 if (!mod_timer(&pq->hold_timer, sched_next)) in xdst_queue_output()