oldsize 133 drivers/md/bcache/bset.c size_t oldsize = bch_keylist_nkeys(l); oldsize 134 drivers/md/bcache/bset.c size_t newsize = oldsize + u64s; oldsize 141 drivers/md/bcache/bset.c roundup_pow_of_two(oldsize) == newsize) oldsize 150 drivers/md/bcache/bset.c memcpy(new_keys, l->inline_keys, sizeof(uint64_t) * oldsize); oldsize 153 drivers/md/bcache/bset.c l->top_p = new_keys + oldsize; oldsize 1299 drivers/md/bcache/bset.c int oldsize = bch_count_data(b); oldsize 1314 drivers/md/bcache/bset.c EBUG_ON(oldsize >= 0 && bch_count_data(b) != oldsize); oldsize 2040 drivers/md/bcache/btree.c int oldsize = bch_count_data(&b->keys); oldsize 2073 drivers/md/bcache/btree.c BUG_ON(bch_count_data(&b->keys) < oldsize); oldsize 105 drivers/md/bcache/request.c size_t oldsize = bch_keylist_nkeys(l); oldsize 106 drivers/md/bcache/request.c size_t newsize = oldsize + u64s; oldsize 1118 drivers/md/md-cluster.c static int resize_bitmaps(struct mddev *mddev, sector_t newsize, sector_t oldsize) oldsize 1173 drivers/md/md-cluster.c update_bitmap_size(mddev, oldsize); oldsize 30 drivers/md/md-cluster.h int (*resize_bitmaps)(struct mddev *mddev, sector_t newsize, sector_t oldsize); oldsize 3980 drivers/md/raid10.c sector_t oldsize, size; oldsize 3988 drivers/md/raid10.c oldsize = raid10_size(mddev, 0, 0); oldsize 4000 drivers/md/raid10.c mddev->recovery_cp > oldsize) { oldsize 4001 drivers/md/raid10.c mddev->recovery_cp = oldsize; oldsize 4260 drivers/md/raid10.c sector_t oldsize, newsize; oldsize 4262 drivers/md/raid10.c oldsize = raid10_size(mddev, 0, 0); oldsize 4285 drivers/md/raid10.c MD_FEATURE_RESHAPE_ACTIVE)) || (oldsize == newsize)) oldsize 4292 drivers/md/raid10.c ret = md_cluster_ops->resize_bitmaps(mddev, newsize, oldsize); oldsize 4294 drivers/md/raid10.c md_bitmap_resize(mddev->bitmap, oldsize, 0, 0); oldsize 2886 fs/btrfs/ctree.h int btrfs_cont_expand(struct inode *inode, loff_t oldsize, loff_t size); oldsize 1899 fs/btrfs/file.c loff_t oldsize; oldsize 1962 fs/btrfs/file.c oldsize = i_size_read(inode); oldsize 1963 fs/btrfs/file.c if (start_pos > oldsize) { oldsize 1967 fs/btrfs/file.c err = btrfs_cont_expand(inode, oldsize, end_pos); oldsize 1972 fs/btrfs/file.c if (start_pos > round_up(oldsize, fs_info->sectorsize)) oldsize 1986 fs/btrfs/file.c pagecache_isize_extended(inode, oldsize, oldsize 5201 fs/btrfs/inode.c int btrfs_cont_expand(struct inode *inode, loff_t oldsize, loff_t size) oldsize 5209 fs/btrfs/inode.c u64 hole_start = ALIGN(oldsize, fs_info->sectorsize); oldsize 5221 fs/btrfs/inode.c err = btrfs_truncate_block(inode, oldsize, 0, 0); oldsize 5298 fs/btrfs/inode.c loff_t oldsize = i_size_read(inode); oldsize 5309 fs/btrfs/inode.c if (newsize != oldsize) { oldsize 5316 fs/btrfs/inode.c if (newsize > oldsize) { oldsize 5325 fs/btrfs/inode.c ret = btrfs_cont_expand(inode, oldsize, newsize); oldsize 5339 fs/btrfs/inode.c pagecache_isize_extended(inode, oldsize, newsize); oldsize 5361 fs/btrfs/inode.c ret = btrfs_truncate(inode, newsize == oldsize); oldsize 5613 fs/ext4/inode.c loff_t oldsize = inode->i_size; oldsize 5685 fs/ext4/inode.c pagecache_isize_extended(inode, oldsize, oldsize 5701 fs/ext4/inode.c if (attr->ia_size <= oldsize) { oldsize 693 fs/f2fs/xattr.c int oldsize = ENTRY_SIZE(here); oldsize 696 fs/f2fs/xattr.c last = (struct f2fs_xattr_entry *)((char *)last - oldsize); oldsize 697 fs/f2fs/xattr.c memset(last, 0, oldsize); oldsize 1501 fs/fuse/dir.c loff_t oldsize; oldsize 1595 fs/fuse/dir.c oldsize = inode->i_size; oldsize 1611 fs/fuse/dir.c S_ISREG(inode->i_mode) && oldsize != outarg.attr.size) { oldsize 196 fs/fuse/inode.c loff_t oldsize; oldsize 209 fs/fuse/inode.c oldsize = inode->i_size; oldsize 222 fs/fuse/inode.c if (oldsize != attr->size) { oldsize 1372 fs/gfs2/bmap.c static int gfs2_journaled_truncate(struct inode *inode, u64 oldsize, u64 newsize) oldsize 1379 fs/gfs2/bmap.c while (oldsize != newsize) { oldsize 1383 fs/gfs2/bmap.c chunk = oldsize - newsize; oldsize 1387 fs/gfs2/bmap.c offs = oldsize & ~PAGE_MASK; oldsize 1391 fs/gfs2/bmap.c truncate_pagecache(inode, oldsize - chunk); oldsize 1392 fs/gfs2/bmap.c oldsize -= chunk; oldsize 1413 fs/gfs2/bmap.c u64 oldsize = inode->i_size; oldsize 1448 fs/gfs2/bmap.c error = gfs2_journaled_truncate(inode, oldsize, newsize); oldsize 709 fs/hugetlbfs/inode.c loff_t oldsize = inode->i_size; oldsize 715 fs/hugetlbfs/inode.c if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || oldsize 716 fs/hugetlbfs/inode.c (newsize > oldsize && (info->seals & F_SEAL_GROW))) oldsize 872 fs/xfs/libxfs/xfs_dir2_sf.c int oldsize; /* old inode size */ oldsize 881 fs/xfs/libxfs/xfs_dir2_sf.c oldsize = (int)dp->i_d.di_size; oldsize 885 fs/xfs/libxfs/xfs_dir2_sf.c if (oldsize < offsetof(xfs_dir2_sf_hdr_t, parent)) { oldsize 889 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(dp->i_df.if_bytes == oldsize); oldsize 892 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(oldsize >= xfs_dir2_sf_hdr_size(sfp->i8count)); oldsize 916 fs/xfs/libxfs/xfs_dir2_sf.c newsize = oldsize - entsize; oldsize 920 fs/xfs/libxfs/xfs_dir2_sf.c if (byteoff + entsize < oldsize) oldsize 922 fs/xfs/libxfs/xfs_dir2_sf.c oldsize - (byteoff + entsize)); oldsize 931 fs/xfs/libxfs/xfs_dir2_sf.c xfs_idata_realloc(dp, newsize - oldsize, XFS_DATA_FORK); oldsize 1085 fs/xfs/libxfs/xfs_dir2_sf.c int oldsize; /* old inode size */ oldsize 1098 fs/xfs/libxfs/xfs_dir2_sf.c oldsize = dp->i_df.if_bytes; oldsize 1099 fs/xfs/libxfs/xfs_dir2_sf.c buf = kmem_alloc(oldsize, 0); oldsize 1102 fs/xfs/libxfs/xfs_dir2_sf.c memcpy(buf, oldsfp, oldsize); oldsize 1106 fs/xfs/libxfs/xfs_dir2_sf.c newsize = oldsize - (oldsfp->count + 1) * XFS_INO64_DIFF; oldsize 1107 fs/xfs/libxfs/xfs_dir2_sf.c xfs_idata_realloc(dp, -oldsize, XFS_DATA_FORK); oldsize 1158 fs/xfs/libxfs/xfs_dir2_sf.c int oldsize; /* old inode size */ oldsize 1171 fs/xfs/libxfs/xfs_dir2_sf.c oldsize = dp->i_df.if_bytes; oldsize 1172 fs/xfs/libxfs/xfs_dir2_sf.c buf = kmem_alloc(oldsize, 0); oldsize 1175 fs/xfs/libxfs/xfs_dir2_sf.c memcpy(buf, oldsfp, oldsize); oldsize 1179 fs/xfs/libxfs/xfs_dir2_sf.c newsize = oldsize + (oldsfp->count + 1) * XFS_INO64_DIFF; oldsize 1180 fs/xfs/libxfs/xfs_dir2_sf.c xfs_idata_realloc(dp, -oldsize, XFS_DATA_FORK); oldsize 832 fs/xfs/xfs_iops.c xfs_off_t oldsize, newsize; oldsize 844 fs/xfs/xfs_iops.c oldsize = inode->i_size; oldsize 850 fs/xfs/xfs_iops.c if (newsize == 0 && oldsize == 0 && ip->i_d.di_nextents == 0) { oldsize 883 fs/xfs/xfs_iops.c if (newsize > oldsize) { oldsize 884 fs/xfs/xfs_iops.c trace_xfs_zero_eof(ip, oldsize, newsize - oldsize); oldsize 885 fs/xfs/xfs_iops.c error = iomap_zero_range(inode, oldsize, newsize - oldsize, oldsize 927 fs/xfs/xfs_iops.c (newsize > ip->i_d.di_size && oldsize != ip->i_d.di_size)) { oldsize 952 fs/xfs/xfs_iops.c if (newsize != oldsize && oldsize 974 fs/xfs/xfs_iops.c if (newsize <= oldsize) { oldsize 182 mm/shmem.c loff_t oldsize, loff_t newsize) oldsize 185 mm/shmem.c if (VM_ACCT(newsize) > VM_ACCT(oldsize)) oldsize 187 mm/shmem.c VM_ACCT(newsize) - VM_ACCT(oldsize)); oldsize 188 mm/shmem.c else if (VM_ACCT(newsize) < VM_ACCT(oldsize)) oldsize 189 mm/shmem.c vm_unacct_memory(VM_ACCT(oldsize) - VM_ACCT(newsize)); oldsize 1029 mm/shmem.c loff_t oldsize = inode->i_size; oldsize 1033 mm/shmem.c if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || oldsize 1034 mm/shmem.c (newsize > oldsize && (info->seals & F_SEAL_GROW))) oldsize 1037 mm/shmem.c if (newsize != oldsize) { oldsize 1039 mm/shmem.c oldsize, newsize); oldsize 1045 mm/shmem.c if (newsize <= oldsize) { oldsize 1047 mm/shmem.c if (oldsize > holebegin) oldsize 1054 mm/shmem.c if (oldsize > holebegin) oldsize 837 mm/truncate.c loff_t oldsize = inode->i_size; oldsize 840 mm/truncate.c if (newsize > oldsize) oldsize 841 mm/truncate.c pagecache_isize_extended(inode, oldsize, newsize); oldsize 25 sound/hda/array.c int oldsize = array->alloced * array->elem_size; oldsize 33 sound/hda/array.c memset(nlist + oldsize, 0, size - oldsize);