Home
last modified time | relevance | path

Searched refs:UNIX_HASH_SIZE (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Daf_unix.h19 #define UNIX_HASH_SIZE 256 macro
24 extern struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE];
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c119 struct hlist_head unix_socket_table[2 * UNIX_HASH_SIZE];
132 hash %= UNIX_HASH_SIZE; in unix_sockets_unbound()
133 return &unix_socket_table[UNIX_HASH_SIZE + hash]; in unix_sockets_unbound()
136 #define UNIX_ABSTRACT(sk) (unix_sk(sk)->addr->hash < UNIX_HASH_SIZE)
177 return hash&(UNIX_HASH_SIZE-1); in unix_hash_fold()
319 &unix_socket_table[i->i_ino & (UNIX_HASH_SIZE - 1)]) { in unix_find_socket_byinode()
1090 addr->hash = UNIX_HASH_SIZE; in unix_bind()
1091 hash = d_backing_inode(path.dentry)->i_ino & (UNIX_HASH_SIZE - 1); in unix_bind()