Lines Matching refs:md5sig
1048 const struct tcp_md5sig_info *md5sig; in __tcp_md5_do_lookup() local
1054 md5sig = rcu_dereference_check(tp->md5sig_info, in __tcp_md5_do_lookup()
1056 if (!md5sig) in __tcp_md5_do_lookup()
1059 hlist_for_each_entry_rcu(key, &md5sig->head, node, in __tcp_md5_do_lookup()
1093 const struct tcp_md5sig_info *md5sig; in tcp_md5_do_lookup_exact() local
1096 md5sig = rcu_dereference_check(tp->md5sig_info, in tcp_md5_do_lookup_exact()
1098 if (!md5sig) in tcp_md5_do_lookup_exact()
1104 hlist_for_each_entry_rcu(key, &md5sig->head, node, in tcp_md5_do_lookup_exact()
1138 struct tcp_md5sig_info *md5sig; in tcp_md5_do_add() local
1160 md5sig = rcu_dereference_protected(tp->md5sig_info, in tcp_md5_do_add()
1162 if (!md5sig) { in tcp_md5_do_add()
1163 md5sig = kmalloc(sizeof(*md5sig), gfp); in tcp_md5_do_add()
1164 if (!md5sig) in tcp_md5_do_add()
1168 INIT_HLIST_HEAD(&md5sig->head); in tcp_md5_do_add()
1169 rcu_assign_pointer(tp->md5sig_info, md5sig); in tcp_md5_do_add()
1188 hlist_add_head_rcu(&key->node, &md5sig->head); in tcp_md5_do_add()
1213 struct tcp_md5sig_info *md5sig; in tcp_clear_md5_list() local
1215 md5sig = rcu_dereference_protected(tp->md5sig_info, 1); in tcp_clear_md5_list()
1217 hlist_for_each_entry_safe(key, n, &md5sig->head, node) { in tcp_clear_md5_list()