Searched refs:dst_default_metrics (Results 1 – 6 of 6) sorted by relevance
53 const struct dst_metrics dst_default_metrics = { variable61 EXPORT_SYMBOL(dst_default_metrics);71 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init()245 new = ((unsigned long) &dst_default_metrics) | DST_METRICS_READ_ONLY; in __dst_destroy_metrics_generic()
97 extern const struct dst_metrics dst_default_metrics;
163 f6i->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in fib6_info_alloc()209 if (m != &dst_default_metrics && refcount_dec_and_test(&m->refcnt)) in fib6_info_destroy_rcu()639 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
298 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,372 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ip6_dst_destroy()982 if (from->fib6_metrics != &dst_default_metrics) { in rt6_set_from()
223 if (m != &dst_default_metrics && refcount_dec_and_test(&m->refcnt)) in free_fib_info_rcu()1093 fi->fib_metrics = (struct dst_metrics *)&dst_default_metrics; in fib_create_info()
1488 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ipv4_dst_destroy()1538 if (fi->fib_metrics != &dst_default_metrics) { in rt_set_nexthop()