Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Daf_vsock.h20 #define VSOCK_HASH_SIZE 251 macro
21 extern struct list_head vsock_bind_table[VSOCK_HASH_SIZE + 1];
22 extern struct list_head vsock_connected_table[VSOCK_HASH_SIZE];
/openbmc/linux/net/vmw_vsock/
H A Daf_vsock.c167 #define VSOCK_HASH(addr) ((addr)->svm_port % VSOCK_HASH_SIZE)
169 #define vsock_unbound_sockets (&vsock_bind_table[VSOCK_HASH_SIZE])
173 (((src)->svm_cid ^ (dst)->svm_port) % VSOCK_HASH_SIZE)
179 struct list_head vsock_bind_table[VSOCK_HASH_SIZE + 1];
181 struct list_head vsock_connected_table[VSOCK_HASH_SIZE];