old_size 399 arch/sparc/mm/tsb.c unsigned long new_size, old_size, flags; old_size 478 arch/sparc/mm/tsb.c old_size = (mm->context.tsb_block[tsb_index].tsb_nentries * old_size 509 arch/sparc/mm/tsb.c copy_tsb(old_tsb_base, old_size, new_tsb_base, new_size, old_size 453 arch/x86/pci/mmconfig-shared.c u64 old_size = size; old_size 463 arch/x86/pci/mmconfig-shared.c if (size < (16UL<<20) && size != old_size) old_size 473 arch/x86/pci/mmconfig-shared.c if (old_size != size) { old_size 388 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c size_t old_size = res->backup_size; old_size 471 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c res->backup_size = old_size; old_size 331 drivers/md/bcache/extents.c unsigned int old_size, sectors_found = 0; old_size 353 drivers/md/bcache/extents.c old_size = KEY_SIZE(k); old_size 458 drivers/md/bcache/extents.c bch_subtract_dirty(k, c, old_offset, old_size - KEY_SIZE(k)); old_size 656 drivers/md/persistent-data/dm-array.c uint32_t old_size, uint32_t new_size, old_size 662 drivers/md/persistent-data/dm-array.c if (old_size == new_size) { old_size 673 drivers/md/persistent-data/dm-array.c resize.old_nr_full_blocks = old_size / resize.max_entries; old_size 674 drivers/md/persistent-data/dm-array.c resize.old_nr_entries_in_last_block = old_size % resize.max_entries; old_size 679 drivers/md/persistent-data/dm-array.c r = ((new_size > old_size) ? grow : shrink)(&resize); old_size 688 drivers/md/persistent-data/dm-array.c uint32_t old_size, uint32_t new_size, old_size 692 drivers/md/persistent-data/dm-array.c int r = array_resize(info, root, old_size, new_size, value, new_root); old_size 110 drivers/md/persistent-data/dm-array.h uint32_t old_size, uint32_t new_size, old_size 223 drivers/net/wimax/i2400m/fw.c old_size = el_size * old_count, old_size 229 drivers/net/wimax/i2400m/fw.c if (old_size == 0) old_size 232 drivers/net/wimax/i2400m/fw.c memset(nptr + old_size, 0, old_size); old_size 780 drivers/pci/setup-bus.c resource_size_t old_size, old_size 785 drivers/pci/setup-bus.c if (old_size == 1) old_size 786 drivers/pci/setup-bus.c old_size = 0; old_size 795 drivers/pci/setup-bus.c if (size < old_size) old_size 796 drivers/pci/setup-bus.c size = old_size; old_size 806 drivers/pci/setup-bus.c resource_size_t old_size, old_size 811 drivers/pci/setup-bus.c if (old_size == 1) old_size 812 drivers/pci/setup-bus.c old_size = 0; old_size 813 drivers/pci/setup-bus.c if (size < old_size) old_size 814 drivers/pci/setup-bus.c size = old_size; old_size 83 drivers/pci/vpd.c static size_t pci_vpd_size(struct pci_dev *dev, size_t old_size) old_size 88 drivers/pci/vpd.c while (off < old_size && old_size 1066 drivers/staging/exfat/exfat_super.c static int ffsTruncateFile(struct inode *inode, u64 old_size, u64 new_size) old_size 1092 drivers/staging/exfat/exfat_super.c if (fid->size != old_size) { old_size 1094 drivers/staging/exfat/exfat_super.c old_size, fid->size); old_size 1097 drivers/staging/exfat/exfat_super.c if (old_size <= new_size) { old_size 1105 drivers/staging/exfat/exfat_super.c clu.size = (s32)((old_size - 1) >> p_fs->cluster_size_bits) + 1; old_size 2894 drivers/staging/exfat/exfat_super.c static void exfat_truncate(struct inode *inode, loff_t old_size) old_size 2913 drivers/staging/exfat/exfat_super.c err = ffsTruncateFile(inode, old_size, i_size_read(inode)); old_size 2935 drivers/staging/exfat/exfat_super.c loff_t old_size; old_size 2982 drivers/staging/exfat/exfat_super.c old_size = i_size_read(inode); old_size 2985 drivers/staging/exfat/exfat_super.c exfat_truncate(inode, old_size); old_size 711 drivers/staging/most/usb/usb.c u16 old_size = conf->buffer_size; old_size 715 drivers/staging/most/usb/usb.c mdev->suffix[channel], old_size, conf->buffer_size); old_size 833 drivers/video/fbdev/omap/omapfb_main.c unsigned long old_size = rg->size; old_size 845 drivers/video/fbdev/omap/omapfb_main.c if (old_size != size && size) { old_size 859 drivers/video/fbdev/omap/omapfb_main.c rg->size = old_size; old_size 865 drivers/video/fbdev/omap/omapfb_main.c if (old_size != size) { old_size 1589 drivers/video/fbdev/omap2/omapfb/omapfb-main.c unsigned long old_size = rg->size; old_size 1599 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (old_size == size && old_type == type) old_size 1612 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (old_size) old_size 1613 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_alloc_fbmem(fbi, old_size, old_paddr); old_size 1621 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (old_size == size) old_size 1624 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (old_size == 0) { old_size 4588 fs/btrfs/ctree.c unsigned int old_size; old_size 4596 fs/btrfs/ctree.c old_size = btrfs_item_size_nr(leaf, slot); old_size 4597 fs/btrfs/ctree.c if (old_size == new_size) old_size 4605 fs/btrfs/ctree.c size_diff = old_size - new_size; old_size 4685 fs/btrfs/ctree.c unsigned int old_size; old_size 4729 fs/btrfs/ctree.c old_size = btrfs_item_size_nr(leaf, slot); old_size 4731 fs/btrfs/ctree.c btrfs_set_item_size(leaf, item, old_size + data_size); old_size 335 fs/btrfs/inode-item.c u32 old_size; old_size 341 fs/btrfs/inode-item.c old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); old_size 345 fs/btrfs/inode-item.c ref = (struct btrfs_inode_ref *)((unsigned long)ref + old_size); old_size 1779 fs/btrfs/inode.c u64 new_size, old_size; old_size 1817 fs/btrfs/inode.c old_size = other->end - other->start + 1; old_size 1818 fs/btrfs/inode.c num_extents = count_max_extents(old_size); old_size 1819 fs/btrfs/inode.c old_size = new->end - new->start + 1; old_size 1820 fs/btrfs/inode.c num_extents += count_max_extents(old_size); old_size 1602 fs/btrfs/ioctl.c u64 old_size; old_size 1688 fs/btrfs/ioctl.c old_size = btrfs_device_get_total_bytes(device); old_size 1691 fs/btrfs/ioctl.c if (new_size > old_size) { old_size 1695 fs/btrfs/ioctl.c new_size = old_size - new_size; old_size 1697 fs/btrfs/ioctl.c if (new_size > ULLONG_MAX - old_size) { old_size 1701 fs/btrfs/ioctl.c new_size = old_size + new_size; old_size 1718 fs/btrfs/ioctl.c if (new_size > old_size) { old_size 1726 fs/btrfs/ioctl.c } else if (new_size < old_size) { old_size 5948 fs/btrfs/send.c u64 old_size; old_size 5951 fs/btrfs/send.c &old_size, NULL, &right_mode, &right_uid, old_size 5960 fs/btrfs/send.c if ((old_size == sctx->cur_inode_size) || old_size 5961 fs/btrfs/send.c (sctx->cur_inode_size > old_size && old_size 4732 fs/btrfs/volumes.c u64 old_size = btrfs_device_get_total_bytes(device); old_size 4738 fs/btrfs/volumes.c diff = round_down(old_size - new_size, fs_info->sectorsize); old_size 4889 fs/btrfs/volumes.c btrfs_device_set_total_bytes(device, old_size); old_size 2141 fs/buffer.c loff_t old_size = inode->i_size; old_size 2161 fs/buffer.c if (old_size < pos) old_size 2162 fs/buffer.c pagecache_isize_extended(inode, old_size, pos); old_size 2111 fs/ceph/inode.c req->r_args.setattr.old_size = old_size 1071 fs/ext4/inline.c static void ext4_update_final_de(void *de_buf, int old_size, int new_size) old_size 1078 fs/ext4/inline.c if (old_size) { old_size 1079 fs/ext4/inline.c limit = de_buf + old_size; old_size 1082 fs/ext4/inline.c de_len = ext4_rec_len_from_disk(de->rec_len, old_size); old_size 1088 fs/ext4/inline.c old_size, new_size); old_size 1100 fs/ext4/inline.c int old_size = EXT4_I(dir)->i_inline_size - EXT4_MIN_INLINE_DATA_SIZE; old_size 1103 fs/ext4/inline.c if (new_size - old_size <= EXT4_DIR_REC_LEN(1)) old_size 1111 fs/ext4/inline.c ext4_update_final_de(ext4_get_inline_xattr_pos(dir, iloc), old_size, old_size 1417 fs/ext4/inode.c loff_t old_size = inode->i_size; old_size 1448 fs/ext4/inode.c if (old_size < pos && !verity) old_size 1449 fs/ext4/inode.c pagecache_isize_extended(inode, old_size, pos); old_size 1525 fs/ext4/inode.c loff_t old_size = inode->i_size; old_size 1568 fs/ext4/inode.c if (old_size < pos && !verity) old_size 1569 fs/ext4/inode.c pagecache_isize_extended(inode, old_size, pos); old_size 1571 fs/ext4/xattr.c size_t old_size, new_size; old_size 1575 fs/ext4/xattr.c old_size = (!s->not_found && !here->e_value_inum) ? old_size 1583 fs/ext4/xattr.c if (new_size && new_size == old_size) { old_size 1620 fs/ext4/xattr.c free += EXT4_XATTR_LEN(name_len) + old_size; old_size 1635 fs/ext4/xattr.c (min_offs + old_size - new_size) < old_size 1705 fs/ext4/xattr.c memmove(first_val + old_size, first_val, val - first_val); old_size 1706 fs/ext4/xattr.c memset(first_val, 0, old_size); old_size 1707 fs/ext4/xattr.c min_offs += old_size; old_size 1716 fs/ext4/xattr.c last->e_value_offs = cpu_to_le16(o + old_size); old_size 823 fs/f2fs/file.c loff_t old_size = i_size_read(inode); old_size 840 fs/f2fs/file.c if (attr->ia_size <= old_size) old_size 1022 fs/gfs2/lock_dlm.c uint32_t old_size, new_size; old_size 1037 fs/gfs2/lock_dlm.c old_size = ls->ls_recover_size; old_size 1038 fs/gfs2/lock_dlm.c new_size = old_size; old_size 1041 fs/gfs2/lock_dlm.c if (new_size == old_size) old_size 1053 fs/gfs2/lock_dlm.c memcpy(submit, ls->ls_recover_submit, old_size * sizeof(uint32_t)); old_size 1054 fs/gfs2/lock_dlm.c memcpy(result, ls->ls_recover_result, old_size * sizeof(uint32_t)); old_size 703 fs/iomap/buffered-io.c loff_t old_size = inode->i_size; old_size 720 fs/iomap/buffered-io.c if (pos + ret > old_size) { old_size 726 fs/iomap/buffered-io.c if (old_size < pos) old_size 727 fs/iomap/buffered-io.c pagecache_isize_extended(inode, old_size, pos); old_size 1468 fs/ntfs/attrib.c u32 old_size; old_size 1478 fs/ntfs/attrib.c old_size = le32_to_cpu(a->data.resident.value_length); old_size 1479 fs/ntfs/attrib.c if (new_size > old_size) old_size 1481 fs/ntfs/attrib.c old_size, 0, new_size - old_size); old_size 2333 fs/ntfs/inode.c s64 new_size, old_size, nr_freed, new_alloc_size, old_alloc_size; old_size 2398 fs/ntfs/inode.c old_size = ntfs_attr_size(a); old_size 2414 fs/ntfs/inode.c if (new_size - old_size >= 0) { old_size 2416 fs/ntfs/inode.c if (new_size == old_size) old_size 2442 fs/ntfs/inode.c new_size > old_size ? "exceed " old_size 2455 fs/ntfs/inode.c i_size_write(vi, old_size); old_size 2530 fs/ntfs/inode.c err = ntfs_attr_make_non_resident(ni, old_size); old_size 2803 fs/ntfs/inode.c old_size = -1; old_size 2809 fs/ntfs/inode.c else if (old_size >= 0) old_size 2810 fs/ntfs/inode.c i_size_write(vi, old_size); old_size 2826 fs/ntfs/inode.c i_size_write(vi, old_size); old_size 61 fs/ntfs/runlist.c int old_size, int new_size) old_size 65 fs/ntfs/runlist.c old_size = PAGE_ALIGN(old_size * sizeof(*rl)); old_size 67 fs/ntfs/runlist.c if (old_size == new_size) old_size 75 fs/ntfs/runlist.c if (unlikely(old_size > new_size)) old_size 76 fs/ntfs/runlist.c old_size = new_size; old_size 77 fs/ntfs/runlist.c memcpy(new_rl, rl, old_size); old_size 107 fs/ntfs/runlist.c int old_size, int new_size) old_size 111 fs/ntfs/runlist.c old_size = PAGE_ALIGN(old_size * sizeof(*rl)); old_size 113 fs/ntfs/runlist.c if (old_size == new_size) old_size 120 fs/ntfs/runlist.c if (unlikely(old_size > new_size)) old_size 121 fs/ntfs/runlist.c old_size = new_size; old_size 122 fs/ntfs/runlist.c memcpy(new_rl, rl, old_size); old_size 1489 fs/ntfs/runlist.c int old_size; old_size 1537 fs/ntfs/runlist.c old_size = trl - runlist->rl + 1; old_size 1556 fs/ntfs/runlist.c rl = ntfs_rl_realloc(runlist->rl, old_size, new_size); old_size 1577 fs/ntfs/runlist.c old_size = rl - runlist->rl + 1; old_size 1579 fs/ntfs/runlist.c rl = ntfs_rl_realloc(runlist->rl, old_size, old_size 1580 fs/ntfs/runlist.c old_size + 1); old_size 1591 fs/ntfs/runlist.c rl += old_size - 1; old_size 1636 fs/ntfs/runlist.c int old_size; old_size 1676 fs/ntfs/runlist.c old_size = rl_real_end - runlist->rl + 1; old_size 1713 fs/ntfs/runlist.c rl = ntfs_rl_realloc(runlist->rl, old_size, old_size 1714 fs/ntfs/runlist.c old_size - (rl_end - rl)); old_size 1758 fs/ntfs/runlist.c trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); old_size 1761 fs/ntfs/runlist.c old_size++; old_size 1828 fs/ntfs/runlist.c trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 1); old_size 1831 fs/ntfs/runlist.c old_size++; old_size 1863 fs/ntfs/runlist.c trl = ntfs_rl_realloc(runlist->rl, old_size, old_size + 2); old_size 1866 fs/ntfs/runlist.c old_size += 2; old_size 2716 fs/ocfs2/dir.c static unsigned int ocfs2_expand_last_dirent(char *start, unsigned int old_size, old_size 2730 fs/ocfs2/dir.c bytes = new_size - old_size; old_size 2732 fs/ocfs2/dir.c limit = start + old_size; old_size 490 fs/ubifs/debug.c (unsigned long long)le64_to_cpu(trun->old_size)); old_size 1113 fs/ubifs/file.c loff_t old_size = inode->i_size, new_size = attr->ia_size; old_size 1117 fs/ubifs/file.c dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); old_size 1191 fs/ubifs/file.c err = ubifs_jnl_truncate(c, inode, old_size, new_size); old_size 1504 fs/ubifs/journal.c loff_t old_size, loff_t new_size) old_size 1518 fs/ubifs/journal.c (unsigned long)inum, old_size, new_size); old_size 1535 fs/ubifs/journal.c trun->old_size = cpu_to_le64(old_size); old_size 1625 fs/ubifs/journal.c bit = old_size & (UBIFS_BLOCK_SIZE - 1); old_size 1626 fs/ubifs/journal.c blk = (old_size >> UBIFS_BLOCK_SHIFT) - (bit ? 0 : 1); old_size 57 fs/ubifs/replay.c loff_t old_size; old_size 191 fs/ubifs/replay.c max_blk = r->old_size / UBIFS_BLOCK_SIZE; old_size 192 fs/ubifs/replay.c if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) old_size 385 fs/ubifs/replay.c loff_t old_size, loff_t new_size) old_size 407 fs/ubifs/replay.c r->old_size = old_size; old_size 785 fs/ubifs/replay.c loff_t old_size = le64_to_cpu(trun->old_size); old_size 790 fs/ubifs/replay.c if (old_size < 0 || old_size > c->max_inode_sz || old_size 792 fs/ubifs/replay.c old_size <= new_size) { old_size 804 fs/ubifs/replay.c old_size, new_size); old_size 602 fs/ubifs/ubifs-media.h __le64 old_size; old_size 1784 fs/ubifs/ubifs.h loff_t old_size, loff_t new_size); old_size 197 fs/ubifs/xattr.c int old_size; old_size 215 fs/ubifs/xattr.c old_size = ui->data_len; old_size 221 fs/ubifs/xattr.c host_ui->xattr_size -= CALC_XATTR_BYTES(old_size); old_size 240 fs/ubifs/xattr.c host_ui->xattr_size += CALC_XATTR_BYTES(old_size); old_size 397 include/linux/ceph/ceph_fs.h __le64 size, old_size; /* old_size needed by truncate */ old_size 422 include/linux/ceph/ceph_fs.h __le32 old_size; old_size 269 include/linux/ceph/osdmap.h int old_size, old_size 75 include/linux/livepatch.h unsigned long old_size, new_size; old_size 562 kernel/bpf/verifier.c u32 old_size = state->COUNT; \ old_size 566 kernel/bpf/verifier.c if (size <= old_size || !size) { \ old_size 570 kernel/bpf/verifier.c if (!size && old_size) { \ old_size 583 kernel/bpf/verifier.c sizeof(*new_##FIELD) * (old_size / SIZE)); \ old_size 584 kernel/bpf/verifier.c memset(new_##FIELD + old_size / SIZE, 0, \ old_size 585 kernel/bpf/verifier.c sizeof(*new_##FIELD) * (size - old_size) / SIZE); \ old_size 1010 kernel/kexec_core.c unsigned long old_size; old_size 1021 kernel/kexec_core.c old_size = (end == 0) ? 0 : end - start + 1; old_size 1022 kernel/kexec_core.c if (new_size >= old_size) { old_size 1023 kernel/kexec_core.c ret = (new_size == old_size) ? 0 : -EINVAL; old_size 745 kernel/livepatch/core.c &func->old_size, NULL); old_size 220 kernel/livepatch/transition.c func_size = func->old_size; old_size 402 mm/list_lru.c int old_size, int new_size) old_size 406 mm/list_lru.c BUG_ON(old_size > new_size); old_size 414 mm/list_lru.c if (__memcg_init_list_lru_node(new, old_size, new_size)) { old_size 419 mm/list_lru.c memcpy(&new->lru, &old->lru, old_size * sizeof(void *)); old_size 437 mm/list_lru.c int old_size, int new_size) old_size 445 mm/list_lru.c __memcg_destroy_list_lru_node(memcg_lrus, old_size, new_size); old_size 483 mm/list_lru.c int old_size, int new_size) old_size 492 mm/list_lru.c old_size, new_size)) old_size 502 mm/list_lru.c old_size, new_size); old_size 508 mm/list_lru.c int old_size, int new_size) old_size 517 mm/list_lru.c old_size, new_size); old_size 524 mm/list_lru.c int old_size = memcg_nr_cache_ids; old_size 528 mm/list_lru.c ret = memcg_update_list_lru(lru, old_size, new_size); old_size 537 mm/list_lru.c memcg_cancel_update_list_lru(lru, old_size, new_size); old_size 419 mm/memblock.c phys_addr_t old_size, new_size, addr, new_end; old_size 430 mm/memblock.c old_size = type->max * sizeof(struct memblock_region); old_size 431 mm/memblock.c new_size = old_size << 1; old_size 436 mm/memblock.c old_alloc_size = PAGE_ALIGN(old_size); old_size 479 mm/memblock.c memcpy(new_array, type->regions, old_size); old_size 480 mm/memblock.c memset(new_array + type->max, 0, old_size); old_size 332 mm/memcontrol.c int size, int old_size) old_size 351 mm/memcontrol.c memset(new->map, (int)0xff, old_size); old_size 352 mm/memcontrol.c memset((void *)new->map + old_size, 0, size - old_size); old_size 405 mm/memcontrol.c int size, old_size, ret = 0; old_size 409 mm/memcontrol.c old_size = memcg_shrinker_map_size; old_size 410 mm/memcontrol.c if (size <= old_size) old_size 420 mm/memcontrol.c ret = memcg_expand_one_shrinker_map(memcg, size, old_size); old_size 2108 net/ceph/osdmap.c int old_size, old_size 2122 net/ceph/osdmap.c old_size != new_size || old_size 1233 net/ipv4/fib_semantics.c unsigned int old_size = fib_info_hash_size; old_size 1241 net/ipv4/fib_semantics.c for (i = 0; i < old_size; i++) { old_size 1257 net/ipv4/fib_semantics.c for (i = 0; i < old_size; i++) { old_size 1275 net/ipv4/fib_semantics.c bytes = old_size * sizeof(struct hlist_head *); old_size 2332 net/netfilter/nf_conntrack_core.c unsigned int old_size; old_size 2344 net/netfilter/nf_conntrack_core.c old_size = nf_conntrack_htable_size; old_size 2345 net/netfilter/nf_conntrack_core.c if (old_size == hashsize) { old_size 2371 net/netfilter/nf_conntrack_core.c old_size = nf_conntrack_htable_size; old_size 402 tools/perf/util/genelf_debug.c size_t old_size; old_size 404 tools/perf/util/genelf_debug.c old_size = buffer_ext_size(be); old_size 417 tools/perf/util/genelf_debug.c dbg_header = buffer_ext_addr(be) + old_size; old_size 418 tools/perf/util/genelf_debug.c dbg_header->prolog_length = (buffer_ext_size(be) - old_size) - old_size 425 tools/perf/util/genelf_debug.c dbg_header = buffer_ext_addr(be) + old_size; old_size 426 tools/perf/util/genelf_debug.c dbg_header->total_length = (buffer_ext_size(be) - old_size) - old_size 448 tools/perf/util/genelf_debug.c size_t old_size = buffer_ext_size(be); old_size 456 tools/perf/util/genelf_debug.c comp_unit_header = buffer_ext_addr(be) + old_size; old_size 457 tools/perf/util/genelf_debug.c comp_unit_header->total_length = (buffer_ext_size(be) - old_size) -