Searched refs:MODULE_REF_BASE (Results 1 – 1 of 1) sorted by relevance
807 #define MODULE_REF_BASE 1 macro816 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()