Lines Matching refs:kmod_name
510 bool add_dependencies_for_kmod(const char * kmod_name, dgraph_t * dgraph)
533 if (!getKext(kmod_name, &kextPlist, &code, &code_length,
535 IOLog("can't find extension %s\n", kmod_name);
540 if (!kextIsDependency(kmod_name, &is_kernel_component)) {
541 IOLog("extension %s is not loadable\n", kmod_name);
547 IOLog("can't get version for extension %s\n", kmod_name);
557 dgraph_entry = dgraph_add_dependent(dgraph, kmod_name,
562 kmod_name, kmod_vers,
565 IOLog("can't record %s in dependency graph\n", kmod_name);
574 IOLog("can't map %s in preparation for loading\n", kmod_name);
598 kmod_name);
752 kern_return_t load_kernel_extension(char * kmod_name)
767 if ((kmod_info = kmod_lookupbyname_locked(kmod_name))) {
774 kmod_name);
780 if (!add_dependencies_for_kmod(kmod_name, &dgraph)) {
782 kmod_name);
791 kmod_name);
809 IOLog(VTYELLOW "Failed to load extension %s.\n" VTRESET, kmod_name);