/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 | 2359 s64 new_size, old_size, nr_freed, new_alloc_size, old_alloc_size; in ntfs_truncate() local 2424 old_size = ntfs_attr_size(a); in ntfs_truncate() 2440 if (new_size - old_size >= 0) { in ntfs_truncate() 2442 if (new_size == old_size) in ntfs_truncate() 2468 new_size > old_size ? "exceed " in ntfs_truncate() 2481 i_size_write(vi, old_size); in ntfs_truncate() 2556 err = ntfs_attr_make_non_resident(ni, old_size); in ntfs_truncate() 2829 old_size = -1; in ntfs_truncate() 2835 else if (old_size >= 0) in ntfs_truncate() 2836 i_size_write(vi, old_size); in ntfs_truncate() [all …]
|
D | attrib.c | 1481 u32 old_size; in ntfs_resident_attr_value_resize() local 1491 old_size = le32_to_cpu(a->data.resident.value_length); in ntfs_resident_attr_value_resize() 1492 if (new_size > old_size) in ntfs_resident_attr_value_resize() 1494 old_size, 0, new_size - old_size); in ntfs_resident_attr_value_resize()
|
/fs/ubifs/ |
D | replay.c | 77 loff_t old_size; member 182 max_blk = r->old_size / UBIFS_BLOCK_SIZE; in trun_remove_range() 183 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) in trun_remove_range() 333 int deletion, int *used, loff_t old_size, in insert_node() argument 368 r->old_size = old_size; in insert_node() 591 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud() local 596 if (old_size < 0 || old_size > c->max_inode_sz || in replay_bud() 598 old_size <= new_size) { in replay_bud() 610 old_size, new_size); in replay_bud()
|
D | journal.c | 1121 loff_t old_size, loff_t new_size) in ubifs_jnl_truncate() argument 1133 (unsigned long)inum, old_size, new_size); in ubifs_jnl_truncate() 1147 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate() 1222 bit = old_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate() 1223 blk = (old_size >> UBIFS_BLOCK_SHIFT) - (bit ? 0 : 1); in ubifs_jnl_truncate()
|
D | ubifs-media.h | 547 __le64 old_size; member
|
D | file.c | 1090 loff_t old_size = inode->i_size, new_size = attr->ia_size; in do_truncation() local 1094 dbg_gen("ino %lu, size %lld -> %lld", inode->i_ino, old_size, new_size); in do_truncation() 1171 err = ubifs_jnl_truncate(c, inode, old_size, new_size); in do_truncation()
|
D | ubifs.h | 1478 loff_t old_size, loff_t new_size);
|
D | debug.c | 513 (unsigned long long)le64_to_cpu(trun->old_size)); in dbg_dump_node()
|
/fs/btrfs/ |
D | inode-item.c | 133 u32 old_size; in btrfs_insert_inode_ref() local 138 old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in btrfs_insert_inode_ref() 143 ref = (struct btrfs_inode_ref *)((unsigned long)ref + old_size); in btrfs_insert_inode_ref()
|
D | ioctl.c | 447 u64 old_size; in btrfs_ioctl_resize() local 511 old_size = device->total_bytes; in btrfs_ioctl_resize() 514 if (new_size > old_size) { in btrfs_ioctl_resize() 518 new_size = old_size - new_size; in btrfs_ioctl_resize() 520 new_size = old_size + new_size; in btrfs_ioctl_resize() 538 if (new_size > old_size) { in btrfs_ioctl_resize()
|
D | ctree.c | 3113 unsigned int old_size; in btrfs_truncate_item() local 3121 old_size = btrfs_item_size_nr(leaf, slot); in btrfs_truncate_item() 3122 if (old_size == new_size) in btrfs_truncate_item() 3130 size_diff = old_size - new_size; in btrfs_truncate_item() 3228 unsigned int old_size; in btrfs_extend_item() local 3282 old_size = btrfs_item_size_nr(leaf, slot); in btrfs_extend_item() 3284 btrfs_set_item_size(leaf, item, old_size + data_size); in btrfs_extend_item()
|
D | volumes.c | 1708 u64 old_size; in btrfs_balance() local 1725 old_size = device->total_bytes; in btrfs_balance() 1726 size_to_free = div_factor(old_size, 1); in btrfs_balance() 1732 ret = btrfs_shrink_device(device, old_size - size_to_free); in btrfs_balance() 1738 ret = btrfs_grow_device(trans, device, old_size); in btrfs_balance()
|
/fs/ocfs2/ |
D | dir.c | 1363 static void ocfs2_expand_last_dirent(char *start, unsigned int old_size, in ocfs2_expand_last_dirent() argument 1375 bytes = new_size - old_size; in ocfs2_expand_last_dirent() 1377 limit = start + old_size; in ocfs2_expand_last_dirent()
|
D | file.c | 1768 loff_t old_size, *ppos = &iocb->ki_pos; in ocfs2_file_aio_write() local 1832 old_size = i_size_read(inode); in ocfs2_file_aio_write() 1878 if (old_size != i_size_read(inode) || in ocfs2_file_aio_write()
|