Searched refs:pkey_cache (Results 1 – 1 of 1) sorted by relevance
1482 struct ib_pkey_cache *pkey_cache = NULL; in ib_cache_update() local1510 pkey_cache = kmalloc(struct_size(pkey_cache, table, in ib_cache_update()1513 if (!pkey_cache) { in ib_cache_update()1518 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()1520 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()1522 pkey_cache->table + i); in ib_cache_update()1536 device->port_data[port].cache.pkey = pkey_cache; in ib_cache_update()1554 kfree(pkey_cache); in ib_cache_update()