Searched refs:pkey_cache (Results 1 – 1 of 1) sorted by relevance
1486 struct ib_pkey_cache *pkey_cache = NULL; in ib_cache_update() local1514 pkey_cache = kmalloc(struct_size(pkey_cache, table, in ib_cache_update()1517 if (!pkey_cache) { in ib_cache_update()1522 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()1524 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()1526 pkey_cache->table + i); in ib_cache_update()1540 device->port_data[port].cache.pkey = pkey_cache; in ib_cache_update()1558 kfree(pkey_cache); in ib_cache_update()