Searched refs:cache_dir (Results 1 – 8 of 8) sorted by relevance
30 struct cache_dir { struct530 struct cache_dir *cache_dir; in cacheinfo_create_cache_dir() local543 cache_dir = kzalloc(sizeof(*cache_dir), GFP_KERNEL); in cacheinfo_create_cache_dir()544 if (!cache_dir) in cacheinfo_create_cache_dir()786 struct cache_dir *cache_dir) in cacheinfo_create_index_dir() argument813 struct cache_dir *cache_dir; in cacheinfo_sysfs_populate() local818 if (!cache_dir) in cacheinfo_sysfs_populate()863 static void remove_index_dirs(struct cache_dir *cache_dir) in remove_index_dirs() argument878 static void remove_cache_dir(struct cache_dir *cache_dir) in remove_cache_dir() argument913 struct cache_dir *cache_dir; in cacheinfo_cpu_offline() local[all …]
38 - cache_dir = _get_xdg_cache_dir()40 - if cache_dir is not None: # Try to read from cache.42 - data = (cache_dir / sha).read_bytes()63 - if cache_dir is not None: # Try to cache the downloaded file.65 - cache_dir.mkdir(parents=True, exist_ok=True)66 - with open(cache_dir / sha, "xb") as fout:
15 const cache_dir = process.argv[2] constant74 cacache.put(cache_dir, info.key_prefix + key, data, opts)
131 scandir(Path(args.cache_dir), paths)291 if args.cache_dir is None or (
217 cache_dir = os.path.expanduser("~/.cache/qemu-vm/download")218 if not os.path.exists(cache_dir):219 os.makedirs(cache_dir)220 fname = os.path.join(cache_dir,
114 -o cache_dir=$(abspath $(obj)/tests/.cache) \
157 -o cache_dir=$(abspath $(obj)/tests/.cache) \
634 cache_dir=self.cache_dirs[0],