Lines Matching refs:get_cachedir
337 #define get_cachedir(id) (walk_arg.dirinfo[id].cdir_path) macro
1737 ret = setup_file(get_cachedir(what), path, &outfile); in dircache_updatefile()
1786 get_updatedir(what) : get_cachedir(what), strip); in dircache_updatedir()
2143 ret = snprintf(get_cachedir(what), sizeof (get_cachedir(what)), in set_cache_dir()
2147 if (ret >= sizeof (get_cachedir(what))) { in set_cache_dir()
2153 (void) rmdir_r(get_cachedir(what)); in set_cache_dir()
2155 if (stat(get_cachedir(what), &sb) != 0 || !(S_ISDIR(sb.st_mode))) { in set_cache_dir()
2157 (void) unlink(get_cachedir(what)); in set_cache_dir()
2160 bam_print(UPDATE_CDIR_MISS, get_cachedir(what)); in set_cache_dir()
2161 ret = mkdir(get_cachedir(what), DIR_PERMS); in set_cache_dir()
2163 bam_error(MKDIR_FAILED, get_cachedir(what), in set_cache_dir()
2165 get_cachedir(what)[0] = '\0'; in set_cache_dir()
2339 ret = snprintf(get_cachedir(FILE64), in check_flags_and_files()
2340 sizeof (get_cachedir(FILE64)), "%s%s%s/%s", root, in check_flags_and_files()
2343 if (ret >= sizeof (get_cachedir(FILE64))) { in check_flags_and_files()
2348 if (stat(get_cachedir(FILE64), &sb) != 0) { in check_flags_and_files()
2353 walk_arg.sparcfile = fopen(get_cachedir(FILE64), "w"); in check_flags_and_files()
2355 bam_error(OPEN_FAIL, get_cachedir(FILE64), in check_flags_and_files()
2559 (void) snprintf(path, sizeof (path), "%s/%s", get_cachedir(what), file); in delete_stale()
3293 get_cachedir(what)); in mkisofs_archive()
3330 get_cachedir(what)); in mkisofs_archive()