Home
last modified time | relevance | path

Searched refs:gc_thresh (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/net/ipv4/
Dxfrm4_policy.c194 return (dst_entries_get_slow(ops) > ops->gc_thresh * 2); in xfrm4_garbage_collect()
242 .gc_thresh = 32768,
261 .data = &init_net.xfrm.xfrm4_dst_ops.gc_thresh,
280 table[0].data = &net->xfrm.xfrm4_dst_ops.gc_thresh; in xfrm4_net_sysctl_init()
Droute.c2579 .data = &ipv4_dst_ops.gc_thresh,
2818 ipv4_dst_ops.gc_thresh = ~0; in ip_rt_init()
/linux-4.1.27/net/ipv6/
Dxfrm6_policy.c230 return dst_entries_get_fast(ops) > ops->gc_thresh * 2; in xfrm6_garbage_collect()
301 .gc_thresh = 32768,
331 .data = &init_net.xfrm.xfrm6_dst_ops.gc_thresh,
350 table[0].data = &net->xfrm.xfrm6_dst_ops.gc_thresh; in xfrm6_net_sysctl_init()
Droute.c198 .gc_thresh = 1024,
1463 if (entries < ops->gc_thresh) in ip6_dst_gc()
3130 .data = &ip6_dst_ops_template.gc_thresh,
3205 table[1].data = &net->ipv6.ip6_dst_ops.gc_thresh; in ipv6_route_sysctl_init()
/linux-4.1.27/include/net/
Ddst_ops.h15 unsigned int gc_thresh; member
/linux-4.1.27/net/core/
Ddst.c167 if (ops->gc && dst_entries_get_fast(ops) > ops->gc_thresh) { in dst_alloc()
/linux-4.1.27/net/decnet/
Ddn_route.c139 .gc_thresh = 128,
1917 dn_dst_ops.gc_thresh = (dn_rt_hash_mask + 1); in dn_route_init()