Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dxfrm4_policy.c223 return (dst_entries_get_slow(ops) > ops->gc_thresh * 2); in xfrm4_garbage_collect()
271 .gc_thresh = INT_MAX,
290 .data = &init_net.xfrm.xfrm4_dst_ops.gc_thresh,
309 table[0].data = &net->xfrm.xfrm4_dst_ops.gc_thresh; in xfrm4_net_sysctl_init()
Droute.c2656 .data = &ipv4_dst_ops.gc_thresh,
2899 ipv4_dst_ops.gc_thresh = ~0; in ip_rt_init()
/linux-4.4.14/net/ipv6/
Dxfrm6_policy.c224 return dst_entries_get_fast(ops) > ops->gc_thresh * 2; in xfrm6_garbage_collect()
291 .gc_thresh = INT_MAX,
320 .data = &init_net.xfrm.xfrm6_dst_ops.gc_thresh,
339 table[0].data = &net->xfrm.xfrm6_dst_ops.gc_thresh; in xfrm6_net_sysctl_init()
Droute.c220 .gc_thresh = 1024,
1689 if (entries < ops->gc_thresh) in ip6_dst_gc()
3442 .data = &ip6_dst_ops_template.gc_thresh,
3517 table[1].data = &net->ipv6.ip6_dst_ops.gc_thresh; in ipv6_route_sysctl_init()
/linux-4.4.14/include/net/
Ddst_ops.h16 unsigned int gc_thresh; member
/linux-4.4.14/net/core/
Ddst.c205 if (ops->gc && dst_entries_get_fast(ops) > ops->gc_thresh) { in dst_alloc()
/linux-4.4.14/net/decnet/
Ddn_route.c139 .gc_thresh = 128,
1922 dn_dst_ops.gc_thresh = (dn_rt_hash_mask + 1); in dn_route_init()