Lines Matching refs:ctl
98 sdt_provide_module(void *arg, struct modctl *ctl)
100 struct module *mp = ctl->mod_mp;
101 char *modname = ctl->mod_modname;
149 sdp->sdp_loadcnt = ctl->mod_loadcnt;
150 sdp->sdp_ctl = ctl;
193 struct modctl *ctl = sdp->sdp_ctl;
196 if (ctl != NULL && ctl->mod_loadcnt == sdp->sdp_loadcnt) {
197 if ((ctl->mod_loadcnt == sdp->sdp_loadcnt &&
198 ctl->mod_loaded)) {
199 ((struct module *)(ctl->mod_mp))->sdt_nprobes--;
236 struct modctl *ctl = sdp->sdp_ctl;
238 ctl->mod_nenabled++;
244 if (!ctl->mod_loaded) {
248 sdp->sdp_name, ctl->mod_modname);
258 if (ctl->mod_loadcnt != sdp->sdp_loadcnt) {
262 sdp->sdp_name, ctl->mod_modname);
280 struct modctl *ctl = sdp->sdp_ctl;
282 ctl->mod_nenabled--;
284 if (!ctl->mod_loaded || ctl->mod_loadcnt != sdp->sdp_loadcnt)