/linux-5.19.10/fs/ntfs/ |
D | runlist.c | 61 int old_size, int new_size) in ntfs_rl_realloc() argument 65 old_size = PAGE_ALIGN(old_size * sizeof(*rl)); in ntfs_rl_realloc() 67 if (old_size == new_size) in ntfs_rl_realloc() 75 if (unlikely(old_size > new_size)) in ntfs_rl_realloc() 76 old_size = new_size; in ntfs_rl_realloc() 77 memcpy(new_rl, rl, old_size); in ntfs_rl_realloc() 107 int old_size, int new_size) in ntfs_rl_realloc_nofail() argument 111 old_size = PAGE_ALIGN(old_size * sizeof(*rl)); in ntfs_rl_realloc_nofail() 113 if (old_size == new_size) in ntfs_rl_realloc_nofail() 120 if (unlikely(old_size > new_size)) in ntfs_rl_realloc_nofail() [all …]
|
D | inode.c | 2350 s64 new_size, old_size, nr_freed, new_alloc_size, old_alloc_size; in ntfs_truncate() local 2414 old_size = ntfs_attr_size(a); in ntfs_truncate() 2430 if (new_size - old_size >= 0) { in ntfs_truncate() 2432 if (new_size == old_size) in ntfs_truncate() 2458 new_size > old_size ? "exceed " in ntfs_truncate() 2471 i_size_write(vi, old_size); in ntfs_truncate() 2546 err = ntfs_attr_make_non_resident(ni, old_size); in ntfs_truncate() 2818 old_size = -1; in ntfs_truncate() 2824 else if (old_size >= 0) in ntfs_truncate() 2825 i_size_write(vi, old_size); in ntfs_truncate() [all …]
|
/linux-5.19.10/tools/perf/util/ |
D | genelf_debug.c | 402 size_t old_size; in add_debug_line() local 404 old_size = buffer_ext_size(be); in add_debug_line() 417 dbg_header = buffer_ext_addr(be) + old_size; in add_debug_line() 418 dbg_header->prolog_length = (buffer_ext_size(be) - old_size) - in add_debug_line() 425 dbg_header = buffer_ext_addr(be) + old_size; in add_debug_line() 426 dbg_header->total_length = (buffer_ext_size(be) - old_size) - in add_debug_line() 448 size_t old_size = buffer_ext_size(be); in add_compilation_unit() local 456 comp_unit_header = buffer_ext_addr(be) + old_size; in add_compilation_unit() 457 comp_unit_header->total_length = (buffer_ext_size(be) - old_size) - in add_compilation_unit()
|
/linux-5.19.10/fs/ntfs3/ |
D | attrlist.c | 279 size_t asize, new_asize, old_size; in al_add_le() local 287 old_size = al->size; in al_add_le() 288 new_size = old_size + sz; in al_add_le() 289 asize = al_aligned(old_size); in al_add_le() 303 memcpy(Add2Ptr(ptr, off + sz), le, old_size - off); in al_add_le() 308 memmove(Add2Ptr(le, sz), le, old_size - off); in al_add_le() 327 memmove(le, Add2Ptr(le, sz), old_size - off); in al_add_le() 328 al->size = old_size; in al_add_le()
|
/linux-5.19.10/fs/ubifs/ |
D | replay.c | 57 loff_t old_size; member 191 max_blk = r->old_size / UBIFS_BLOCK_SIZE; in trun_remove_range() 192 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) in trun_remove_range() 386 loff_t old_size, loff_t new_size) in insert_node() argument 408 r->old_size = old_size; in insert_node() 780 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud() local 785 if (old_size < 0 || old_size > c->max_inode_sz || in replay_bud() 787 old_size <= new_size) { in replay_bud() 799 old_size, new_size); in replay_bud()
|
D | xattr.c | 197 int old_size; in change_xattr() local 214 old_size = ui->data_len; in change_xattr() 219 host_ui->xattr_size -= CALC_XATTR_BYTES(old_size); in change_xattr() 238 host_ui->xattr_size += CALC_XATTR_BYTES(old_size); in change_xattr()
|
D | journal.c | 1546 loff_t old_size, loff_t new_size) in ubifs_jnl_truncate() argument 1560 (unsigned long)inum, old_size, new_size); in ubifs_jnl_truncate() 1577 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate() 1668 bit = old_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate() 1669 blk = (old_size >> UBIFS_BLOCK_SHIFT) - (bit ? 0 : 1); in ubifs_jnl_truncate()
|
/linux-5.19.10/drivers/md/persistent-data/ |
D | dm-array.c | 660 uint32_t old_size, uint32_t new_size, in array_resize() argument 666 if (old_size == new_size) { in array_resize() 677 resize.old_nr_full_blocks = old_size / resize.max_entries; in array_resize() 678 resize.old_nr_entries_in_last_block = old_size % resize.max_entries; in array_resize() 683 r = ((new_size > old_size) ? grow : shrink)(&resize); in array_resize() 692 uint32_t old_size, uint32_t new_size, in dm_array_resize() argument 696 int r = array_resize(info, root, old_size, new_size, value, new_root); in dm_array_resize()
|
D | dm-array.h | 110 uint32_t old_size, uint32_t new_size,
|
/linux-5.19.10/fs/cachefiles/ |
D | interface.c | 281 loff_t old_size = cookie->object_size; in cachefiles_resize_cookie() local 283 _enter("%llu->%llu", old_size, new_size); in cachefiles_resize_cookie() 285 if (new_size < old_size) { in cachefiles_resize_cookie()
|
/linux-5.19.10/include/trace/events/ |
D | fscache.h | 480 __field(loff_t, old_size ) 486 __entry->old_size = cookie->object_size; 492 __entry->old_size,
|
/linux-5.19.10/drivers/gpu/drm/lima/ |
D | lima_gem.c | 26 size_t old_size = bo->heap_size; in lima_heap_alloc() local 55 for (i = old_size >> PAGE_SHIFT; i < new_size >> PAGE_SHIFT; i++) { in lima_heap_alloc() 94 ret = lima_vm_map_bo(vm, bo, old_size >> PAGE_SHIFT); in lima_heap_alloc()
|
/linux-5.19.10/drivers/pci/ |
D | setup-bus.c | 794 resource_size_t old_size, in calculate_iosize() argument 799 if (old_size == 1) in calculate_iosize() 800 old_size = 0; in calculate_iosize() 809 if (size < old_size) in calculate_iosize() 810 size = old_size; in calculate_iosize() 820 resource_size_t old_size, in calculate_memsize() argument 825 if (old_size == 1) in calculate_memsize() 826 old_size = 0; in calculate_memsize() 827 if (size < old_size) in calculate_memsize() 828 size = old_size; in calculate_memsize()
|
/linux-5.19.10/fs/gfs2/ |
D | lock_dlm.c | 1073 uint32_t old_size, new_size; in set_recover_size() local 1088 old_size = ls->ls_recover_size; in set_recover_size() 1089 new_size = old_size; in set_recover_size() 1092 if (new_size == old_size) in set_recover_size() 1104 memcpy(submit, ls->ls_recover_submit, old_size * sizeof(uint32_t)); in set_recover_size() 1105 memcpy(result, ls->ls_recover_result, old_size * sizeof(uint32_t)); in set_recover_size()
|
/linux-5.19.10/arch/sparc/mm/ |
D | tsb.c | 399 unsigned long new_size, old_size, flags; in tsb_grow() local 478 old_size = (mm->context.tsb_block[tsb_index].tsb_nentries * in tsb_grow() 509 copy_tsb(old_tsb_base, old_size, new_tsb_base, new_size, in tsb_grow()
|
/linux-5.19.10/kernel/ |
D | kexec_core.c | 1036 unsigned long old_size; in crash_shrink_memory() local 1047 old_size = (end == 0) ? 0 : end - start + 1; in crash_shrink_memory() 1048 if (new_size >= old_size) { in crash_shrink_memory() 1049 ret = (new_size == old_size) ? 0 : -EINVAL; in crash_shrink_memory()
|
/linux-5.19.10/include/linux/ceph/ |
D | ceph_fs.h | 413 __le64 size, old_size; /* old_size needed by truncate */ member 438 __le32 old_size; member 472 __le64 size, old_size; /* old_size needed by truncate */ member
|
/linux-5.19.10/arch/x86/pci/ |
D | mmconfig-shared.c | 453 u64 old_size = size; in is_mmconf_reserved() local 463 if (size < (16UL<<20) && size != old_size) in is_mmconf_reserved() 473 if (old_size != size) { in is_mmconf_reserved()
|
/linux-5.19.10/drivers/md/bcache/ |
D | extents.c | 331 unsigned int old_size, sectors_found = 0; in bch_extent_insert_fixup() local 353 old_size = KEY_SIZE(k); in bch_extent_insert_fixup() 458 bch_subtract_dirty(k, c, old_offset, old_size - KEY_SIZE(k)); in bch_extent_insert_fixup()
|
/linux-5.19.10/fs/ext4/ |
D | inline.c | 1081 static void ext4_update_final_de(void *de_buf, int old_size, int new_size) in ext4_update_final_de() argument 1088 if (old_size) { in ext4_update_final_de() 1089 limit = de_buf + old_size; in ext4_update_final_de() 1092 de_len = ext4_rec_len_from_disk(de->rec_len, old_size); in ext4_update_final_de() 1098 old_size, new_size); in ext4_update_final_de() 1110 int old_size = EXT4_I(dir)->i_inline_size - EXT4_MIN_INLINE_DATA_SIZE; in ext4_update_inline_dir() local 1113 if (new_size - old_size <= ext4_dir_rec_len(1, NULL)) in ext4_update_inline_dir() 1121 ext4_update_final_de(ext4_get_inline_xattr_pos(dir, iloc), old_size, in ext4_update_inline_dir()
|
D | xattr.c | 1573 size_t old_size, new_size; in ext4_xattr_set_entry() local 1577 old_size = (!s->not_found && !here->e_value_inum) ? in ext4_xattr_set_entry() 1585 if (new_size && new_size == old_size) { in ext4_xattr_set_entry() 1622 free += EXT4_XATTR_LEN(name_len) + old_size; in ext4_xattr_set_entry() 1637 (min_offs + old_size - new_size) < in ext4_xattr_set_entry() 1707 memmove(first_val + old_size, first_val, val - first_val); in ext4_xattr_set_entry() 1708 memset(first_val, 0, old_size); in ext4_xattr_set_entry() 1709 min_offs += old_size; in ext4_xattr_set_entry() 1718 last->e_value_offs = cpu_to_le16(o + old_size); in ext4_xattr_set_entry()
|
/linux-5.19.10/include/linux/ |
D | livepatch.h | 73 unsigned long old_size, new_size; member
|
/linux-5.19.10/fs/btrfs/ |
D | inode-item.c | 328 u32 old_size; in btrfs_insert_inode_ref() local 334 old_size = btrfs_item_size(path->nodes[0], path->slots[0]); in btrfs_insert_inode_ref() 338 ref = (struct btrfs_inode_ref *)((unsigned long)ref + old_size); in btrfs_insert_inode_ref()
|
/linux-5.19.10/mm/ |
D | memblock.c | 410 phys_addr_t old_size, new_size, addr, new_end; in memblock_double_array() local 421 old_size = type->max * sizeof(struct memblock_region); in memblock_double_array() 422 new_size = old_size << 1; in memblock_double_array() 427 old_alloc_size = PAGE_ALIGN(old_size); in memblock_double_array() 470 memcpy(new_array, type->regions, old_size); in memblock_double_array() 471 memset(new_array + type->max, 0, old_size); in memblock_double_array()
|
/linux-5.19.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cotable.c | 391 size_t old_size = res->backup_size; in vmw_cotable_resize() local 470 res->backup_size = old_size; in vmw_cotable_resize()
|