Searched refs:module_name (Results 1 – 8 of 8) sorted by relevance
/system/core/libmodprobe/ |
D | libmodprobe_ext.cpp | 70 bool Modprobe::Rmmod(const std::string& module_name) { in Rmmod() argument 71 auto canonical_name = MakeCanonical(module_name); in Rmmod() 74 PLOG(ERROR) << "Failed to remove module '" << module_name << "'"; in Rmmod() 81 bool Modprobe::ModuleExists(const std::string& module_name) { in ModuleExists() argument 83 if (blocklist_enabled && module_blocklist_.count(module_name)) { in ModuleExists() 84 LOG(INFO) << "module " << module_name << " is blocklisted"; in ModuleExists() 87 auto deps = GetDependencies(module_name); in ModuleExists() 93 LOG(INFO) << "module " << module_name << " does not exist"; in ModuleExists() 97 LOG(INFO) << "module " << module_name << " is not a regular file"; in ModuleExists()
|
D | libmodprobe.cpp | 49 std::string module_name = module_path.substr(start, end - start); in MakeCanonical() local 51 std::replace(module_name.begin(), module_name.end(), '-', '_'); in MakeCanonical() 52 return module_name; in MakeCanonical() 105 const std::string& module_name = *it++; in ParseAliasCallback() local 106 this->module_aliases_.emplace_back(alias, module_name); in ParseAliasCallback() 241 void Modprobe::AddOption(const std::string& module_name, const std::string& option_name, in AddOption() argument 243 auto canonical_name = MakeCanonical(module_name); in AddOption() 255 std::string module_name = ""; in ParseKernelCmdlineOptions() local 274 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions() 275 AddOption(module_name, option_name, value); in ParseKernelCmdlineOptions() [all …]
|
D | libmodprobe_ext_test.cpp | 63 bool Modprobe::Rmmod(const std::string& module_name) { in Rmmod() argument 65 if (*it == module_name || android::base::StartsWith(*it, module_name + " ")) { in Rmmod() 73 bool Modprobe::ModuleExists(const std::string& module_name) { in ModuleExists() argument 74 auto deps = GetDependencies(module_name); in ModuleExists() 75 if (blocklist_enabled && module_blocklist_.count(module_name)) { in ModuleExists()
|
/system/core/libmodprobe/include/modprobe/ |
D | modprobe.h | 30 bool LoadWithAliases(const std::string& module_name, bool strict, 32 bool Remove(const std::string& module_name); 43 bool InsmodWithDeps(const std::string& module_name, const std::string& parameters); 45 bool Rmmod(const std::string& module_name); 47 bool ModuleExists(const std::string& module_name); 48 void AddOption(const std::string& module_name, const std::string& option_name,
|
/system/extras/simpleperf/ |
D | environment.cpp | 139 std::string module_name = name.substr(0, name.size() - 3); in GetAllModuleFiles() local 140 std::replace(module_name.begin(), module_name.end(), '-', '_'); in GetAllModuleFiles() 141 module_file_map->insert(std::make_pair(module_name, entry_path)); in GetAllModuleFiles() 254 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id, in GetModuleBuildId() argument 256 std::string notefile = sysfs_dir + "/module/" + module_name + "/notes/.note.gnu.build-id"; in GetModuleBuildId()
|
D | environment.h | 65 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id,
|
D | cmd_record.cpp | 1732 std::string module_name = basename(&path[0]); in DumpBuildIdFeature() local 1733 if (android::base::EndsWith(module_name, ".ko")) { in DumpBuildIdFeature() 1734 module_name = module_name.substr(0, module_name.size() - 3); in DumpBuildIdFeature() 1736 if (!GetModuleBuildId(module_name, &build_id)) { in DumpBuildIdFeature() 1737 LOG(DEBUG) << "can't read build_id for module " << module_name; in DumpBuildIdFeature()
|
/system/tools/xsdc/ |
D | README.md | 38 Then run "make {xsd_config module_name} .docs-update-current-api" or "make
|