Home
last modified time | relevance | path

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

/kernel/
Dmodule.c807 #define MODULE_REF_BASE 1 macro
816 atomic_set(&mod->refcnt, MODULE_REF_BASE); in module_unload_init()
925 ret = atomic_sub_return(MODULE_REF_BASE, &mod->refcnt); in try_release_module_ref()
929 ret = atomic_add_unless(&mod->refcnt, MODULE_REF_BASE, 0); in try_release_module_ref()
960 return atomic_read(&mod->refcnt) - MODULE_REF_BASE; in module_refcount()