Searched refs:oldname (Results 1 – 2 of 2) sorted by relevance
186 char oldname[PATH_MAX]; in check_backup() local189 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup()192 ret = rm_rf_perf_data(oldname); in check_backup()197 oldname); in check_backup()201 if (rename(data->path, oldname)) { in check_backup()204 data->path, oldname); in check_backup()
3881 char oldname[PATH_MAX]; in trace__open_output() local3883 scnprintf(oldname, sizeof(oldname), "%s.old", filename); in trace__open_output()3884 unlink(oldname); in trace__open_output()3885 rename(filename, oldname); in trace__open_output()