Lines Matching refs:root_dir_spec
56 ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, Status &error);
72 FileSpec GetModuleDirectory(const FileSpec &root_dir_spec, const UUID &uuid) { in GetModuleDirectory() argument
73 const auto modules_dir_spec = JoinPath(root_dir_spec, kModulesSubdir); in GetModuleDirectory()
81 void DeleteExistingModule(const FileSpec &root_dir_spec, in DeleteExistingModule() argument
95 ModuleLock lock(root_dir_spec, module_uuid, error); in DeleteExistingModule()
109 const auto module_spec_dir = GetModuleDirectory(root_dir_spec, module_uuid); in DeleteExistingModule()
114 void DecrementRefExistingModule(const FileSpec &root_dir_spec, in DecrementRefExistingModule() argument
117 DeleteExistingModule(root_dir_spec, sysroot_module_path_spec); in DecrementRefExistingModule()
126 Status CreateHostSysRootModuleLink(const FileSpec &root_dir_spec, in CreateHostSysRootModuleLink() argument
132 JoinPath(JoinPath(root_dir_spec, hostname), in CreateHostSysRootModuleLink()
138 DecrementRefExistingModule(root_dir_spec, sysroot_module_path_spec); in CreateHostSysRootModuleLink()
152 ModuleLock::ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, in ModuleLock() argument
154 const auto lock_dir_spec = JoinPath(root_dir_spec, kLockDirName); in ModuleLock()
190 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put() argument
194 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Put()
207 root_dir_spec, hostname, target_file, module_file_path, true); in Put()
214 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get() argument
227 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Get()
240 auto error = CreateHostSysRootModuleLink(root_dir_spec, hostname, in Get()
268 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut() argument
276 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in GetAndPut()
281 ModuleLock lock(root_dir_spec, module_spec.GetUUID(), error); in GetAndPut()
289 error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
301 error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
307 error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
323 error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()