Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/libibnetdisc/
H A Dibnetdisc_cache.c270 ibnd_port_cache_t *port_cache; in _destroy_ibnd_fabric_cache() local
285 port_cache = fabric_cache->ports_cache; in _destroy_ibnd_fabric_cache()
286 while (port_cache) { in _destroy_ibnd_fabric_cache()
287 port_cache_next = port_cache->next; in _destroy_ibnd_fabric_cache()
289 if (!port_cache->port_stored_to_fabric && port_cache->port) in _destroy_ibnd_fabric_cache()
290 free(port_cache->port); in _destroy_ibnd_fabric_cache()
291 free(port_cache); in _destroy_ibnd_fabric_cache()
293 port_cache = port_cache_next; in _destroy_ibnd_fabric_cache()
400 static void store_port_cache(ibnd_port_cache_t * port_cache, in store_port_cache() argument
403 int hash_indx = HASHGUID(port_cache->port->guid) % HTSZ; in store_port_cache()
[all …]