Lines Matching refs:name
87 char name[reader.MaxLineSize()]; in ProcessKernelSymbols() local
92 if (sscanf(line, "%" PRIx64 " %c %s%s", &symbol.addr, &symbol.type, name, module) < 3) { in ProcessKernelSymbols()
95 symbol.name = name; in ProcessKernelSymbols()
124 static bool FindKernelFunctionSymbolCallback(const KernelSymbol& symbol, const std::string& name, in FindKernelFunctionSymbolCallback() argument
127 symbol.module == nullptr && name == symbol.name) { in FindKernelFunctionSymbolCallback()
134 static bool FindKernelFunctionSymbol(const std::string& symbol_file, const std::string& name, in FindKernelFunctionSymbol() argument
137 symbol_file, std::bind(&FindKernelFunctionSymbolCallback, std::placeholders::_1, name, addr)); in FindKernelFunctionSymbol()
152 char name[reader.MaxLineSize()]; in GetLoadedModules() local
154 if (sscanf(line, "%s%*lu%*u%*s%*s 0x%" PRIx64, name, &addr) == 2) { in GetLoadedModules()
156 map.name = name; in GetLoadedModules()
181 for (auto& name : files) { in GetAllModuleFiles() local
182 if (android::base::EndsWith(name, ".ko")) { in GetAllModuleFiles()
183 std::string module_name = name.substr(0, name.size() - 3); in GetAllModuleFiles()
185 module_file_map->insert(std::make_pair(module_name, path + name)); in GetAllModuleFiles()
188 for (auto& name : subdirs) { in GetAllModuleFiles() local
189 GetAllModuleFiles(path + "/" + name, module_file_map); in GetAllModuleFiles()
201 auto it = module_file_map.find(module.name); in GetModulesInUse()
218 kernel_mmap->name = DEFAULT_KERNEL_MMAP_NAME; in GetKernelAndModuleMmaps()
280 for (auto& name : subdirs) { in GetThreadComm() local
282 if (!StringToPid(name, &tid)) { in GetThreadComm()
285 std::string status_file = task_dirname + "/" + name + "/status"; in GetThreadComm()
305 for (auto& name : subdirs) { in GetThreadComms() local
307 if (!StringToPid(name, &pid)) { in GetThreadComms()
344 thread.name = execname; in GetThreadMmapsInProcess()