Home
last modified time | relevance | path

Searched refs:mod_refcnt (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_module.c465 module_netbsd->mod_refcnt = 1; in module_init()
792 mod->mod_refcnt++; in module_hold()
806 KASSERT(mod->mod_refcnt > 0); in module_rele()
807 mod->mod_refcnt--; in module_rele()
833 (*mod->mod_required)[i]->mod_refcnt++; in module_enqueue()
1478 if (mod->mod_refcnt != 0) { in module_do_unload()
1480 mod->mod_refcnt); in module_do_unload()
1520 (*mod->mod_required)[i]->mod_refcnt--; in module_do_unload()
H A Dsys_module.c192 ms->ms_refcnt = mod->mod_refcnt; in handle_modctl_stat()
/netbsd-src/sys/compat/common/
H A Dkern_mod_80.c117 oms->oms_refcnt = mod->mod_refcnt; in compat_80_modstat()
/netbsd-src/sys/sys/
H A Dmodule.h90 u_int mod_refcnt; member
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_compat_80.c107 oms->oms_refcnt = mod->mod_refcnt; in modctl32_handle_ostat()
H A Dnetbsd32_module.c123 ms->ms_refcnt = mod->mod_refcnt; in modctl32_handle_stat()