Lines Matching refs:initialized_size
365 const s64 initialized_size, const s64 compressed_size, in ntfs_attr_init() argument
380 na->initialized_size = initialized_size; in ntfs_attr_init()
489 && (a->non_resident ? !a->initialized_size : !a->value_length)) { in ntfs_attr_open()
558 sle64_to_cpu(a->initialized_size), in ntfs_attr_open()
1027 max_init = na->initialized_size; in ntfs_attr_pread_i()
1031 if (na->data_size != na->initialized_size) { in ntfs_attr_pread_i()
1887 && (pos > na->initialized_size)
1961 old_initialized_size = na->initialized_size;
2002 if (pos + count > na->initialized_size) {
2018 || (pos < na->initialized_size))
2021 block_begin = na->initialized_size >> vol->cluster_size_bits;
2057 if (pos > na->initialized_size)
2058 if (ntfs_attr_fill_zero(na, na->initialized_size,
2059 pos - na->initialized_size))
2062 ctx->attr->initialized_size = cpu_to_sle64(pos + count);
2066 ctx->attr->data_size = ctx->attr->initialized_size;
2074 ctx->attr->initialized_size =
2080 na->initialized_size = pos + count;
2246 if (rounding && ((wend == na->initialized_size) ||
2332 if (pos + total > na->initialized_size)
2359 na->initialized_size = old_initialized_size;
2360 ctx->attr->initialized_size = cpu_to_sle64(
2485 rl = ntfs_attr_find_vcn(na, (na->initialized_size - 1) >> vol->cluster_size_bits);
2527 ofs = na->initialized_size - (rl->vcn << vol->cluster_size_bits);
2540 ofs = na->initialized_size - (rl->vcn << vol->cluster_size_bits);
4312 a->initialized_size = const_cpu_to_sle64(0);
5155 na->data_size = na->initialized_size = le32_to_cpu(a->value_length);
5250 a->data_size = a->initialized_size = cpu_to_sle64(na->data_size);
5344 na->data_size = na->initialized_size = newsize;
5718 if (na->initialized_size > na->data_size)
5719 na->initialized_size = na->data_size;
5722 bytes_read = ntfs_rl_pread(vol, na->rl, 0, na->initialized_size,
5724 if (bytes_read != na->initialized_size) {
5735 if (na->initialized_size < na->data_size)
5736 memset((u8*)a + val_ofs + na->initialized_size, 0,
5737 na->data_size - na->initialized_size);
5761 na->initialized_size = na->data_size;
6445 if (newsize < na->initialized_size) {
6446 na->initialized_size = newsize;
6447 ctx->attr->initialized_size = cpu_to_sle64(newsize);
6828 fullsize = (na->initialized_size
6895 na->initialized_size = na->data_size = pos;
6899 if ((pos ^ na->initialized_size)
6901 begin_size = ((na->initialized_size - 1)
6903 + 1 - na->initialized_size;
6908 begin_size = size = pos - na->initialized_size;
6920 na->initialized_size, begin_size, buf)
6925 && ((na->initialized_size + end_size) < pos)
6930 na->initialized_size
6935 na->initialized_size, end_size, buf)
6944 if (!ret && (na->initialized_size != pos)) {
6947 (long long)pos, (long long)na->initialized_size);
7131 && (sle64_to_cpu(a->initialized_size) > offset)) {
7132 a->initialized_size = cpu_to_sle64(offset);
7133 a->data_size = a->initialized_size;