Home
last modified time | relevance | path

Searched refs:HTSZ (Results 1 – 4 of 4) sorted by relevance

/freebsd-12-stable/contrib/ofed/libibnetdisc/
Dibnetdisc.h143 #define HTSZ 137 macro
180 ibnd_node_t *nodestbl[HTSZ];
181 ibnd_port_t *portstbl[HTSZ];
Dibnetdisc_cache.c134 ibnd_node_cache_t *nodescachetbl[HTSZ];
135 ibnd_port_cache_t *portscachetbl[HTSZ];
302 int hash_indx = HASHGUID(node_cache->node->guid) % HTSZ; in store_node_cache()
403 int hash_indx = HASHGUID(port_cache->port->guid) % HTSZ; in store_port_cache()
469 int hash_indx = HASHGUID(port_cache_key->guid) % HTSZ; in _find_port()
485 int hash_indx = HASHGUID(guid) % HTSZ; in _find_node()
940 for (i = 0; i < HTSZ; i++) { in ibnd_cache_fabric()
Dibnetdisc.c616 int hash = HASHGUID(guid) % HTSZ; in ibnd_find_node_guid()
641 int hash_idx = HASHGUID(node->guid) % HTSZ; in add_to_nodeguid_hash()
660 int hash_idx = HASHGUID(port->guid) % HTSZ; in add_to_portguid_hash()
929 int hash = HASHGUID(guid) % HTSZ; in ibnd_find_port_guid()
1000 for (i = 0; i<HTSZ; i++) in ibnd_iter_ports()
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/
Dibtracert.c413 #define HTSZ 137 macro
417 static Node *nodestbl[HTSZ]; in insert_node()
418 int hash = HASHGUID(new->nodeguid) % HTSZ; in insert_node()