Searched refs:initialized_size (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/fs/ntfs/ |
D | file.c | 113 old_init_size = ni->initialized_size; in ntfs_attr_extend_initialized() 165 ni->initialized_size = new_init_size; in ntfs_attr_extend_initialized() 231 ni->initialized_size = (s64)(index + 1) << PAGE_SHIFT; in ntfs_attr_extend_initialized() 232 if (ni->initialized_size > new_init_size) in ntfs_attr_extend_initialized() 233 ni->initialized_size = new_init_size; in ntfs_attr_extend_initialized() 269 BUG_ON(ni->initialized_size != new_init_size); in ntfs_attr_extend_initialized() 293 a->data.non_resident.initialized_size = cpu_to_sle64(new_init_size); in ntfs_attr_extend_initialized() 306 ni->initialized_size = old_init_size; in ntfs_attr_extend_initialized() 458 ll = ni->initialized_size; in ntfs_prepare_file_for_write() 575 s64 bh_pos, vcn_len, end, initialized_size; in ntfs_prepare_pages_for_non_resident_write() local [all …]
|
D | compress.c | 87 const s64 initialized_size) in zero_partial_compressed_page() argument 93 if (((s64)page->index << PAGE_SHIFT) >= initialized_size) { in zero_partial_compressed_page() 97 kp_ofs = initialized_size & ~PAGE_MASK; in zero_partial_compressed_page() 106 const loff_t i_size, const s64 initialized_size) in handle_bounds_compressed_page() argument 108 if ((page->index >= (initialized_size >> PAGE_SHIFT)) && in handle_bounds_compressed_page() 109 (initialized_size < i_size)) in handle_bounds_compressed_page() 110 zero_partial_compressed_page(page, initialized_size); in handle_bounds_compressed_page() 156 const s64 initialized_size) in ntfs_decompress() argument 216 initialized_size); in ntfs_decompress() 465 s64 initialized_size; in ntfs_read_compressed_block() local [all …]
|
D | mft.c | 1149 ll = NTFS_I(vol->mftbmp_ino)->initialized_size << 3; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1611 old_initialized_size = mftbmp_ni->initialized_size; in ntfs_mft_bitmap_extend_initialized_nolock() 1617 mftbmp_ni->initialized_size += 8; in ntfs_mft_bitmap_extend_initialized_nolock() 1618 a->data.non_resident.initialized_size = in ntfs_mft_bitmap_extend_initialized_nolock() 1619 cpu_to_sle64(mftbmp_ni->initialized_size); in ntfs_mft_bitmap_extend_initialized_nolock() 1620 if (mftbmp_ni->initialized_size > old_data_size) { in ntfs_mft_bitmap_extend_initialized_nolock() 1621 i_size_write(mftbmp_vi, mftbmp_ni->initialized_size); in ntfs_mft_bitmap_extend_initialized_nolock() 1623 cpu_to_sle64(mftbmp_ni->initialized_size); in ntfs_mft_bitmap_extend_initialized_nolock() 1665 mftbmp_ni->initialized_size = old_initialized_size; in ntfs_mft_bitmap_extend_initialized_nolock() 1666 a->data.non_resident.initialized_size = in ntfs_mft_bitmap_extend_initialized_nolock() [all …]
|
D | inode.c | 372 ni->initialized_size = ni->allocated_size = 0; in __ntfs_init_inode() 734 initialized_size)))) { in ntfs_read_locked_inode() 882 vi->i_size = ni->initialized_size = in ntfs_read_locked_inode() 947 ni->initialized_size = sle64_to_cpu( in ntfs_read_locked_inode() 948 a->data.non_resident.initialized_size); in ntfs_read_locked_inode() 1001 vi->i_size = ni->initialized_size = in ntfs_read_locked_inode() 1111 ni->initialized_size = sle64_to_cpu( in ntfs_read_locked_inode() 1112 a->data.non_resident.initialized_size); in ntfs_read_locked_inode() 1116 vi->i_size = ni->initialized_size = le32_to_cpu( in ntfs_read_locked_inode() 1328 vi->i_size = ni->initialized_size = le32_to_cpu( in ntfs_read_locked_attr_inode() [all …]
|
D | aops.c | 67 init_size = ni->initialized_size; in ntfs_end_buffer_async_read() 215 init_size = ni->initialized_size; in ntfs_read_block() 478 if (unlikely(attr_len > ni->initialized_size)) in ntfs_readpage() 479 attr_len = ni->initialized_size; in ntfs_readpage() 534 s64 initialized_size; in ntfs_write_block() local 586 initialized_size = ni->initialized_size; in ntfs_write_block() 593 iblock = initialized_size >> blocksize_bits; in ntfs_write_block() 638 (initialized_size < i_size))) { in ntfs_write_block() 1574 size = ni->initialized_size; in ntfs_bmap()
|
D | attrib.c | 721 const s64 size, const s64 initialized_size) in load_attribute_list() argument 725 u8 *al_end = al + initialized_size; in load_attribute_list() 735 if (!vol || !runlist || !al || size <= 0 || initialized_size < 0 || in load_attribute_list() 736 initialized_size > size) in load_attribute_list() 738 if (!initialized_size) { in load_attribute_list() 785 if (initialized_size < size) { in load_attribute_list() 787 memset(al_start + initialized_size, 0, size - initialized_size); in load_attribute_list() 804 if (initialized_size < size) in load_attribute_list() 1703 a->data.non_resident.initialized_size = in ntfs_attr_make_non_resident() 1805 ni->initialized_size = attr_size; in ntfs_attr_make_non_resident()
|
D | attrib.h | 65 const s64 size, const s64 initialized_size);
|
D | inode.h | 35 s64 initialized_size; /* Copy from the attribute record. */ member
|
D | logfile.c | 741 end_vcn = (log_ni->initialized_size + vol->cluster_size_mask) >> in ntfs_empty_logfile()
|
D | layout.h | 762 /* 56*/ sle64 initialized_size; /* Byte size of initialized member
|
D | super.c | 2629 max_index = ((((mft_ni->initialized_size >> vol->mft_record_size_bits) in ntfs_statfs()
|