Home
last modified time | relevance | path

Searched refs:recoverfd (Results 1 – 1 of 1) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c4992 int res, recoverfd, bytes = sBlk->bytes_used - sBlk->inode_table_start; in write_recovery_data() local
5018 recoverfd = open(recovery_file, O_CREAT | O_TRUNC | O_RDWR, S_IRWXU); in write_recovery_data()
5019 if(recoverfd == -1) in write_recovery_data()
5023 if(write_bytes(recoverfd, header, RECOVER_ID_SIZE) == -1) in write_recovery_data()
5027 if(write_bytes(recoverfd, sBlk, sizeof(struct squashfs_super_block)) == -1) in write_recovery_data()
5031 if(write_bytes(recoverfd, metadata, bytes) == -1) in write_recovery_data()
5035 close(recoverfd); in write_recovery_data()
5048 int fd, recoverfd, bytes; in read_recovery_data() local
5056 recoverfd = open(recovery_file, O_RDONLY); in read_recovery_data()
5057 if(recoverfd == -1) in read_recovery_data()
[all …]