HomeSort by relevance Sort by last modified time
    Searched refs:modules_by_name (Results 1 - 2 of 2) sorted by null

  /external/kmod/libkmod/
libkmod.c 85 struct hash *modules_by_name; member in struct:kmod_ctx
280 ctx->modules_by_name = hash_new(KMOD_HASH_SIZE, NULL);
281 if (ctx->modules_by_name == NULL) {
292 free(ctx->modules_by_name);
334 hash_free(ctx->modules_by_name);
400 mod = hash_find(ctx->modules_by_name, key);
412 hash_add(ctx->modules_by_name, key, mod);
420 hash_del(ctx->modules_by_name, key);
748 hash_iter_init(ctx->modules_by_name, &iter);
758 hash_iter_init(ctx->modules_by_name, &iter)
    [all...]
  /external/kmod/tools/
depmod.c 822 struct hash *modules_by_name; member in struct:depmod
882 depmod->modules_by_name = hash_new(512, NULL);
883 if (depmod->modules_by_name == NULL) {
897 hash_free(depmod->modules_by_name);
912 hash_free(depmod->modules_by_name);
952 err = hash_add_unique(depmod->modules_by_name, mod->modname, mod);
968 hash_del(depmod->modules_by_name, mod->modname);
990 hash_del(depmod->modules_by_name, mod->modname);
1075 mod = hash_find(depmod->modules_by_name, modname);
1229 hash_iter_init(depmod->modules_by_name, &module_iter)
    [all...]

Completed in 6743 milliseconds