Lines Matching refs:idst

40 					       struct dst_cache_pcpu *idst)  in dst_cache_per_cpu_get()  argument
45 dst = idst->dst; in dst_cache_per_cpu_get()
52 if (unlikely(!time_after(idst->refresh_ts, in dst_cache_per_cpu_get()
54 (dst->obsolete && !dst->ops->check(dst, idst->cookie)))) { in dst_cache_per_cpu_get()
55 dst_cache_per_cpu_dst_set(idst, NULL, 0); in dst_cache_per_cpu_get()
62 idst->refresh_ts = jiffies; in dst_cache_per_cpu_get()
77 struct dst_cache_pcpu *idst; in dst_cache_get_ip4() local
83 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_get_ip4()
84 dst = dst_cache_per_cpu_get(dst_cache, idst); in dst_cache_get_ip4()
88 *saddr = idst->in_saddr.s_addr; in dst_cache_get_ip4()
96 struct dst_cache_pcpu *idst; in dst_cache_set_ip4() local
101 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_set_ip4()
102 dst_cache_per_cpu_dst_set(idst, dst, 0); in dst_cache_set_ip4()
103 idst->in_saddr.s_addr = saddr; in dst_cache_set_ip4()
111 struct dst_cache_pcpu *idst; in dst_cache_set_ip6() local
116 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_set_ip6()
117 dst_cache_per_cpu_dst_set(idst, dst, in dst_cache_set_ip6()
119 idst->in6_saddr = *saddr; in dst_cache_set_ip6()
126 struct dst_cache_pcpu *idst; in dst_cache_get_ip6() local
132 idst = this_cpu_ptr(dst_cache->cache); in dst_cache_get_ip6()
133 dst = dst_cache_per_cpu_get(dst_cache, idst); in dst_cache_get_ip6()
137 *saddr = idst->in6_saddr; in dst_cache_get_ip6()
178 struct dst_cache_pcpu *idst = per_cpu_ptr(dst_cache->cache, i); in dst_cache_reset_now() local
179 struct dst_entry *dst = idst->dst; in dst_cache_reset_now()
181 idst->cookie = 0; in dst_cache_reset_now()
182 idst->dst = NULL; in dst_cache_reset_now()