/fs/ntfs/ |
D | runlist.c | 75 int old_size, int new_size) in ntfs_rl_realloc() argument 79 old_size = PAGE_ALIGN(old_size * sizeof(*rl)); in ntfs_rl_realloc() 81 if (old_size == new_size) in ntfs_rl_realloc() 89 if (unlikely(old_size > new_size)) in ntfs_rl_realloc() 90 old_size = new_size; in ntfs_rl_realloc() 91 memcpy(new_rl, rl, old_size); in ntfs_rl_realloc() 121 int old_size, int new_size) in ntfs_rl_realloc_nofail() argument 125 old_size = PAGE_ALIGN(old_size * sizeof(*rl)); in ntfs_rl_realloc_nofail() 127 if (old_size == new_size) in ntfs_rl_realloc_nofail() 134 if (unlikely(old_size > new_size)) in ntfs_rl_realloc_nofail() [all …]
|
D | inode.c | 2365 s64 new_size, old_size, nr_freed, new_alloc_size, old_alloc_size; in ntfs_truncate() local 2430 old_size = ntfs_attr_size(a); in ntfs_truncate() 2446 if (new_size - old_size >= 0) { in ntfs_truncate() 2448 if (new_size == old_size) in ntfs_truncate() 2474 new_size > old_size ? "exceed " in ntfs_truncate() 2487 i_size_write(vi, old_size); in ntfs_truncate() 2562 err = ntfs_attr_make_non_resident(ni, old_size); in ntfs_truncate() 2835 old_size = -1; in ntfs_truncate() 2841 else if (old_size >= 0) in ntfs_truncate() 2842 i_size_write(vi, old_size); in ntfs_truncate() [all …]
|
D | attrib.c | 1482 u32 old_size; in ntfs_resident_attr_value_resize() local 1492 old_size = le32_to_cpu(a->data.resident.value_length); in ntfs_resident_attr_value_resize() 1493 if (new_size > old_size) in ntfs_resident_attr_value_resize() 1495 old_size, 0, new_size - old_size); in ntfs_resident_attr_value_resize()
|
/fs/ubifs/ |
D | replay.c | 66 loff_t old_size; member 200 max_blk = r->old_size / UBIFS_BLOCK_SIZE; in trun_remove_range() 201 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) in trun_remove_range() 358 int deletion, int *used, loff_t old_size, in insert_node() argument 380 r->old_size = old_size; in insert_node() 642 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud() local 647 if (old_size < 0 || old_size > c->max_inode_sz || in replay_bud() 649 old_size <= new_size) { in replay_bud() 661 old_size, new_size); in replay_bud()
|
D | journal.c | 1143 loff_t old_size, loff_t new_size) in ubifs_jnl_truncate() argument 1155 (unsigned long)inum, old_size, new_size); in ubifs_jnl_truncate() 1169 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate() 1244 bit = old_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate() 1245 blk = (old_size >> UBIFS_BLOCK_SHIFT) - (bit ? 0 : 1); in ubifs_jnl_truncate()
|
D | ubifs-media.h | 578 __le64 old_size; member
|
D | file.c | 1108 loff_t old_size = inode->i_size, new_size = attr->ia_size; in do_truncation() local 1112 dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); in do_truncation() 1186 err = ubifs_jnl_truncate(c, inode, old_size, new_size); in do_truncation()
|
D | ubifs.h | 1539 loff_t old_size, loff_t new_size);
|
D | debug.c | 496 (unsigned long long)le64_to_cpu(trun->old_size)); in ubifs_dump_node()
|
/fs/gfs2/ |
D | lock_dlm.c | 1015 uint32_t old_size, new_size; in set_recover_size() local 1030 old_size = ls->ls_recover_size; in set_recover_size() 1032 if (old_size >= max_jid + 1) in set_recover_size() 1035 new_size = old_size + RECOVER_SIZE_INC; in set_recover_size() 1046 memcpy(submit, ls->ls_recover_submit, old_size * sizeof(uint32_t)); in set_recover_size() 1047 memcpy(result, ls->ls_recover_result, old_size * sizeof(uint32_t)); in set_recover_size()
|
/fs/btrfs/ |
D | inode-item.c | 415 u32 old_size; in btrfs_insert_inode_ref() local 420 old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in btrfs_insert_inode_ref() 424 ref = (struct btrfs_inode_ref *)((unsigned long)ref + old_size); in btrfs_insert_inode_ref()
|
D | ioctl.c | 1354 u64 old_size; in btrfs_ioctl_resize() local 1442 old_size = device->total_bytes; in btrfs_ioctl_resize() 1445 if (new_size > old_size) { in btrfs_ioctl_resize() 1449 new_size = old_size - new_size; in btrfs_ioctl_resize() 1451 new_size = old_size + new_size; in btrfs_ioctl_resize() 1470 if (new_size > old_size) { in btrfs_ioctl_resize() 1478 } else if (new_size < old_size) { in btrfs_ioctl_resize()
|
D | ctree.c | 4344 unsigned int old_size; in btrfs_truncate_item() local 4354 old_size = btrfs_item_size_nr(leaf, slot); in btrfs_truncate_item() 4355 if (old_size == new_size) in btrfs_truncate_item() 4363 size_diff = old_size - new_size; in btrfs_truncate_item() 4444 unsigned int old_size; in btrfs_extend_item() local 4489 old_size = btrfs_item_size_nr(leaf, slot); in btrfs_extend_item() 4491 btrfs_set_item_size(leaf, item, old_size + data_size); in btrfs_extend_item()
|
D | volumes.c | 2881 u64 old_size; in __btrfs_balance() local 2897 old_size = device->total_bytes; in __btrfs_balance() 2898 size_to_free = div_factor(old_size, 1); in __btrfs_balance() 2905 ret = btrfs_shrink_device(device, old_size - size_to_free); in __btrfs_balance() 2913 ret = btrfs_grow_device(trans, device, old_size); in __btrfs_balance() 3452 u64 old_size = device->total_bytes; in btrfs_shrink_device() local 3532 device->total_bytes = old_size; in btrfs_shrink_device()
|
/fs/ext4/ |
D | inline.c | 1051 static void ext4_update_final_de(void *de_buf, int old_size, int new_size) in ext4_update_final_de() argument 1058 if (old_size) { in ext4_update_final_de() 1059 limit = de_buf + old_size; in ext4_update_final_de() 1062 de_len = ext4_rec_len_from_disk(de->rec_len, old_size); in ext4_update_final_de() 1068 old_size, new_size); in ext4_update_final_de() 1080 int old_size = EXT4_I(dir)->i_inline_size - EXT4_MIN_INLINE_DATA_SIZE; in ext4_update_inline_dir() local 1083 if (new_size - old_size <= EXT4_DIR_REC_LEN(1)) in ext4_update_inline_dir() 1091 ext4_update_final_de(ext4_get_inline_xattr_pos(dir, iloc), old_size, in ext4_update_inline_dir()
|
/fs/ocfs2/ |
D | file.c | 2233 loff_t old_size, *ppos = &iocb->ki_pos; in ocfs2_file_aio_write() local 2340 old_size = i_size_read(inode); in ocfs2_file_aio_write() 2382 if (!ret && ((old_size != i_size_read(inode)) || in ocfs2_file_aio_write()
|
D | dir.c | 2806 static unsigned int ocfs2_expand_last_dirent(char *start, unsigned int old_size, in ocfs2_expand_last_dirent() argument 2820 bytes = new_size - old_size; in ocfs2_expand_last_dirent() 2822 limit = start + old_size; in ocfs2_expand_last_dirent()
|
/fs/ |
D | buffer.c | 2032 loff_t old_size = inode->i_size; in generic_write_end() local 2052 if (old_size < pos) in generic_write_end() 2053 pagecache_isize_extended(inode, old_size, pos); in generic_write_end()
|
/fs/ceph/ |
D | inode.c | 1712 req->r_args.setattr.old_size = in ceph_setattr()
|