/titanic_44/usr/src/uts/common/sys/ |
H A D | kdi_impl.h | 53 void (*dv_mod_loaded)(struct modctl *); 54 void (*dv_mod_unloading)(struct modctl *); 100 int (*kdi_mod_iter)(int (*)(struct modctl *, void *), void *); 105 int (*kdi_mod_isloaded)(struct modctl *); 110 int (*kdi_mod_haschanged)(struct modctl *, struct module *, 111 struct modctl *, struct module *);
|
H A D | kdi.h | 56 struct modctl; 64 extern struct modctl *kdi_dmods; 76 extern void kdi_dvec_mod_loaded(struct modctl *); 77 extern void kdi_dvec_mod_unloading(struct modctl *);
|
H A D | kobj_impl.h | 94 typedef void kobj_notify_f(uint_t, struct modctl *); 180 extern struct modctl *kobj_boot_mod_lookup(const char *); 182 extern int kobj_load_primary_module(struct modctl *); 196 extern void kobj_lm_append(int, struct modctl *modp);
|
H A D | modctl.h | 478 struct modctl *mp; 484 struct modctl *modl_modp; 493 typedef struct modctl { struct 494 struct modctl *mod_next; /* &modules based list */ argument 495 struct modctl *mod_prev; argument 524 struct modctl *mod_requisite_loading; /* mod circular dependency */ argument 666 extern int modctl(int, ...);
|
/titanic_44/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_dmod.c | 44 struct modctl *kdi_dmods; 52 static struct modctl kctl_dmods; 130 struct modctl *modp; in kctl_dmod_load() 160 modp = kobj_zalloc(sizeof (struct modctl), KM_SLEEP); in kctl_dmod_load() 190 kobj_free(modp, sizeof (struct modctl)); in kctl_dmod_load() 275 struct modctl *modp = &modules; in kctl_dmod_load_all() 302 kctl_dmod_unload_common(struct modctl *modp) in kctl_dmod_unload_common() 304 struct modctl *m; in kctl_dmod_unload_common() 333 kmem_free(modp, sizeof (struct modctl)); in kctl_dmod_unload_common() 365 struct modctl *modp; in kctl_dmod_unload_all() [all …]
|
H A D | kctl_mod.c | 43 kctl_mod_decompress(struct modctl *modp) in kctl_mod_decompress() 61 kctl_mod_loaded(struct modctl *modp) in kctl_mod_loaded() 83 kctl_mod_changed(uint_t why, struct modctl *what) in kctl_mod_changed()
|
H A D | kctl.h | 117 extern int kctl_mod_decompress(struct modctl *); 118 extern void kctl_mod_loaded(struct modctl *); 119 extern void kctl_mod_changed(uint_t, struct modctl *);
|
/titanic_44/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kdi.h | 65 extern int kmdb_kdi_mod_iter(int (*)(struct modctl *, void *), void *); 66 extern int kmdb_kdi_mod_isloaded(struct modctl *); 67 extern int kmdb_kdi_mod_haschanged(struct modctl *, struct module *, 68 struct modctl *, struct module *);
|
H A D | kmdb_kdi.c | 63 int (*mid_usercb)(struct modctl *, void *); 78 kmdb_kdi_mod_interp(struct modctl *mp, void *arg) in kmdb_kdi_mod_interp() 101 kmdb_kdi_mod_iter(int (*cb)(struct modctl *, void *), void *arg) in kmdb_kdi_mod_iter() argument 124 kmdb_kdi_mod_isloaded(struct modctl *modp) in kmdb_kdi_mod_isloaded() 130 kmdb_kdi_mod_haschanged(struct modctl *mc1, struct module *mp1, in kmdb_kdi_mod_haschanged() 131 struct modctl *mc2, struct module *mp2) in kmdb_kdi_mod_haschanged()
|
/titanic_44/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 39 struct modctl mwd_modctl; 67 if (mdb_vread(&mwd->mwd_modctl, sizeof (struct modctl), in modctl_walk_step() 91 const struct modctl *mcp = (const struct modctl *)data; in modctl_format() 130 struct modctl mc; in modctls() 229 struct modctl ctl; in modhdrs() 244 mdb_vread(&ctl, sizeof (struct modctl), addr); in modhdrs() 262 const struct modctl *mcp = (const struct modctl *)data; in modinfo_format() 317 struct modctl mc; in modinfo() 331 ctfinfo_format(uintptr_t addr, const struct modctl *mcp, void *private) in ctfinfo_format()
|
/titanic_44/usr/src/uts/common/krtld/ |
H A D | kobj_kdi.c | 98 kobj_kdi_mod_iter(int (*func)(struct modctl *, void *), void *arg) in kobj_kdi_mod_iter() argument 113 struct modctl *modp = &modules; in kobj_kdi_mod_iter() 125 kobj_kdi_mod_isloaded(struct modctl *modp) in kobj_kdi_mod_isloaded() 143 kobj_kdi_mod_notify(uint_t why, struct modctl *what) in kobj_kdi_mod_notify() 174 kobj_kdi_mod_haschanged(struct modctl *mc1, struct module *mp1, in kobj_kdi_mod_haschanged() 175 struct modctl *mc2, struct module *mp2) in kobj_kdi_mod_haschanged()
|
H A D | kobj_stubs.c | 39 kobj_load_module(struct modctl *modp, int use_path) in kobj_load_module() 46 kobj_load_primary_module(struct modctl *modp) in kobj_load_primary_module() 53 kobj_unload_module(struct modctl *modp) in kobj_unload_module()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | modctl.c | 80 static int mod_circdep(struct modctl *); 84 static int mod_getinfo(struct modctl *, struct modinfo *); 85 static struct modctl *allocate_modp(const char *, const char *); 87 static int mod_load(struct modctl *, int); 88 static void mod_unload(struct modctl *); 89 static int modinstall(struct modctl *); 90 static int moduninstall(struct modctl *); 92 static struct modctl *mod_hold_by_name_common(struct modctl *, const char *); 93 static struct modctl *mod_hold_next_by_id(modid_t); 94 static struct modctl *mod_hold_loaded_mod(struct modctl *, char *, int *); [all …]
|
H A D | modconf.c | 68 extern struct modctl *mod_getctl(struct modlinkage *); 401 struct modctl *mcp; in mod_modname() 437 struct modctl *mcp; in mod_infodrv() 471 struct modctl *mcp; in mod_installdacf() 482 struct modctl *mcp; in mod_removedacf() 541 struct modctl *mcp; in mod_installdrv() 643 struct modctl *mcp; in mod_removedrv() 817 struct modctl *mcp = mod_getctl(modlp); in mod_removesys_sysent() 940 struct modctl *mcp; in mod_installfs() 1058 struct modctl *mcp; in mod_removefs() [all …]
|
H A D | kdi.c | 34 struct modctl *kdi_dmods; 95 kdi_dvec_mod_loaded(struct modctl *modp) in kdi_dvec_mod_loaded() 101 kdi_dvec_mod_unloading(struct modctl *modp) in kdi_dvec_mod_unloading()
|
/titanic_44/usr/src/cmd/getdevpolicy/ |
H A D | getdevpolicy.c | 85 if (modctl(MODGETDEVPOLICY, &nitems, sz, mem) == 0 || errno != ENOMEM) in getpolicy() 92 if (modctl(MODGETDEVPOLICY, &nitems, sz, mem) != 0) in getpolicy() 101 if (modctl(MODGETNAME, major, sizeof (major), in getpolicy() 135 if (modctl(MODGETDEVPOLICYBYNAME, sz, ds, dev) != 0) in getdevpolicy()
|
/titanic_44/usr/src/lib/libdevid/ |
H A D | deviceid.c | 64 if (modctl(MODSIZEOF_DEVID, dev, &len) != 0) in devid_get() 72 if (modctl(MODGETDEVID, dev, len, mydevid) != 0) { in devid_get() 105 if (modctl(MODSIZEOF_MINORNAME, dev, spectype, &len) != 0) in devid_get_minor_name() 113 if (modctl(MODGETMINORNAME, dev, spectype, len, myminor_name) != 0) { in devid_get_minor_name() 256 again: if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, NULL) != 0) in devid_deviceid_to_nmlist() 260 if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, paths) != 0) { in devid_deviceid_to_nmlist()
|
/titanic_44/usr/src/lib/libc/common/sys/ |
H A D | modctl.s | 37 SYSCALL_RVAL1(modctl) 39 SET_SIZE(modctl)
|
/titanic_44/usr/src/uts/common/fs/objfs/ |
H A D | objfs_root.c | 78 struct modctl *mp; in objfs_root_do_lookup() 111 struct modctl **mpp = data; in objfs_root_do_readdir() 112 struct modctl *mp = *mpp; in objfs_root_do_readdir() 161 struct modctl *mp = &modules; in objfs_root_readdir()
|
/titanic_44/usr/src/lib/libdevinfo/ |
H A D | devinfo_dim.c | 85 if (modctl(MODGETMAJBIND, drv_name, strlen(drv_name) + 1, &major) < 0) in di_dim_path_devices() 89 if (modctl(MODGETDEVFSPATH_MI_LEN, major, instance, &len) != 0) in di_dim_path_devices() 103 if (modctl(MODGETDEVFSPATH_MI, major, instance, len, devices) != 0) { in di_dim_path_devices()
|
H A D | devinfo_finddev.c | 79 rv = modctl(MODDEVEXISTS, devname, strlen(devname)); in device_exists() 197 rv = modctl(MODDEVREADDIR, path, strlen(path), NULL, &bufsiz); in finddev_readdir_devfs() 210 rv = modctl(MODDEVREADDIR, path, strlen(path), in finddev_readdir_devfs() 302 rv = modctl(MODDEVEMPTYDIR, path, strlen(path), &empty); in finddev_emptydir_devfs()
|
/titanic_44/usr/src/uts/intel/dtrace/ |
H A D | fbt.c | 67 struct modctl *fbtp_ctl; 149 fbt_provide_module(void *arg, struct modctl *ctl) in fbt_provide_module() 450 struct modctl *ctl = fbt->fbtp_ctl; in fbt_destroy() 493 struct modctl *ctl = fbt->fbtp_ctl; in fbt_enable() 533 struct modctl *ctl = fbt->fbtp_ctl; in fbt_disable() 550 struct modctl *ctl = fbt->fbtp_ctl; in fbt_suspend() 566 struct modctl *ctl = fbt->fbtp_ctl; in fbt_resume() 582 struct modctl *ctl = fbt->fbtp_ctl; in fbt_getargdesc() 611 struct modctl *mp = &modules; in fbt_getargdesc() 612 struct modctl *mod = NULL; in fbt_getargdesc()
|
/titanic_44/usr/src/cmd/devfsadm/ |
H A D | devpolicy.c | 133 if (modctl(MODGETMAJBIND, line, col - line + 1, &maj) in loadprivs() 140 if (modctl(MODALLOCPRIV, line) != 0) { in loadprivs() 224 if (modctl(MODGETMAJBIND, maj, strlen(maj) + 1, in loadpolicy() 265 if ((res = modctl(MODSETDEVPOLICY, cnt, devplcysys_sz, mem)) != 0) in loadpolicy()
|
/titanic_44/usr/src/cmd/modload/ |
H A D | rem_drv.c | 162 if (modctl(MODUNLOAD, modid) < 0) { in main() 170 if (modctl(MODUNLOADDRVCONF, (major_t)found) < 0) { in main() 177 if (mod_unloaded && (modctl(MODREMMAJBIND, (major_t)found) < 0)) { in main() 220 err = modctl(MODREMDRVCLEANUP, driver_name, 0, NULL); in main()
|
/titanic_44/usr/src/uts/common/crypto/core/ |
H A D | kcf.c | 118 struct modctl * 121 struct modctl *mctlp; in kcf_get_modctl()
|