Lines Matching defs:tprops
272 struct ib_port_attr *tprops = NULL;
282 tprops = kmalloc(sizeof *tprops, GFP_KERNEL);
283 if (!tprops)
286 ret = ib_query_port(device, port, tprops);
293 pkey_cache = kmalloc(sizeof *pkey_cache + tprops->pkey_tbl_len *
298 pkey_cache->table_len = tprops->pkey_tbl_len;
300 gid_cache = kmalloc(sizeof *gid_cache + tprops->gid_tbl_len *
305 gid_cache->table_len = tprops->gid_tbl_len;
333 device->cache.lmc_cache[port - start_port(device)] = tprops->lmc;
339 kfree(tprops);
345 kfree(tprops);