Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
H A Dcache.c1482 struct ib_pkey_cache *pkey_cache = NULL; in ib_cache_update() local
1510 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()