Lines Matching defs:cache
167 * Some temporary cache code, until things are cleaned up as part of DR
186 /* IB device info cache */
275 * For usages where ibdev cache needs to be read based on the IB device
276 * name instead of uverbs device name a simple compare against the cache
277 * entries is used to retrieve the corresponding ibdev cache entry.
283 ibdev_cache_info_t *cache = NULL;
289 cache = &ibdev_cache[idx];
290 if (strcmp(cache->ibd_name, devname) == 0)
298 cache = NULL;
300 return (cache);
304 * Helper function to update the ibdev cache entries with the values obtained
380 * Update the cache.
449 fprintf(stderr, "dev %d: exceeds umad cache size\n", dev_num);
526 fprintf(stderr, "failed to add dev %d to umad cache",
908 fprintf(stderr, "failed: to init ibdev cache %s\n",
1216 fprintf(stderr, "failed: to init umad cache %s\n",