Lines Matching defs:attr
215 struct ib_device_attr *attr;
231 attr = kmalloc(sizeof *attr, GFP_KERNEL);
232 if (!attr) {
233 printk(KERN_WARNING PFX "couldn't allocate device attr struct\n");
237 ret = ib_query_device(device, attr);
240 kfree(attr);
244 if (!attr->max_map_per_fmr)
247 max_remaps = attr->max_map_per_fmr;
249 kfree(attr);