Lines Matching refs:modctl

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 *);
95 static struct modctl *mod_hold_installed_mod(char *, int, int, int *);
97 static void mod_release(struct modctl *);
98 static void mod_make_requisite(struct modctl *, struct modctl *);
99 static int mod_install_requisites(struct modctl *);
101 static struct modctl *mod_hold_by_name_requisite(struct modctl *, char *);
109 struct modctl *mp;
355 struct modctl *modp; in modctl_modload()
2362 modctl(int cmd, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, in modctl() function
2652 modrload(const char *subdir, const char *filename, struct modctl **rmodp) in modrload()
2654 struct modctl *modp; in modrload()
2787 struct modctl *modp; in modloadonly()
2822 modunrload(modid_t id, struct modctl **rmodp, int unload) in modunrload()
2824 struct modctl *modp; in modunrload()
2879 struct modctl *modp; in modinfo()
2944 struct modctl *mp; in mod_hold_stub()
3056 struct modctl *mp = stub->mods_modinfo->mp; in mod_release_stub()
3072 static struct modctl *
3073 mod_hold_loaded_mod(struct modctl *dep, char *filename, int *status) in mod_hold_loaded_mod()
3075 struct modctl *modp; in mod_hold_loaded_mod()
3108 static struct modctl *
3111 struct modctl *modp; in mod_hold_installed_mod()
3171 struct modctl *
3174 struct modctl *mp; in mod_find_by_filename()
3211 mod_circdep(struct modctl *modp) in mod_circdep()
3213 struct modctl *rmod; in mod_circdep()
3239 mod_getinfo(struct modctl *modp, struct modinfo *modinfop) in mod_getinfo()
3270 modadd(struct modctl *mp) in modadd()
3282 static struct modctl *
3285 struct modctl *mp; in allocate_modp()
3323 struct modctl *modp; in modlookup()
3389 mod_load(struct modctl *mp, int usepath) in mod_load()
3477 struct modctl *dmp = mod_hold_by_name("dtrace"); in mod_load()
3503 mod_unload(struct modctl *mp) in mod_unload()
3574 struct modctl *dmp = mod_hold_by_name("dtrace"); in mod_unload()
3584 modinstall(struct modctl *mp) in modinstall()
3688 moduninstall(struct modctl *mp) in moduninstall()
3804 struct modctl *mp; in mod_uninstall_all()
3974 mod_hold_by_modctl(struct modctl *mp, int f) in mod_hold_by_modctl()
4017 static struct modctl *
4018 mod_hold_by_name_common(struct modctl *dep, const char *filename) in mod_hold_by_name_common()
4021 struct modctl *mp; in mod_hold_by_name_common()
4094 static struct modctl *
4095 mod_hold_by_name_requisite(struct modctl *dep, char *filename) in mod_hold_by_name_requisite()
4100 struct modctl *
4106 struct modctl *
4109 struct modctl *mp; in mod_hold_by_id()
4130 static struct modctl *
4133 struct modctl *mp; in mod_hold_next_by_id()
4159 mod_release(struct modctl *mp) in mod_release()
4173 mod_release_mod(struct modctl *mp) in mod_release_mod()
4186 struct modctl *mp; in mod_name_to_modid()
4211 struct modctl *mp; in mod_remove_by_name()
4240 mod_make_requisite(struct modctl *dependent, struct modctl *on_mod) in mod_make_requisite()
4286 mod_release_requisites(struct modctl *modp) in mod_release_requisites()
4290 struct modctl *req; in mod_release_requisites()
4338 struct modctl *mp = mod_garbage->modl_modp; in mod_release_requisites()
4369 struct modctl *
4370 mod_load_requisite(struct modctl *dep, char *on) in mod_load_requisite()
4372 struct modctl *on_mod; in mod_load_requisite()
4385 mod_install_requisites(struct modctl *modp) in mod_install_requisites()
4388 struct modctl *req; in mod_install_requisites()
4733 struct modctl *hmodp = NULL; in ddi_modopen()
4777 struct modctl *hmodp = (struct modctl *)h; in ddi_modsym()
4808 struct modctl *hmodp = (struct modctl *)h; in ddi_modclose()
4809 struct modctl *modp = NULL; in ddi_modclose()