/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_dmod.c | 130 struct modctl *modp; local 138 for (modp = kctl_dmods.mod_next; modp != &kctl_dmods; 139 modp = modp->mod_next) { 140 if (strcmp(modname, modp->mod_modname) == 0) { 160 modp = kobj_zalloc(sizeof (struct modctl), KM_SLEEP); 162 modp->mod_filename = kctl_strdup(modpath); 163 modp->mod_modname = kctl_basename(modp 275 struct modctl *modp = &modules; local 302 kctl_dmod_unload_common(struct modctl *modp) argument 365 struct modctl *modp; local 415 struct modctl *modp; local [all...] |
H A D | kctl_mod.c | 43 kctl_mod_decompress(struct modctl *modp) argument 46 struct module *mp = modp->mod_mp; 61 kctl_mod_loaded(struct modctl *modp) argument 66 if (modp->mod_mp == NULL) { 71 if ((rc = kctl_mod_decompress(modp)) != 0) { 73 modp->mod_modname, ctf_errmsg(rc)); 78 kctl_dmod_autoload(modp->mod_modname);
|
H A D | kctl_main.c | 256 struct modctl *modp; local 278 modp = &modules; 280 kctl_mod_loaded(modp); 281 } while ((modp = modp->mod_next) != &modules);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | options.c | 135 static char *modp = modifications; variable 295 *modp++ = 'A'; 320 *modp++ = 'D'; 327 *modp++ = 'e'; 346 *modp++ = 'F'; 359 *modp++ = 'H'; 365 *modp++ = 'h'; 372 *modp++ = 'i'; 384 *modp++ = 'I'; 396 *modp [all...] |
/illumos-gate/usr/src/cmd/streams/strcmd/ |
H A D | strconf.c | 82 char *modp; /* ptr to module name */ local 104 modp = optarg; 172 if (strncmp(modp, strlist.sl_modlist[i].l_name, 200 struct str_mlist *modp; local 209 if ((modp = calloc(n, sizeof (struct str_mlist))) == NULL) { 218 (void) strncpy(modp[i].l_name, listp->sl_modlist[i].l_name, 221 listp->sl_modlist = modp;
|
H A D | strchg.c | 109 char *modp; /* for walking thru modnamep */ local 285 for (i = 0, modp = strtok(modnamep, ","); 286 modp != NULL; ++i, modp = strtok(NULL, ",")) { 287 if (push_module(modp) == FAILURE) { 322 if ((modp = strtok(buf, " \t\n")) == NULL) 326 modp, FMNAMESZ); 328 if ((modp = strtok(NULL, " \t\n")) != NULL) { 535 struct str_mlist *modp; local 544 if ((modp [all...] |
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmutil.c | 170 char *modp, *svmodp; local 180 if ((modp = malloc(strlen(modules) + 1)) == NULL) { 184 svmodp = modp; 185 (void)strcpy(modp, modules); 189 for ( i = 0, modp = strtok(modp, ","); 190 modp != NULL; i++, modp = strtok(NULL, ",") ) { 197 modp, FMNAMESZ);
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_kdi.c | 113 struct modctl *modp = &modules; local 116 if ((rc = func(modp, arg)) != 0) 118 } while ((modp = modp->mod_next) != &modules); 125 kobj_kdi_mod_isloaded(struct modctl *modp) argument 127 return (modp->mod_mp != NULL);
|
H A D | kobj_stubs.c | 39 kobj_load_module(struct modctl *modp, int use_path) argument 46 kobj_load_primary_module(struct modctl *modp) argument 53 kobj_unload_module(struct modctl *modp) argument
|
H A D | kobj_lm.c | 57 kobj_lm_append(int lmid, struct modctl *modp) argument 67 lp->modl_modp = modp;
|
H A D | kobj.c | 370 struct modctl *modp; local 520 modp = &modules; 522 if (modp->mod_next == kobj_modules) 523 modp->mod_next = &modules; 524 if (modp->mod_prev == kobj_modules) 525 modp->mod_prev = &modules; 526 } while ((modp = modp->mod_next) != &modules); 1050 kobj_notify(int type, struct modctl *modp) argument 1054 if (modp 1854 kobj_load_module(struct modctl *modp, int use_path) argument 2096 kobj_load_primary_module(struct modctl *modp) argument 2153 kobj_unload_module(struct modctl *modp) argument 2826 do_dependents(struct modctl *modp, char *modname, size_t modnamelen) argument 3114 struct modctl *modp; local 3143 struct modctl *modp; local [all...] |
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | obpsym.c | 127 struct modctl *modp = &modules; local 134 if (modp->mod_mp && 135 (name = kobj_searchsym(modp->mod_mp, value, &offset))) { 136 (void) strcpy(symbol, modp->mod_modname); 141 } while ((modp = modp->mod_next) != &modules);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kdi.c | 95 kdi_dvec_mod_loaded(struct modctl *modp) argument 97 kdi_dvec->dv_mod_loaded(modp); 101 kdi_dvec_mod_unloading(struct modctl *modp) argument 103 kdi_dvec->dv_mod_unloading(modp);
|
H A D | modsubr.c | 223 install_stubs_by_name(struct modctl *modp, char *name) argument 250 return (init_stubs(modp, mp)); 256 init_stubs(struct modctl *modp, struct mod_modinfo *mp) argument 264 modp->mod_modinfo = mp; 279 funcadr = kobj_lookup(modp->mod_mp, funcname); 281 if (kobj_addrcheck(modp->mod_mp, (caddr_t)funcadr)) { 288 mp->mp = modp; 293 * modp->mod_modinfo has to be checked in these functions before 298 install_stubs(struct modctl *modp) argument 302 if (modp 313 uninstall_stubs(struct modctl *modp) argument 328 reset_stubs(struct modctl *modp) argument 349 struct modctl *modp; local [all...] |
H A D | modctl.c | 355 struct modctl *modp; local 368 modp = mod_hold_installed_mod(filenamep, use_path, 0, &retval); 370 if (modp == NULL) 373 modp->mod_loadflags |= MOD_NOAUTOUNLOAD; 374 modid = modp->mod_id; 375 mod_release_mod(modp); 2654 struct modctl *modp; local 2680 modp = mod_hold_installed_mod(fullname, 1, 0, &retval); 2681 if (modp != NULL) { 2682 id = modp 2787 struct modctl *modp; local 2824 struct modctl *modp; local 2879 struct modctl *modp; local 3075 struct modctl *modp; local 3111 struct modctl *modp; local 3211 mod_circdep(struct modctl *modp) argument 3239 mod_getinfo(struct modctl *modp, struct modinfo *modinfop) argument 3323 struct modctl *modp; local 3334 modlookup_by_modctl(modctl_t *modp, const char *symname) argument 4286 mod_release_requisites(struct modctl *modp) argument 4385 mod_install_requisites(struct modctl *modp) argument 4809 struct modctl *modp = NULL; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cmi.c | 190 cmi_getops(modctl_t *modp) argument 194 if ((ops = (cmi_ops_t *)modlookup_by_modctl(modp, "_cmi_ops")) == 197 "found", modp->mod_modname); 203 "entry point", modp->mod_modname); 211 cmi_load_modctl(modctl_t *modp) argument 221 if (cmi->cmi_modp == modp) 225 if ((ver = modlookup_by_modctl(modp, "_cmi_api_version")) == NULL) { 236 modp->mod_modname, apiver); 243 "kernel requires API version %d", modp->mod_modname, 249 if ((ops = cmi_getops(modp)) 319 modctl_t *modp; local 414 modctl_t *modp; local [all...] |
H A D | cms.c | 172 cms_getops(modctl_t *modp) argument 176 if ((ops = (cms_ops_t *)modlookup_by_modctl(modp, "_cms_ops")) == 179 "found", modp->mod_modname); 185 "entry point", modp->mod_modname); 193 cms_load_modctl(modctl_t *modp) argument 203 if (cms->cms_modp == modp) 207 if ((ver = modlookup_by_modctl(modp, "_cms_api_version")) == NULL) { 209 "no _cms_api_version", modp->mod_modname); 216 modp->mod_modname, apiver); 224 modp 311 modctl_t *modp; local [all...] |
H A D | ddi_impl.c | 2057 char *busp, *modp, *atp; local 2061 bp1275 = bp = addrp = eoaddrp = busp = modp = atp = NULL; 2098 if (modp = strchr(busp + 1, '/')) { 2099 if (atp = strchr(modp + 1, '@')) { 2108 if (modp && addrp) { 2109 (void) strncpy(bootdev_module, modp + 1, 2133 if (modp = strchr(busp + 1, '/')) { 2134 if (atp = strchr(modp + 1, '@')) { 2143 if (modp && addrp) { 2144 (void) strncpy(bootdev_oldmod, modp [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_video.c | 800 modctl_t *modp; local 831 modp = mod_hold_by_id(htkp->modid); 833 modp->mod_ref = 1; 834 modp->mod_loadflags |= MOD_NOAUTOUNLOAD; 836 mod_release_mod(modp); 862 modctl_t *modp; local 869 modp = mod_hold_by_id(htkp->modid); 871 modp->mod_ref = 0; 872 modp->mod_loadflags &= ~MOD_NOAUTOUNLOAD; 874 mod_release_mod(modp); [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kdi.c | 124 kmdb_kdi_mod_isloaded(struct modctl *modp) argument 126 return (mdb.m_kdi->kdi_mod_isloaded(modp));
|
H A D | kmdb_module_load.c | 123 struct modctl *modp = dlr->dlr_modctl; local 153 if ((mp = modp->mod_mp) == NULL || mp->symhdr == NULL || 172 kmc->kmc_modctl = modp; 183 if (mdb_module_create(modname, modp->mod_filename,
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kobj_impl.h | 196 extern void kobj_lm_append(int, struct modctl *modp);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_mdb.c | 415 fmd_module_t *modp = (fmd_module_t *)data; local 419 if (mdb_readstr(name, sizeof (name), (uintptr_t)modp->mod_name) <= 0) 421 modp->mod_name); 423 (void) fmd_ustat((uintptr_t)modp->mod_ustat, 455 fmd_module_t *modp = (fmd_module_t *)data; local 460 if (mdb_readstr(name, sizeof (name), (uintptr_t)modp->mod_name) <= 0) { 462 modp->mod_name); 465 mod_stats = modp->mod_stats; 959 fmd_module_t *modp = (fmd_module_t *)data; local 961 if (modp [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kaif.c | 801 kaif_mod_loaded(struct modctl *modp) argument 804 kaif_modchg_cb(modp, 1); 808 kaif_mod_unloading(struct modctl *modp) argument 811 kaif_modchg_cb(modp, 0);
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kaif.c | 865 kaif_mod_loaded(struct modctl *modp) argument 868 kaif_modchg_cb(modp, 1); 872 kaif_mod_unloading(struct modctl *modp) argument 875 kaif_modchg_cb(modp, 0);
|