Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Dcache.c148 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_get_cached_pkey()
177 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_find_cached_pkey()
217 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_find_exact_cached_pkey()
256 struct ib_pkey_cache *pkey_cache = NULL, *old_pkey_cache; in ib_cache_update() local
272 pkey_cache = kmalloc(sizeof *pkey_cache + tprops->pkey_tbl_len * in ib_cache_update()
273 sizeof *pkey_cache->table, GFP_KERNEL); in ib_cache_update()
274 if (!pkey_cache) in ib_cache_update()
277 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
286 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()
287 ret = ib_query_pkey(device, port, i, pkey_cache->table + i); in ib_cache_update()
[all …]