Searched refs:should_be (Results 1 – 4 of 4) sorted by relevance
95 off64_t offset = 0, should_be; in copy_sparse_file() local152 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()
478 blk64_t should_be; in check_super_block() local562 should_be = (sb->s_log_block_size == 0 && in check_super_block()564 if (sb->s_first_data_block != should_be) { in check_super_block()566 pctx.blk2 = should_be; in check_super_block()572 should_be = sb->s_inodes_per_group * fs->group_desc_count; in check_super_block()573 if (sb->s_inodes_count != should_be) { in check_super_block()575 pctx.ino2 = should_be; in check_super_block()577 sb->s_inodes_count = should_be; in check_super_block()649 should_be = 0; in check_super_block()657 should_be = 1; in check_super_block()[all …]
486 int should_be = EXT2_FT_UNKNOWN; in check_filetype() local499 should_be = EXT2_FT_DIR; in check_filetype()502 should_be = EXT2_FT_REG_FILE; in check_filetype()506 should_be = 0; in check_filetype()510 should_be = ext2_file_type(inode.i_mode); in check_filetype()512 if (filetype == should_be) in check_filetype()514 pctx->num = should_be; in check_filetype()520 dirent->name_len = (dirent->name_len & 0xFF) | should_be << 8; in check_filetype()
1457 __u32 should_be; in adjust_extattr_refcount() local1474 should_be = header->h_refcount + adjust_sign * count; in adjust_extattr_refcount()1475 pctx.num = should_be; in adjust_extattr_refcount()1477 header->h_refcount = should_be; in adjust_extattr_refcount()