Lines Matching refs:dep
352 struct module_ref *dep; in sys_init_module() local
523 for (i = 0, dep = mod->deps; i < mod->ndeps; ++i, ++dep) { in sys_init_module()
524 struct module *o, *d = dep->dep; in sys_init_module()
545 for (i = 0, dep = mod->deps; i < mod->ndeps; ++i, ++dep) { in sys_init_module()
546 struct module *d = dep->dep; in sys_init_module()
548 dep->ref = mod; in sys_init_module()
549 dep->next_ref = d->refs; in sys_init_module()
550 d->refs = dep; in sys_init_module()
736 const char *dep_name = mod->deps[i].dep->name; in qm_deps()
756 space += strlen(mod->deps[i].dep->name)+1; in qm_deps()
1045 struct module_ref *dep; in free_module() local
1060 for (i = 0, dep = mod->deps; i < mod->ndeps; ++i, ++dep) { in free_module()
1062 for (pp = &dep->dep->refs; *pp != dep; pp = &(*pp)->next_ref) in free_module()
1064 *pp = dep->next_ref; in free_module()
1065 if (tag_freed && dep->dep->refs == NULL) in free_module()
1066 dep->dep->flags |= MOD_JUST_FREED; in free_module()