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()
110 const auto module_spec_dir = GetModuleDirectory(root_dir_spec, module_uuid); in DeleteExistingModule()
115 void DecrementRefExistingModule(const FileSpec &root_dir_spec, in DecrementRefExistingModule() argument
118 DeleteExistingModule(root_dir_spec, sysroot_module_path_spec); in DecrementRefExistingModule()
127 Status CreateHostSysRootModuleLink(const FileSpec &root_dir_spec, in CreateHostSysRootModuleLink() argument
133 JoinPath(JoinPath(root_dir_spec, hostname), in CreateHostSysRootModuleLink()
139 DecrementRefExistingModule(root_dir_spec, sysroot_module_path_spec); in CreateHostSysRootModuleLink()
153 ModuleLock::ModuleLock(const FileSpec &root_dir_spec, const UUID &uuid, in ModuleLock() argument
155 const auto lock_dir_spec = JoinPath(root_dir_spec, kLockDirName); in ModuleLock()
191 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put() argument
195 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Put()
208 root_dir_spec, hostname, target_file, module_file_path, true); in Put()
215 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get() argument
228 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Get()
241 auto error = CreateHostSysRootModuleLink(root_dir_spec, hostname, in Get()
269 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut() argument
277 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in GetAndPut()
282 ModuleLock lock(root_dir_spec, module_spec.GetUUID(), error); in GetAndPut()
290 error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
302 error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
308 error = Get(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()
324 error = Put(root_dir_spec, escaped_hostname.c_str(), module_spec, in GetAndPut()