Lines Matching refs:modules_by_name
85 struct hash *modules_by_name;
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);