Home
last modified time | relevance | path

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

/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c4948 int res, recoverfd, bytes = sBlk->bytes_used - sBlk->inode_table_start; in write_recovery_data() local
4974 recoverfd = open(recovery_file, O_CREAT | O_TRUNC | O_RDWR, S_IRWXU); in write_recovery_data()
4975 if(recoverfd == -1) in write_recovery_data()
4979 if(write_bytes(recoverfd, header, RECOVER_ID_SIZE) == -1) in write_recovery_data()
4983 if(write_bytes(recoverfd, sBlk, sizeof(struct squashfs_super_block)) == -1) in write_recovery_data()
4987 if(write_bytes(recoverfd, metadata, bytes) == -1) in write_recovery_data()
4991 close(recoverfd); in write_recovery_data()
5004 int fd, recoverfd, bytes; in read_recovery_data() local
5012 recoverfd = open(recovery_file, O_RDONLY); in read_recovery_data()
5013 if(recoverfd == -1) in read_recovery_data()
[all …]