Lines Matching refs:newSnapshotFD

334 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD,  in back_up_files()  argument
440 err = write_snapshot_file(newSnapshotFD, newSnapshot); in back_up_files()
1349 int newSnapshotFD; in backup_helper_test_files() local
1384 newSnapshotFD = creat(SCRATCH_DIR "before.snap", 0666); in backup_helper_test_files()
1385 if (newSnapshotFD == -1) { in backup_helper_test_files()
1393 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files()
1400 close(newSnapshotFD); in backup_helper_test_files()
1453 newSnapshotFD = creat(SCRATCH_DIR "after.snap", 0666); in backup_helper_test_files()
1454 if (newSnapshotFD == -1) { in backup_helper_test_files()
1462 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files()
1470 close(newSnapshotFD); in backup_helper_test_files()
1480 int newSnapshotFD; in backup_helper_test_null_base() local
1502 newSnapshotFD = creat(SCRATCH_DIR "null_base.snap", 0666); in backup_helper_test_null_base()
1503 if (newSnapshotFD == -1) { in backup_helper_test_null_base()
1511 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_null_base()
1518 close(newSnapshotFD); in backup_helper_test_null_base()
1528 int newSnapshotFD; in backup_helper_test_missing_file() local
1554 newSnapshotFD = creat(SCRATCH_DIR "null_base.snap", 0666); in backup_helper_test_missing_file()
1555 if (newSnapshotFD == -1) { in backup_helper_test_missing_file()
1563 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_missing_file()
1570 close(newSnapshotFD); in backup_helper_test_missing_file()