Searched refs:sock_hash (Results 1 – 2 of 2) sorted by relevance
/dragonfly/contrib/lvm2/dist/daemons/clvmd/ |
H A D | tcp-comms.c | 60 struct dm_hash_table *sock_hash; variable 71 sock_hash = dm_hash_create(100); in init_comms() 121 client = dm_hash_lookup_binary(sock_hash, csid, GULM_MAX_CSID_LEN); in tcp_remove_client() 124 dm_hash_remove_binary(sock_hash, csid, GULM_MAX_CSID_LEN); in tcp_remove_client() 157 if (dm_hash_lookup_binary(sock_hash, csid, GULM_MAX_CSID_LEN)) in alloc_client() 170 if (dm_hash_lookup_binary(sock_hash, csid, GULM_MAX_CSID_LEN)) in alloc_client() 180 dm_hash_insert_binary(sock_hash, csid, GULM_MAX_CSID_LEN, client); in alloc_client() 313 dm_hash_remove_binary(sock_hash, remcsid, GULM_MAX_CSID_LEN); in read_from_tcpsock() 392 client = dm_hash_lookup_binary(sock_hash, csid, GULM_MAX_CSID_LEN); in tcp_send_message()
|
H A D | clvmd-gulm.c | 105 extern struct dm_hash_table *sock_hash; 687 client = dm_hash_lookup_binary(sock_hash, csid, GULM_MAX_CSID_LEN); in _cluster_do_node_callback() 694 client = dm_hash_lookup_binary(sock_hash, csid, GULM_MAX_CSID_LEN); in _cluster_do_node_callback()
|