Home
last modified time | relevance | path

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

/system/core/libmodprobe/
Dlibmodprobe_ext.cpp74 bool Modprobe::Rmmod(const std::string& module_name) { in Rmmod() argument
75 auto canonical_name = MakeCanonical(module_name); in Rmmod()
78 PLOG(ERROR) << "Failed to remove module '" << module_name << "'"; in Rmmod()
86 bool Modprobe::ModuleExists(const std::string& module_name) { in ModuleExists() argument
88 if (blocklist_enabled && module_blocklist_.count(module_name)) { in ModuleExists()
89 LOG(INFO) << "module " << module_name << " is blocklisted"; in ModuleExists()
92 auto deps = GetDependencies(module_name); in ModuleExists()
98 LOG(INFO) << "module " << module_name << " does not exist"; in ModuleExists()
102 LOG(INFO) << "module " << module_name << " is not a regular file"; in ModuleExists()
Dlibmodprobe.cpp51 std::string module_name = module_path.substr(start, end - start); in MakeCanonical() local
53 std::replace(module_name.begin(), module_name.end(), '-', '_'); in MakeCanonical()
54 return module_name; in MakeCanonical()
108 const std::string& module_name = *it++; in ParseAliasCallback() local
109 this->module_aliases_.emplace_back(alias, module_name); in ParseAliasCallback()
244 void Modprobe::AddOption(const std::string& module_name, const std::string& option_name, in AddOption() argument
246 auto canonical_name = MakeCanonical(module_name); in AddOption()
258 std::string module_name = ""; in ParseKernelCmdlineOptions() local
277 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions()
278 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.h35 bool LoadWithAliases(const std::string& module_name, bool strict,
37 bool Remove(const std::string& module_name);
47 bool InsmodWithDeps(const std::string& module_name, const std::string& parameters);
49 bool Rmmod(const std::string& module_name);
51 bool ModuleExists(const std::string& module_name);
52 void AddOption(const std::string& module_name, const std::string& option_name,
55 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/extras/simpleperf/
Denvironment.cpp80 std::string module_name = name.substr(0, name.size() - 3); in GetAllModuleFiles() local
81 std::replace(module_name.begin(), module_name.end(), '-', '_'); in GetAllModuleFiles()
82 module_file_map->insert(std::make_pair(module_name, entry_path)); in GetAllModuleFiles()
199 bool GetModuleBuildId(const std::string& module_name, BuildId* build_id, in GetModuleBuildId() argument
201 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/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/tools/xsdc/
DREADME.md38 Then run "make {xsd_config module_name} .docs-update-current-api" or "make
/system/apex/apexd/
Dapexd.cpp3411 std::string module_name; in CalculateSizeForCompressedApex() local
3414 std::tie(module_name, version_code, decompressed_size) = compressed_apex; in CalculateSizeForCompressedApex()
3415 if (ShouldAllocateSpaceForDecompression(module_name, version_code, in CalculateSizeForCompressedApex()
3945 const std::string& module_name = temp_apex->GetManifest().name(); in InstallPackage() local
3947 auto cur_mounted_data = gMountedApexes.GetLatestMountedApex(module_name); in InstallPackage()
3949 return Error() << "No active version found for package " << module_name; in InstallPackage()
Dapexd_test.cpp3041 const std::string& module_name, int version) { in TEST_F() argument
3045 manifest.set_name(module_name); in TEST_F()