Lines Matching refs:driver
137 struct ibv_driver *driver;
139 driver = malloc(sizeof *driver);
140 if (!driver) {
141 fprintf(stderr, PFX "Warning: couldn't allocate driver for %s\n", name);
145 driver->name = name;
146 driver->verbs_init_func = verbs_init_func;
147 driver->next = NULL;
150 tail_driver->next = driver;
152 head_driver = driver;
153 tail_driver = driver;
156 static struct ibv_device *try_driver(struct ibv_driver *driver,
163 vdev = driver->verbs_init_func(sysfs_dev->sysfs_path, sysfs_dev->abi_ver);
211 struct ibv_driver *driver;
214 for (driver = head_driver; driver; driver = driver->next) {
215 dev = try_driver(driver, sysfs_dev);
329 * dlopen() a driver module will fail spectacularly (loading a
330 * driver .so will bring in dynamic copies of libibverbs and
363 "driver found for %s\n", sysfs_dev->sysfs_path);
366 "driver must be statically linked too.\n");