Searched refs:initialized_size (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.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() 728 initialized_size)))) { in ntfs_read_locked_inode() 876 vi->i_size = ni->initialized_size = in ntfs_read_locked_inode() 941 ni->initialized_size = sle64_to_cpu( in ntfs_read_locked_inode() 942 a->data.non_resident.initialized_size); in ntfs_read_locked_inode() 995 vi->i_size = ni->initialized_size = in ntfs_read_locked_inode() 1105 ni->initialized_size = sle64_to_cpu( in ntfs_read_locked_inode() 1106 a->data.non_resident.initialized_size); in ntfs_read_locked_inode() 1110 vi->i_size = ni->initialized_size = le32_to_cpu( in ntfs_read_locked_inode() 1322 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 | 697 const s64 size, const s64 initialized_size) in load_attribute_list() argument 701 u8 *al_end = al + initialized_size; in load_attribute_list() 711 if (!vol || !runlist || !al || size <= 0 || initialized_size < 0 || in load_attribute_list() 712 initialized_size > size) in load_attribute_list() 714 if (!initialized_size) { in load_attribute_list() 761 if (initialized_size < size) { in load_attribute_list() 763 memset(al_start + initialized_size, 0, size - initialized_size); in load_attribute_list() 780 if (initialized_size < size) in load_attribute_list() 1679 a->data.non_resident.initialized_size = in ntfs_attr_make_non_resident() 1781 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 | 2628 max_index = ((((mft_ni->initialized_size >> vol->mft_record_size_bits) in ntfs_statfs()
|