Lines Matching refs:md5sig
1080 const struct tcp_md5sig_info *md5sig; in __tcp_md5_do_lookup() local
1086 md5sig = rcu_dereference_check(tp->md5sig_info, in __tcp_md5_do_lookup()
1088 if (!md5sig) in __tcp_md5_do_lookup()
1091 hlist_for_each_entry_rcu(key, &md5sig->head, node, in __tcp_md5_do_lookup()
1125 const struct tcp_md5sig_info *md5sig; in tcp_md5_do_lookup_exact() local
1128 md5sig = rcu_dereference_check(tp->md5sig_info, in tcp_md5_do_lookup_exact()
1130 if (!md5sig) in tcp_md5_do_lookup_exact()
1136 hlist_for_each_entry_rcu(key, &md5sig->head, node, in tcp_md5_do_lookup_exact()
1172 struct tcp_md5sig_info *md5sig; in tcp_md5_do_add() local
1194 md5sig = rcu_dereference_protected(tp->md5sig_info, in tcp_md5_do_add()
1196 if (!md5sig) { in tcp_md5_do_add()
1197 md5sig = kmalloc(sizeof(*md5sig), gfp); in tcp_md5_do_add()
1198 if (!md5sig) in tcp_md5_do_add()
1202 INIT_HLIST_HEAD(&md5sig->head); in tcp_md5_do_add()
1203 rcu_assign_pointer(tp->md5sig_info, md5sig); in tcp_md5_do_add()
1223 hlist_add_head_rcu(&key->node, &md5sig->head); in tcp_md5_do_add()
1248 struct tcp_md5sig_info *md5sig; in tcp_clear_md5_list() local
1250 md5sig = rcu_dereference_protected(tp->md5sig_info, 1); in tcp_clear_md5_list()
1252 hlist_for_each_entry_safe(key, n, &md5sig->head, node) { in tcp_clear_md5_list()