pkey_cache 1393 drivers/infiniband/core/cache.c struct ib_pkey_cache *pkey_cache = NULL, *old_pkey_cache; pkey_cache 1417 drivers/infiniband/core/cache.c pkey_cache = kmalloc(struct_size(pkey_cache, table, pkey_cache 1420 drivers/infiniband/core/cache.c if (!pkey_cache) { pkey_cache 1425 drivers/infiniband/core/cache.c pkey_cache->table_len = tprops->pkey_tbl_len; pkey_cache 1427 drivers/infiniband/core/cache.c for (i = 0; i < pkey_cache->table_len; ++i) { pkey_cache 1428 drivers/infiniband/core/cache.c ret = ib_query_pkey(device, port, i, pkey_cache->table + i); pkey_cache 1441 drivers/infiniband/core/cache.c device->port_data[port].cache.pkey = pkey_cache; pkey_cache 1458 drivers/infiniband/core/cache.c kfree(pkey_cache);