Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1506 struct ib_device_attr *device_attr; in ipoib_set_dev_features() local
1509 device_attr = kmalloc(sizeof *device_attr, GFP_KERNEL); in ipoib_set_dev_features()
1510 if (!device_attr) { in ipoib_set_dev_features()
1512 hca->name, sizeof *device_attr); in ipoib_set_dev_features()
1516 result = ib_query_device(hca, device_attr); in ipoib_set_dev_features()
1520 kfree(device_attr); in ipoib_set_dev_features()
1523 priv->hca_caps = device_attr->device_cap_flags; in ipoib_set_dev_features()
1525 kfree(device_attr); in ipoib_set_dev_features()
/drivers/infiniband/core/
Ddevice.c559 struct ib_device_attr *device_attr) in ib_query_device() argument
561 return device->query_device(device, device_attr); in ib_query_device()