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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Ddst_ops.h13 unsigned gc_thresh; member in struct:dst_ops
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dxfrm6_policy.c201 return (atomic_read(&ops->entries) > ops->gc_thresh * 2);
256 .gc_thresh = 1024,
285 .data = &init_net.xfrm.xfrm6_dst_ops.gc_thresh,
299 unsigned int gc_thresh; local
309 * gc_thresh to a minimum of 1024, since, the ipv6 route cache defaults
312 gc_thresh = FIB6_TABLE_HASHSZ * 8;
313 xfrm6_dst_ops.gc_thresh = (gc_thresh < 1024) ? 1024 : gc_thresh;
H A Droute.c104 .gc_thresh = 1024,
1062 if (atomic_read(&ops->entries) < ops->gc_thresh)
2557 .procname = "gc_thresh",
2558 .data = &ip6_dst_ops_template.gc_thresh,
2632 table[1].data = &net->ipv6.ip6_dst_ops.gc_thresh;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dxfrm4_policy.c177 return (atomic_read(&ops->entries) > ops->gc_thresh * 2);
234 .gc_thresh = 1024,
253 .data = &init_net.xfrm.xfrm4_dst_ops.gc_thresh,
281 * Select a default value for the gc_thresh based on the main route
285 * entries at gc_thresh, and prevents new allocations as 2*gc_thresh
286 * so lets set an initial xfrm gc_thresh value at the rt_max_size/2.
290 xfrm4_dst_ops.gc_thresh = rt_max_size/2;
H A Droute.c966 if (equilibrium < ipv4_dst_ops.gc_thresh)
967 equilibrium = ipv4_dst_ops.gc_thresh;
1052 atomic_read(&ipv4_dst_ops.entries) < ipv4_dst_ops.gc_thresh)
3086 .procname = "gc_thresh",
3087 .data = &ipv4_dst_ops.gc_thresh,
3334 ipv4_dst_ops.gc_thresh = (rt_hash_mask + 1);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/core/
H A Ddst.c171 if (ops->gc && atomic_read(&ops->entries) > ops->gc_thresh) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/
H A Ddn_route.c129 .gc_thresh = 128,
1801 dn_dst_ops.gc_thresh = (dn_rt_hash_mask + 1);

Completed in 192 milliseconds