Lines Matching refs:root_dir_spec
57 ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, Status &error);
73 FileSpec GetModuleDirectory(const FileSpec &root_dir_spec, const UUID &uuid) { in GetModuleDirectory() argument
74 const auto modules_dir_spec = JoinPath(root_dir_spec, kModulesSubdir); in GetModuleDirectory()
82 void DeleteExistingModule(const FileSpec &root_dir_spec, in DeleteExistingModule() argument
96 ModuleLock lock(root_dir_spec, module_uuid, error); in DeleteExistingModule()
111 const auto module_spec_dir = GetModuleDirectory(root_dir_spec, module_uuid); in DeleteExistingModule()
116 void DecrementRefExistingModule(const FileSpec &root_dir_spec, in DecrementRefExistingModule() argument
119 DeleteExistingModule(root_dir_spec, sysroot_module_path_spec); in DecrementRefExistingModule()
128 Status CreateHostSysRootModuleLink(const FileSpec &root_dir_spec, in CreateHostSysRootModuleLink() argument
134 JoinPath(JoinPath(root_dir_spec, hostname), in CreateHostSysRootModuleLink()
140 DecrementRefExistingModule(root_dir_spec, sysroot_module_path_spec); in CreateHostSysRootModuleLink()
154 ModuleLock::ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, in ModuleLock() argument
156 const auto lock_dir_spec = JoinPath(root_dir_spec, kLockDirName); in ModuleLock()
188 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put() argument
192 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Put()
205 root_dir_spec, hostname, target_file, module_file_path, true); in Put()
212 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get() argument
225 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Get()
238 auto error = CreateHostSysRootModuleLink(root_dir_spec, hostname, in Get()
266 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut() argument
274 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in GetAndPut()
279 ModuleLock lock(root_dir_spec, module_spec.GetUUID(), error); in GetAndPut()
287 error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
299 error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
305 error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
321 error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()