Lines Matching refs:gid_cache

250 	struct ib_gid_table **ports_table = ib_dev->cache.gid_cache;  in ib_cache_gid_add()
301 struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; in ib_cache_gid_del()
326 struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; in ib_cache_gid_del_all_netdev_gids()
345 struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; in __ib_cache_gid_get()
377 struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; in _ib_cache_gid_table_find()
418 struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; in ib_find_cached_gid_by_port()
472 struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; in ib_cache_gid_find_by_filter()
573 struct ib_gid_table **ports_table = ib_dev->cache.gid_cache; in ib_cache_gid_set_default_gid()
664 ib_dev->cache.gid_cache = table; in _gid_table_setup_one()
680 struct ib_gid_table **table = ib_dev->cache.gid_cache; in gid_table_release_one()
690 ib_dev->cache.gid_cache = NULL; in gid_table_release_one()
695 struct ib_gid_table **table = ib_dev->cache.gid_cache; in gid_table_cleanup_one()
892 } *gid_cache = NULL; in ib_cache_update() local
896 struct ib_gid_table **ports_table = device->cache.gid_cache; in ib_cache_update()
924 gid_cache = kmalloc(sizeof(*gid_cache) + tprops->gid_tbl_len * in ib_cache_update()
925 sizeof(*gid_cache->table), GFP_KERNEL); in ib_cache_update()
926 if (!gid_cache) in ib_cache_update()
929 gid_cache->table_len = tprops->gid_tbl_len; in ib_cache_update()
942 for (i = 0; i < gid_cache->table_len; ++i) { in ib_cache_update()
944 gid_cache->table + i, NULL); in ib_cache_update()
959 for (i = 0; i < gid_cache->table_len; i++) { in ib_cache_update()
960 modify_gid(device, port, table, i, gid_cache->table + i, in ib_cache_update()
969 kfree(gid_cache); in ib_cache_update()
976 kfree(gid_cache); in ib_cache_update()