Home
last modified time | relevance | path

Searched refs:modinfo (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/illumos-gate/usr/src/cmd/modload/
H A Dmodinfo.c65 static void print_info(struct modinfo *mi);
66 static void print_cinfo(struct modinfo *mi);
80 struct modinfo modinfo; in main() local
113 modinfo.mi_id = modinfo.mi_nextid = id; in main()
117 modinfo.mi_info |= MI_INFO_CNT; in main()
126 if (modctl(MODINFO, id, &modinfo) < 0) { in main()
137 print_cinfo(&modinfo); in main()
139 print_info(&modinfo); in main()
144 id = modinfo.mi_id; in main()
154 print_cinfo(struct modinfo *mi) in print_cinfo()
[all …]
H A Dmodload.c120 struct modinfo modinfo; in l_exec_userfile() local
135 modinfo.mi_id = id; in l_exec_userfile()
136 modinfo.mi_nextid = id; in l_exec_userfile()
137 modinfo.mi_info = MI_INFO_ONE; in l_exec_userfile()
138 if (modctl(MODINFO, id, &modinfo) < 0) in l_exec_userfile()
141 (void) sprintf(module_id, "%d", modinfo.mi_id); in l_exec_userfile()
142 (void) sprintf(mod0, "%d", modinfo.mi_msinfo[0].msi_p0); in l_exec_userfile()
H A Dmodunload.c110 struct modinfo modinfo; in exec_userfile() local
115 modinfo.mi_id = modinfo.mi_nextid = id; in exec_userfile()
116 modinfo.mi_info = MI_INFO_ONE; in exec_userfile()
117 if (modctl(MODINFO, id, &modinfo) < 0) in exec_userfile()
121 (void) sprintf(mod0, "%d", modinfo.mi_msinfo[0].msi_p0); in exec_userfile()
H A DMakefile.com31 MODPROG = modinfo modunload modload
91 modinfo: modinfo.o $(MODCOMMONOBJ)
92 $(LINK.c) -o $@ modinfo.o $(MODCOMMONOBJ) $(LDLIBS)
/illumos-gate/usr/src/cmd/fuser/
H A Dfuser.c297 struct modinfo modinfo; in report_kernel() local
302 modinfo.mi_info = MI_INFO_ONE | MI_INFO_CNT | MI_INFO_NOBASE; in report_kernel()
303 modinfo.mi_id = modinfo.mi_nextid = f_user->fu_modid; in report_kernel()
304 if (modctl(MODINFO, f_user->fu_modid, &modinfo) < 0) { in report_kernel()
314 (void) fprintf(stderr, " [%s]", modinfo.mi_name); in report_kernel()
320 modinfo.mi_name, strlen(modinfo.mi_name) + 1, &major) < 0) { in report_kernel()
325 path = i_get_dev_path(f_user, modinfo.mi_name, major, di_root); in report_kernel()
337 (void) fprintf(stderr, " [%s]", modinfo.mi_name); in report_kernel()
345 modinfo.mi_name, major, f_user->fu_minor); in report_kernel()
357 modinfo.mi_name, path); in report_kernel()
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtls.c54 TLS_modinfo *modinfo; in tls_modinfo_alloc() local
65 (void) memcpy(modinfo, tls_modinfo->tls_data, in tls_modinfo_alloc()
70 tls_modinfo->tls_data = modinfo; in tls_modinfo_alloc()
73 return (modinfo); in tls_modinfo_alloc()
92 TLS_modinfo *modinfo; in __tls_static_mods() local
146 modinfo = tls_modinfo_alloc(tlsm, max_modid); in __tls_static_mods()
148 (void) memcpy(&modinfo[tlsp->tm_modid], in __tls_static_mods()
170 TLS_modinfo *modinfo; in __tls_mod_add() local
175 modinfo = tls_modinfo_alloc(tlsm, moduleid); in __tls_mod_add()
188 TLS_modinfo *modinfo; in __tls_mod_remove() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libavl/
H A Dlibavl.c39 static const mdb_modinfo_t modinfo = { variable
46 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/list/
H A Dlistmod.c35 static const mdb_modinfo_t modinfo = { variable
42 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dballoon_drv.c194 _info(struct modinfo *modinfo) in _info() argument
196 return (mod_info(&modl, modinfo)); in _info()
H A Ddomcaps.c184 _info(struct modinfo *modinfo) in _info() argument
186 return (mod_info(&modl, modinfo)); in _info()
H A Dxpvtod.c188 _info(struct modinfo *modinfo) in _info() argument
190 return (mod_info(&modl, modinfo)); in _info()
/illumos-gate/usr/src/cmd/mdb/common/modules/libnvpair/
H A Dlibnvpair.c46 static const mdb_modinfo_t modinfo = { variable
53 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dmodule.c166 modinfo_update_one(const fmd_adm_modinfo_t *modinfo, void *arg) in modinfo_update_one() argument
170 sunFmModule_data_t *data = module_lookup_name(modinfo->ami_name); in modinfo_update_one()
184 modinfo->ami_name)); in modinfo_update_one()
199 modinfo->ami_name, data)); in modinfo_update_one()
201 (void) strlcpy(data->d_ami_name, modinfo->ami_name, in modinfo_update_one()
223 (void) strlcpy(data->d_ami_vers, modinfo->ami_vers, in modinfo_update_one()
225 (void) strlcpy(data->d_ami_desc, modinfo->ami_desc, in modinfo_update_one()
227 data->d_ami_flags = modinfo->ami_flags; in modinfo_update_one()
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c158 struct modinfo modinfo; in loaded_mod() local
161 modinfo.mi_id = modinfo.mi_nextid = -1; in loaded_mod()
162 modinfo.mi_info = MI_INFO_ALL; in loaded_mod()
164 while (modctl(MODINFO, modinfo.mi_id, &modinfo) >= 0) in loaded_mod()
165 if (strcmp(modinfo.mi_name, name) == 0) in loaded_mod()
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/vdsk/
H A Dvdsk.c95 static const mdb_modinfo_t modinfo = { variable
102 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/cmd/mdb/demo/common/
H A Dexample1.c105 static const mdb_modinfo_t modinfo = { variable
112 return (&modinfo); in _mdb_init()
H A Dexample2.c151 static const mdb_modinfo_t modinfo = { variable
158 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c1060 static mdb_modinfo_t modinfo = { variable
1085 modinfo.mi_dcmds = mdb_zalloc(sizeof (*dp) * (d + kd + 1), UM_SLEEP); in _mdb_init()
1088 bcopy(common_dcmds, (void *)modinfo.mi_dcmds, sizeof (*dp) * d); in _mdb_init()
1089 bcopy(common_walkers, (void *)modinfo.mi_walkers, sizeof (*wp) * w); in _mdb_init()
1093 (modinfo.mi_dcmds + d), sizeof (*dp) * kd); in _mdb_init()
1095 (modinfo.mi_walkers + w), sizeof (*wp) * kw); in _mdb_init()
1097 return (&modinfo); in _mdb_init()
1107 for (dp = modinfo.mi_dcmds; dp->dc_name != NULL; dp++) in _mdb_fini()
1110 for (wp = modinfo.mi_walkers; wp->walk_name != NULL; wp++) in _mdb_fini()
1113 mdb_free((void *)modinfo.mi_dcmds, sizeof (*dp) * (d + 1)); in _mdb_fini()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/neti/
H A Dneti.c101 static const mdb_modinfo_t modinfo = { MDB_API_VERSION, dcmds }; variable
106 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/pcplusmp/
H A Dpcplusmp.c109 static const mdb_modinfo_t modinfo = { MDB_API_VERSION, dcmds, NULL }; variable
124 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/uts/common/io/
H A Dcpuid_drv.c278 _info(struct modinfo *modinfo) in _info() argument
280 return (mod_info(&modl, modinfo)); in _info()
/illumos-gate/usr/src/cmd/mdb/common/modules/random/
H A Drandom.c136 static const mdb_modinfo_t modinfo = { variable
143 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/sockfs/
H A Dsockfs.c158 static const mdb_modinfo_t modinfo = { MDB_API_VERSION, dcmds, NULL }; variable
163 return (&modinfo); in _mdb_init()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_stubs.c145 kobj_getmodinfo(void *xmp, struct modinfo *modinfo) in kobj_getmodinfo() argument
/illumos-gate/usr/src/cmd/mdb/common/modules/logindmux/
H A Dlogindmux.c99 static const mdb_modinfo_t modinfo = { MDB_API_VERSION }; variable
111 return (&modinfo); in _mdb_init()

12345678910>>...33