Home
last modified time | relevance | path

Searched refs:module_name (Results 1 – 11 of 11) sorted by relevance

/system/core/libmodprobe/
Dlibmodprobe_ext.cpp70 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()
Dlibmodprobe.cpp49 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()
106 const std::string& module_name = *it++; in ParseAliasCallback() local
107 this->module_aliases_.emplace_back(alias, module_name); in ParseAliasCallback()
242 void Modprobe::AddOption(const std::string& module_name, const std::string& option_name, in AddOption() argument
244 auto canonical_name = MakeCanonical(module_name); in AddOption()
256 std::string module_name = ""; in ParseKernelCmdlineOptions() local
275 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions()
276 AddOption(module_name, option_name, value); in ParseKernelCmdlineOptions()
[all …]
Dlibmodprobe_ext_test.cpp63 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/
Dmodprobe.h31 bool LoadWithAliases(const std::string& module_name, bool strict,
33 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,
51 bool IsBlocklisted(const std::string& module_name);
/system/core/trusty/coverage/include/trusty/coverage/
Dcoverage.h46 CoverageRecord(std::string tipc_dev, struct uuid* uuid, std::string module_name);
/system/core/trusty/coverage/
Dcoverage.cpp59 CoverageRecord::CoverageRecord(string tipc_dev, struct uuid* uuid, string module_name) in CoverageRecord() argument
63 sancov_filename_(module_name + "." + to_string(getpid()) + ".sancov"), in CoverageRecord()
/system/extras/simpleperf/
Denvironment.cpp79 std::string module_name = name.substr(0, name.size() - 3); in GetAllModuleFiles() local
80 std::replace(module_name.begin(), module_name.end(), '-', '_'); in GetAllModuleFiles()
81 module_file_map->insert(std::make_pair(module_name, entry_path)); in GetAllModuleFiles()
198 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id, in GetModuleBuildId() argument
200 std::string notefile = sysfs_dir + "/module/" + module_name + "/notes/.note.gnu.build-id"; in GetModuleBuildId()
Denvironment.h70 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id,
/system/tools/xsdc/
DREADME.md38 Then run "make {xsd_config module_name} .docs-update-current-api" or "make
/system/apex/apexd/
Dapexd.cpp3613 const std::string& module_name = temp_apex->GetManifest().name(); in InstallPackage() local
3615 auto cur_mounted_data = gMountedApexes.GetLatestMountedApex(module_name); in InstallPackage()
3617 return Error() << "No active version found for package " << module_name; in InstallPackage()
Dapexd_test.cpp2560 const std::string& module_name, int version) { in TEST_F() argument
2564 manifest.set_name(module_name); in TEST_F()