Searched refs:tmpplug (Results 1 – 1 of 1) sorted by relevance
257 struct fw_plugin *tmpplug; in flash_load_plugins() local264 (void) dlclose(tmpplug->handle); \ in flash_load_plugins()265 free(tmpplug); } in flash_load_plugins()357 if ((tmpplug = calloc(1, sizeof (struct fw_plugin))) in flash_load_plugins()367 tmpplug->handle = dlopen(plugname, RTLD_NOW); in flash_load_plugins()368 if (tmpplug->handle == NULL) { in flash_load_plugins()369 free(tmpplug); in flash_load_plugins()373 if ((tmpplug->filename = calloc(1, strlen(plugname) + 1)) in flash_load_plugins()383 (void) strlcpy(tmpplug->filename, plugname, in flash_load_plugins()387 if ((sym = dlsym(tmpplug->handle, "drivername")) in flash_load_plugins()[all …]