Home
last modified time | relevance | path

Searched refs:unix_socket_table (Results 1 – 3 of 3) sorted by relevance

/linux-5.10/net/unix/
Ddiag.c208 slot < ARRAY_SIZE(unix_socket_table); in unix_diag_dump()
213 sk_for_each(sk, &unix_socket_table[slot]) { in unix_diag_dump()
243 for (i = 0; i < ARRAY_SIZE(unix_socket_table); i++) { in unix_lookup_by_ino()
244 sk_for_each(sk, &unix_socket_table[i]) in unix_lookup_by_ino()
Daf_unix.c119 struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE]; variable
120 EXPORT_SYMBOL_GPL(unix_socket_table);
133 return &unix_socket_table[UNIX_HASH_SIZE + hash]; in unix_sockets_unbound()
285 sk_for_each(s, &unix_socket_table[hash ^ type]) { in __unix_find_socket_byname()
319 &unix_socket_table[i->i_ino & (UNIX_HASH_SIZE - 1)]) { in unix_find_socket_byinode()
917 __unix_insert_socket(&unix_socket_table[addr->hash], sk); in unix_autobind()
1071 list = &unix_socket_table[hash]; in unix_bind()
1081 list = &unix_socket_table[addr->hash]; in unix_bind()
2754 for (sk = sk_head(&unix_socket_table[bucket]); sk; sk = sk_next(sk)) { in unix_from_bucket()
2786 } while (bucket < ARRAY_SIZE(unix_socket_table)); in unix_next_socket()
[all …]
/linux-5.10/include/net/
Daf_unix.h24 extern struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE];