Lines Matching full:driver_path
215 char *driver_path = (char *) malloc( strlen(driver_dir) +
218 if (!driver_path) {
225 strncpy( driver_path, driver_dir, strlen(driver_dir) + 1);
226 strncat( driver_path, "/", strlen("/") );
227 strncat( driver_path, driver_name, strlen(driver_name) );
228 strncat( driver_path, DRIVER_EXTENSION, strlen(DRIVER_EXTENSION) );
230 va_infoMessage("Trying to open %s\n", driver_path);
232 handle = dlopen( driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE );
234 handle = dlopen( driver_path, RTLD_NOW| RTLD_GLOBAL);
238 if (0 == access( driver_path, F_OK))
239 va_errorMessage("dlopen of %s failed: %s\n", driver_path, dlerror());
269 driver_path, init_func_s);
345 va_errorMessage("%s init failed\n", driver_path);
350 free(driver_path);
354 free(driver_path);