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