Home
last modified time | relevance | path

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

/external/e2fsprogs/util/
Dcopy_sparse.c95 off64_t offset = 0, should_be; in copy_sparse_file() local
152 should_be = ((off64_t) lb) * bs; in copy_sparse_file()
153 if (offset != should_be) { in copy_sparse_file()
155 printf("Seeking to %lld\n", should_be); in copy_sparse_file()
156 if (lseek64(fd, should_be, SEEK_SET) == (off_t) -1) { in copy_sparse_file()
160 if (lseek64(ofd, should_be, SEEK_SET) == (off_t) -1) { in copy_sparse_file()
164 offset = should_be; in copy_sparse_file()
/external/e2fsprogs/e2fsck/
Dsuper.c595 blk64_t should_be; in check_super_block() local
674 should_be = (__u64)sb->s_inodes_per_group * fs->group_desc_count; in check_super_block()
675 if (should_be > ~0U) { in check_super_block()
676 pctx.num = should_be; in check_super_block()
681 if (sb->s_inodes_count != should_be) { in check_super_block()
683 pctx.ino2 = should_be; in check_super_block()
685 sb->s_inodes_count = should_be; in check_super_block()
724 should_be = (sb->s_log_block_size == 0 && in check_super_block()
726 if (sb->s_first_data_block != should_be) { in check_super_block()
728 pctx.blk2 = should_be; in check_super_block()
[all …]
Dpass2.c529 int should_be = EXT2_FT_UNKNOWN; in check_filetype() local
541 should_be = EXT2_FT_DIR; in check_filetype()
544 should_be = EXT2_FT_REG_FILE; in check_filetype()
548 should_be = 0; in check_filetype()
552 should_be = ext2_file_type(inode.i_mode); in check_filetype()
554 if (filetype == should_be) in check_filetype()
556 pctx->num = should_be; in check_filetype()
562 ext2fs_dirent_set_file_type(dirent, should_be); in check_filetype()
Dpass1.c2318 __u32 should_be; in adjust_extattr_refcount() local
2336 should_be = header->h_refcount + adjust_sign * (int)count; in adjust_extattr_refcount()
2337 pctx.num = should_be; in adjust_extattr_refcount()
2339 header->h_refcount = should_be; in adjust_extattr_refcount()