Home
last modified time | relevance | path

Searched refs:initialized_size (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/fs/ntfs/
Dfile.c127 old_init_size = ni->initialized_size; in ntfs_attr_extend_initialized()
179 ni->initialized_size = new_init_size; in ntfs_attr_extend_initialized()
245 ni->initialized_size = (s64)(index + 1) << PAGE_SHIFT; in ntfs_attr_extend_initialized()
246 if (ni->initialized_size > new_init_size) in ntfs_attr_extend_initialized()
247 ni->initialized_size = new_init_size; in ntfs_attr_extend_initialized()
283 BUG_ON(ni->initialized_size != new_init_size); in ntfs_attr_extend_initialized()
307 a->data.non_resident.initialized_size = cpu_to_sle64(new_init_size); in ntfs_attr_extend_initialized()
320 ni->initialized_size = old_init_size; in ntfs_attr_extend_initialized()
472 ll = ni->initialized_size; in ntfs_prepare_file_for_write()
589 s64 bh_pos, vcn_len, end, initialized_size; in ntfs_prepare_pages_for_non_resident_write() local
[all …]
Dcompress.c101 const s64 initialized_size) in zero_partial_compressed_page() argument
107 if (((s64)page->index << PAGE_SHIFT) >= initialized_size) { in zero_partial_compressed_page()
111 kp_ofs = initialized_size & ~PAGE_MASK; in zero_partial_compressed_page()
120 const loff_t i_size, const s64 initialized_size) in handle_bounds_compressed_page() argument
122 if ((page->index >= (initialized_size >> PAGE_SHIFT)) && in handle_bounds_compressed_page()
123 (initialized_size < i_size)) in handle_bounds_compressed_page()
124 zero_partial_compressed_page(page, initialized_size); in handle_bounds_compressed_page()
170 const s64 initialized_size) in ntfs_decompress() argument
230 initialized_size); in ntfs_decompress()
479 s64 initialized_size; in ntfs_read_compressed_block() local
[all …]
Dmft.c1163 ll = NTFS_I(vol->mftbmp_ino)->initialized_size << 3; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1625 old_initialized_size = mftbmp_ni->initialized_size; in ntfs_mft_bitmap_extend_initialized_nolock()
1631 mftbmp_ni->initialized_size += 8; in ntfs_mft_bitmap_extend_initialized_nolock()
1632 a->data.non_resident.initialized_size = in ntfs_mft_bitmap_extend_initialized_nolock()
1633 cpu_to_sle64(mftbmp_ni->initialized_size); in ntfs_mft_bitmap_extend_initialized_nolock()
1634 if (mftbmp_ni->initialized_size > old_data_size) { in ntfs_mft_bitmap_extend_initialized_nolock()
1635 i_size_write(mftbmp_vi, mftbmp_ni->initialized_size); in ntfs_mft_bitmap_extend_initialized_nolock()
1637 cpu_to_sle64(mftbmp_ni->initialized_size); in ntfs_mft_bitmap_extend_initialized_nolock()
1679 mftbmp_ni->initialized_size = old_initialized_size; in ntfs_mft_bitmap_extend_initialized_nolock()
1680 a->data.non_resident.initialized_size = in ntfs_mft_bitmap_extend_initialized_nolock()
[all …]
Dinode.c397 ni->initialized_size = ni->allocated_size = 0; in __ntfs_init_inode()
759 initialized_size)))) { in ntfs_read_locked_inode()
907 vi->i_size = ni->initialized_size = in ntfs_read_locked_inode()
972 ni->initialized_size = sle64_to_cpu( in ntfs_read_locked_inode()
973 a->data.non_resident.initialized_size); in ntfs_read_locked_inode()
1026 vi->i_size = ni->initialized_size = in ntfs_read_locked_inode()
1136 ni->initialized_size = sle64_to_cpu( in ntfs_read_locked_inode()
1137 a->data.non_resident.initialized_size); in ntfs_read_locked_inode()
1141 vi->i_size = ni->initialized_size = le32_to_cpu( in ntfs_read_locked_inode()
1353 vi->i_size = ni->initialized_size = le32_to_cpu( in ntfs_read_locked_attr_inode()
[all …]
Daops.c81 init_size = ni->initialized_size; in ntfs_end_buffer_async_read()
232 init_size = ni->initialized_size; in ntfs_read_block()
495 if (unlikely(attr_len > ni->initialized_size)) in ntfs_readpage()
496 attr_len = ni->initialized_size; in ntfs_readpage()
551 s64 initialized_size; in ntfs_write_block() local
603 initialized_size = ni->initialized_size; in ntfs_write_block()
610 iblock = initialized_size >> blocksize_bits; in ntfs_write_block()
655 (initialized_size < i_size))) { in ntfs_write_block()
1591 size = ni->initialized_size; in ntfs_bmap()
Dattrib.c735 const s64 size, const s64 initialized_size) in load_attribute_list() argument
739 u8 *al_end = al + initialized_size; in load_attribute_list()
749 if (!vol || !runlist || !al || size <= 0 || initialized_size < 0 || in load_attribute_list()
750 initialized_size > size) in load_attribute_list()
752 if (!initialized_size) { in load_attribute_list()
799 if (initialized_size < size) { in load_attribute_list()
801 memset(al_start + initialized_size, 0, size - initialized_size); in load_attribute_list()
818 if (initialized_size < size) in load_attribute_list()
1717 a->data.non_resident.initialized_size = in ntfs_attr_make_non_resident()
1819 ni->initialized_size = attr_size; in ntfs_attr_make_non_resident()
Dattrib.h79 const s64 size, const s64 initialized_size);
Dinode.h49 s64 initialized_size; /* Copy from the attribute record. */ member
Dlogfile.c755 end_vcn = (log_ni->initialized_size + vol->cluster_size_mask) >> in ntfs_empty_logfile()
Dlayout.h776 /* 56*/ sle64 initialized_size; /* Byte size of initialized member
Dsuper.c2643 max_index = ((((mft_ni->initialized_size >> vol->mft_record_size_bits) in ntfs_statfs()