Lines Matching defs:old_moddef
1853 MODLIST_T *old_moddef = module_loaded(mod->mod_name, &insdef);
1855 if (old_moddef != NULL) { /* Replace existing */
1861 if (old_moddef->ml_dl_hdl == NULL)
1864 old_moddef->ml_mod->mod_name, NULL,
1868 if (dlclose(old_moddef->ml_dl_hdl) != 0)
1871 old_moddef->ml_path, dlerror());
1874 old_moddef->ml_mod->mod_name, old_moddef->ml_path);
1875 old_moddef->ml_mod = mod;
1876 old_moddef->ml_dl_hdl = hdl;
1877 (void) strlcpy((char *)old_moddef->ml_path, path,
1881 old_moddef->ml_mod->mod_name, path);
1882 return (old_moddef->ml_mod);