Home
last modified time | relevance | path

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

/aosp14/system/core/libmodprobe/
H A Dlibmodprobe.cpp53 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
246 auto canonical_name = MakeCanonical(module_name); in AddOption()
258 std::string module_name = ""; in ParseKernelCmdlineOptions() local
281 module_name = ""; in ParseKernelCmdlineOptions()
355 if (module_name.empty()) { in InsmodWithDeps()
360 auto dependencies = GetDependencies(module_name); in InsmodWithDeps()
376 if (module_name == module) { in InsmodWithDeps()
389 if (module_name == module) { in InsmodWithDeps()
[all …]
H A 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()
H A 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()
/aosp14/system/core/libmodprobe/include/modprobe/
H A 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);
/aosp14/system/core/trusty/coverage/include/trusty/coverage/
H A Dcoverage.h46 CoverageRecord(std::string tipc_dev, struct uuid* uuid, std::string module_name);
/aosp14/system/core/trusty/coverage/
H A 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()
/aosp14/frameworks/base/services/
H A DAndroid.bp147 // The convention is to name each service module 'services.$(module_name)'