Searched refs:gc_thresh (Results 1 – 7 of 7) sorted by relevance
223 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()
2656 .data = &ipv4_dst_ops.gc_thresh,2899 ipv4_dst_ops.gc_thresh = ~0; in ip_rt_init()
224 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()
220 .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()
16 unsigned int gc_thresh; member
205 if (ops->gc && dst_entries_get_fast(ops) > ops->gc_thresh) { in dst_alloc()
139 .gc_thresh = 128,1922 dn_dst_ops.gc_thresh = (dn_rt_hash_mask + 1); in dn_route_init()