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()
468 blk_t should_be; in check_super_block() local551 should_be = sb->s_frags_per_group >> in check_super_block()553 if (sb->s_blocks_per_group != should_be) { in check_super_block()555 pctx.blk2 = should_be; in check_super_block()561 should_be = (sb->s_log_block_size == 0) ? 1 : 0; in check_super_block()562 if (sb->s_first_data_block != should_be) { in check_super_block()564 pctx.blk2 = should_be; in check_super_block()570 should_be = sb->s_inodes_per_group * fs->group_desc_count; in check_super_block()571 if (sb->s_inodes_count != should_be) { in check_super_block()573 pctx.ino2 = should_be; in check_super_block()[all …]
480 int should_be = EXT2_FT_UNKNOWN; in check_filetype() local493 should_be = EXT2_FT_DIR; in check_filetype()496 should_be = EXT2_FT_REG_FILE; in check_filetype()500 should_be = 0; in check_filetype()504 should_be = ext2_file_type(inode.i_mode); in check_filetype()506 if (filetype == should_be) in check_filetype()508 pctx->num = should_be; in check_filetype()514 dirent->name_len = (dirent->name_len & 0xFF) | should_be << 8; in check_filetype()
1370 __u32 should_be; in adjust_extattr_refcount() local1387 should_be = header->h_refcount + adjust_sign * count; in adjust_extattr_refcount()1388 pctx.num = should_be; in adjust_extattr_refcount()1390 header->h_refcount = should_be; in adjust_extattr_refcount()