Lines Matching refs:md5sig

1093 	const struct tcp_md5sig_info *md5sig;  in __tcp_md5_do_lookup()  local
1099 md5sig = rcu_dereference_check(tp->md5sig_info, in __tcp_md5_do_lookup()
1101 if (!md5sig) in __tcp_md5_do_lookup()
1104 hlist_for_each_entry_rcu(key, &md5sig->head, node, in __tcp_md5_do_lookup()
1138 const struct tcp_md5sig_info *md5sig; in tcp_md5_do_lookup_exact() local
1141 md5sig = rcu_dereference_check(tp->md5sig_info, in tcp_md5_do_lookup_exact()
1143 if (!md5sig) in tcp_md5_do_lookup_exact()
1149 hlist_for_each_entry_rcu(key, &md5sig->head, node, in tcp_md5_do_lookup_exact()
1180 struct tcp_md5sig_info *md5sig; in tcp_md5sig_info_add() local
1182 md5sig = kmalloc(sizeof(*md5sig), gfp); in tcp_md5sig_info_add()
1183 if (!md5sig) in tcp_md5sig_info_add()
1187 INIT_HLIST_HEAD(&md5sig->head); in tcp_md5sig_info_add()
1188 rcu_assign_pointer(tp->md5sig_info, md5sig); in tcp_md5sig_info_add()
1200 struct tcp_md5sig_info *md5sig; in __tcp_md5_do_add() local
1222 md5sig = rcu_dereference_protected(tp->md5sig_info, in __tcp_md5_do_add()
1242 hlist_add_head_rcu(&key->node, &md5sig->head); in __tcp_md5_do_add()
1257 struct tcp_md5sig_info *md5sig; in tcp_md5_do_add() local
1259 md5sig = rcu_dereference_protected(tp->md5sig_info, lockdep_sock_is_held(sk)); in tcp_md5_do_add()
1261 kfree_rcu(md5sig, rcu); in tcp_md5_do_add()
1282 struct tcp_md5sig_info *md5sig; in tcp_md5_key_copy() local
1284 md5sig = rcu_dereference_protected(tp->md5sig_info, lockdep_sock_is_held(sk)); in tcp_md5_key_copy()
1287 kfree_rcu(md5sig, rcu); in tcp_md5_key_copy()
1318 struct tcp_md5sig_info *md5sig; in tcp_clear_md5_list() local
1320 md5sig = rcu_dereference_protected(tp->md5sig_info, 1); in tcp_clear_md5_list()
1322 hlist_for_each_entry_safe(key, n, &md5sig->head, node) { in tcp_clear_md5_list()