Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Dcache.c780 cache = device->cache.pkey_cache[port_num - rdma_start_port(device)]; in ib_get_cached_pkey()
809 cache = device->cache.pkey_cache[port_num - rdma_start_port(device)]; in ib_find_cached_pkey()
849 cache = device->cache.pkey_cache[port_num - rdma_start_port(device)]; in ib_find_exact_cached_pkey()
888 struct ib_pkey_cache *pkey_cache = NULL, *old_pkey_cache; in ib_cache_update() local
916 pkey_cache = kmalloc(sizeof *pkey_cache + tprops->pkey_tbl_len * in ib_cache_update()
917 sizeof *pkey_cache->table, GFP_KERNEL); in ib_cache_update()
918 if (!pkey_cache) in ib_cache_update()
921 pkey_cache->table_len = tprops->pkey_tbl_len; in ib_cache_update()
932 for (i = 0; i < pkey_cache->table_len; ++i) { in ib_cache_update()
933 ret = ib_query_pkey(device, port, i, pkey_cache->table + i); in ib_cache_update()
[all …]