Lines Matching refs:crt_dep
262 struct module_dep *crt_dep; in enforce_dependency() local
265 list_for_each_entry(crt_dep, &req->dependants, list) { in enforce_dependency()
266 if (crt_dep->module == dep) { in enforce_dependency()
282 struct module_dep *crt_dep = NULL; in clear_dependency() local
285 list_for_each_entry(crt_dep, &req->dependants, list) { in clear_dependency()
286 if (crt_dep->module == dep) { in clear_dependency()
293 list_del(&crt_dep->list); in clear_dependency()
294 free(crt_dep); in clear_dependency()
299 list_for_each_entry(crt_dep, &dep->required, list) { in clear_dependency()
300 if (crt_dep->module == req) { in clear_dependency()
307 list_del(&crt_dep->list); in clear_dependency()
308 free(crt_dep); in clear_dependency()
394 struct module_dep *crt_dep, *tmp; in _module_unload() local
402 list_for_each_entry_safe(crt_dep, tmp, &module->required, list) { in _module_unload()
403 clear_dependency(crt_dep->module, module); in _module_unload()