Lines Matching refs:sk_node
270 #define sk_node __sk_common.skc_node macro
411 return hlist_entry(node, struct sock, sk_node); in sk_entry()
416 return hlist_entry(head->first, struct sock, sk_node); in __sk_head()
436 return sk->sk_node.next ? in sk_next()
437 hlist_entry(sk->sk_node.next, struct sock, sk_node) : NULL; in sk_next()
450 return hlist_unhashed(&sk->sk_node); in sk_unhashed()
470 __hlist_del(&sk->sk_node); in __sk_del_node()
478 sk_node_init(&sk->sk_node); in __sk_del_node_init()
539 hlist_add_head(&sk->sk_node, list); in __sk_add_node()
551 hlist_add_head_rcu(&sk->sk_node, list); in sk_add_node_rcu()
577 hlist_for_each_entry(__sk, node, list, sk_node)
579 hlist_for_each_entry_rcu(__sk, node, list, sk_node)
585 if (__sk && ({ node = &(__sk)->sk_node; 1; })) \
586 hlist_for_each_entry_from(__sk, node, sk_node)
591 hlist_for_each_entry_safe(__sk, node, tmp, list, sk_node)
802 if (offsetof(struct sock, sk_node.next) != 0) in sk_prot_clear_nulls()
803 memset(sk, 0, offsetof(struct sock, sk_node.next)); in sk_prot_clear_nulls()
804 memset(&sk->sk_node.pprev, 0, in sk_prot_clear_nulls()
805 size - offsetof(struct sock, sk_node.pprev)); in sk_prot_clear_nulls()