Lines Matching defs:get_cachedir
332 #define get_cachedir(id) (walk_arg.dirinfo[id].cdir_path)
2073 ret = setup_file(get_cachedir(what), path, &outfile);
2122 get_updatedir(what) : get_cachedir(what), strip);
2490 ret = snprintf(get_cachedir(what), sizeof (get_cachedir(what)),
2494 if (ret >= sizeof (get_cachedir(what))) {
2501 (void) rmdir_r(get_cachedir(what));
2503 if (stat(get_cachedir(what), &sb) != 0 || !(S_ISDIR(sb.st_mode))) {
2505 (void) unlink(get_cachedir(what));
2509 get_cachedir(what));
2510 ret = mkdir(get_cachedir(what), DIR_PERMS);
2513 get_cachedir(what), strerror(errno));
2514 get_cachedir(what)[0] = '\0';
2693 ret = snprintf(get_cachedir(FILE64),
2694 sizeof (get_cachedir(FILE64)), "%s%s%s/%s", root,
2697 if (ret >= sizeof (get_cachedir(FILE64))) {
2703 if (stat(get_cachedir(FILE64), &sb) != 0) {
2708 walk_arg.sparcfile = fopen(get_cachedir(FILE64), "w");
2711 get_cachedir(FILE64), strerror(errno));
2921 (void) snprintf(path, sizeof (path), "%s/%s", get_cachedir(what), file);
3712 get_cachedir(what));
3749 get_cachedir(what));