Lines Matching refs:e
21 struct module_entry *e; in helper_get_module() local
31 for (e = db->buckets[hash]; e; e = e->next) in helper_get_module()
32 if (strcmp(e->modname, modname) == 0) in helper_get_module()
33 return e; in helper_get_module()
37 e = xzalloc(sizeof(*e)); in helper_get_module()
38 e->modname = xstrdup(modname); in helper_get_module()
39 e->next = db->buckets[hash]; in helper_get_module()
40 db->buckets[hash] = e; in helper_get_module()
41 IF_DEPMOD(e->dnext = e->dprev = e;) in helper_get_module()
43 return e; in helper_get_module()
56 module_entry *e, *n; in moddb_free() local
60 for (e = db->buckets[i]; e; e = n) { in moddb_free()
61 n = e->next; in moddb_free()
62 free(e->name); in moddb_free()
63 free(e->modname); in moddb_free()
64 free(e); in moddb_free()