Searched refs:dest_dst (Results 1 – 4 of 4) sorted by relevance
64 static inline void ip_vs_dest_dst_free(struct ip_vs_dest_dst *dest_dst) in ip_vs_dest_dst_free() argument66 kfree(dest_dst); in ip_vs_dest_dst_free()73 __ip_vs_dst_set(struct ip_vs_dest *dest, struct ip_vs_dest_dst *dest_dst, in __ip_vs_dst_set() argument78 old = rcu_dereference_protected(dest->dest_dst, in __ip_vs_dst_set()81 if (dest_dst) { in __ip_vs_dst_set()82 dest_dst->dst_cache = dst; in __ip_vs_dst_set()83 dest_dst->dst_cookie = dst_cookie; in __ip_vs_dst_set()85 rcu_assign_pointer(dest->dest_dst, dest_dst); in __ip_vs_dst_set()94 struct ip_vs_dest_dst *dest_dst = rcu_dereference(dest->dest_dst); in __ip_vs_dst_check() local97 if (!dest_dst) in __ip_vs_dst_check()[all …]
713 struct ip_vs_dest_dst *dest_dst = container_of(head, in ip_vs_dest_dst_rcu_free() local717 dst_release(dest_dst->dst_cache); in ip_vs_dest_dst_rcu_free()718 kfree(dest_dst); in ip_vs_dest_dst_rcu_free()726 old = rcu_dereference_protected(dest->dest_dst, 1); in __ip_vs_dst_cache_reset()728 RCU_INIT_POINTER(dest->dest_dst, NULL); in __ip_vs_dst_cache_reset()1667 struct ip_vs_dest_dst *dest_dst; in ip_vs_forget_dev() local1670 dest_dst = rcu_dereference_protected(dest->dest_dst, 1); in ip_vs_forget_dev()1671 if (dest_dst && dest_dst->dst_cache->dev == dev) { in ip_vs_forget_dev()
1760 struct ip_vs_dest_dst *dest_dst; in ip_vs_in_icmp() local1762 dest_dst = rcu_dereference(dest->dest_dst); in ip_vs_in_icmp()1763 if (dest_dst) in ip_vs_in_icmp()1764 mtu = dst_mtu(dest_dst->dst_cache); in ip_vs_in_icmp()
682 struct ip_vs_dest_dst __rcu *dest_dst; /* cached dst info */ member