Searched refs:recoverfd (Results 1 – 1 of 1) sorted by relevance
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.c | 4751 int res, recoverfd, bytes = sBlk->bytes_used - sBlk->inode_table_start; in write_recovery_data() local 4777 recoverfd = open(recovery_file, O_CREAT | O_TRUNC | O_RDWR, S_IRWXU); in write_recovery_data() 4778 if(recoverfd == -1) in write_recovery_data() 4782 if(write_bytes(recoverfd, header, RECOVER_ID_SIZE) == -1) in write_recovery_data() 4786 if(write_bytes(recoverfd, sBlk, sizeof(struct squashfs_super_block)) == -1) in write_recovery_data() 4790 if(write_bytes(recoverfd, metadata, bytes) == -1) in write_recovery_data() 4794 close(recoverfd); in write_recovery_data() 4807 int fd, recoverfd, bytes; in read_recovery_data() local 4815 recoverfd = open(recovery_file, O_RDONLY); in read_recovery_data() 4816 if(recoverfd == -1) in read_recovery_data() [all …]
|