Lines Matching defs:stub
2928 static char mod_stub_err[] = "mod_hold_stub: Couldn't load stub module %s";
2929 static char no_err[] = "No error function for weak stub %s";
2934 * the stub needs to call mod_release_stub().
2935 * -1 if the stub should just call the err_fcn.
2942 mod_hold_stub(struct mod_stub_info *stub)
2947 mip = stub->mods_modinfo;
2971 * else has resolved the stub (set mip->mp).
3005 /* Module not loaded, if weak stub don't load it */
3006 if (stub->mods_flag & MODS_WEAK) {
3007 if (stub->mods_errfcn == NULL) {
3013 /* Not a weak stub so load the module */
3025 if (stub->mods_errfcn == NULL) {
3039 * that if another stub wants to access this module,
3047 (mp->mod_loaded || (stub->mods_flag & MODS_WEAK)));
3054 mod_release_stub(struct mod_stub_info *stub)
3056 struct modctl *mp = stub->mods_modinfo->mp;
3061 (mp->mod_loaded || (stub->mods_flag & MODS_WEAK)));
3542 /* reset stub functions to call the binder again */