Lines Matching refs:idst
39 struct dst_cache_pcpu *idst) in dst_cache_per_cpu_get() argument
43 dst = idst->dst; in dst_cache_per_cpu_get()
50 if (unlikely(!time_after(idst->refresh_ts, dst_cache->reset_ts) || in dst_cache_per_cpu_get()
51 (dst->obsolete && !dst->ops->check(dst, idst->cookie)))) { in dst_cache_per_cpu_get()
52 dst_cache_per_cpu_dst_set(idst, NULL, 0); in dst_cache_per_cpu_get()
59 idst->refresh_ts = jiffies; in dst_cache_per_cpu_get()
74 struct dst_cache_pcpu *idst; in dst_cache_get_ip4() local
80 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_get_ip4()
81 dst = dst_cache_per_cpu_get(dst_cache, idst); in dst_cache_get_ip4()
85 *saddr = idst->in_saddr.s_addr; in dst_cache_get_ip4()
93 struct dst_cache_pcpu *idst; in dst_cache_set_ip4() local
98 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_set_ip4()
99 dst_cache_per_cpu_dst_set(idst, dst, 0); in dst_cache_set_ip4()
100 idst->in_saddr.s_addr = saddr; in dst_cache_set_ip4()
108 struct dst_cache_pcpu *idst; in dst_cache_set_ip6() local
113 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_set_ip6()
116 idst->in6_saddr = *saddr; in dst_cache_set_ip6()
123 struct dst_cache_pcpu *idst; in dst_cache_get_ip6() local
129 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_get_ip6()
130 dst = dst_cache_per_cpu_get(dst_cache, idst); in dst_cache_get_ip6()
134 *saddr = idst->in6_saddr; in dst_cache_get_ip6()
175 struct dst_cache_pcpu *idst = per_cpu_ptr(dst_cache->cache, i); in dst_cache_reset_now() local
176 struct dst_entry *dst = idst->dst; in dst_cache_reset_now()
178 idst->cookie = 0; in dst_cache_reset_now()
179 idst->dst = NULL; in dst_cache_reset_now()