Lines Matching refs:nres
226 if (attr->nres.svcn) in ni_find_attr()
228 } else if (le64_to_cpu(attr->nres.svcn) > *vcn || in ni_find_attr()
229 *vcn > le64_to_cpu(attr->nres.evcn)) { in ni_find_attr()
325 if (le64_to_cpu(attr->nres.svcn) <= vcn && in ni_load_attr()
326 vcn <= le64_to_cpu(attr->nres.evcn)) in ni_load_attr()
536 svcn = le64_to_cpu(attr->nres.svcn); in ni_repack()
543 alloc = le64_to_cpu(attr->nres.alloc_size) >> in ni_repack()
551 evcn = le64_to_cpu(attr->nres.evcn); in ni_repack()
569 roff = le16_to_cpu(attr->nres.run_off); in ni_repack()
594 next_svcn = le64_to_cpu(attr_p->nres.evcn) + 1; in ni_repack()
604 attr->nres.svcn = le->vcn = cpu_to_le64(next_svcn); in ni_repack()
1234 evcn = le64_to_cpu(attr->nres.evcn); in ni_expand_mft_list()
1259 attr->nres.evcn = cpu_to_le64(svcn - 1); in ni_expand_mft_list()
1298 attr->nres.svcn = cpu_to_le64(svcn); in ni_expand_mft_list()
1299 attr->nres.evcn = cpu_to_le64(evcn); in ni_expand_mft_list()
1300 attr->nres.run_off = cpu_to_le16(SIZEOF_NONRESIDENT); in ni_expand_mft_list()
1428 attr->nres.svcn = cpu_to_le64(svcn); in ni_insert_nonresident()
1429 attr->nres.evcn = cpu_to_le64((u64)svcn + len - 1); in ni_insert_nonresident()
1435 *(__le64 *)&attr->nres.run_off = cpu_to_le64(run_off); in ni_insert_nonresident()
1437 attr->nres.alloc_size = in ni_insert_nonresident()
1439 attr->nres.data_size = attr->nres.alloc_size; in ni_insert_nonresident()
1440 attr->nres.valid_size = attr->nres.alloc_size; in ni_insert_nonresident()
1444 attr->nres.c_unit = COMPRESSION_UNIT; in ni_insert_nonresident()
1445 attr->nres.total_size = attr->nres.alloc_size; in ni_insert_nonresident()
1535 svcn = le64_to_cpu(attr->nres.svcn); in ni_delete_all()
1536 evcn = le64_to_cpu(attr->nres.evcn); in ni_delete_all()
1542 roff = le16_to_cpu(attr->nres.run_off); in ni_delete_all()
1692 if (attr->nres.data_size) { in ni_new_attr_flags()
1710 attr->nres.c_unit = 0; in ni_new_attr_flags()
1715 attr->nres.c_unit = NTFS_LZNT_CUNIT; in ni_new_attr_flags()
1720 attr->nres.c_unit = 0; in ni_new_attr_flags()
1723 attr->nres.run_off = attr->name_off; in ni_new_attr_flags()
1747 } else if (le64_to_cpu(attr->nres.data_size) >= in ni_parse_reparse()
1894 alloc_size = le64_to_cpu(attr->nres.alloc_size); in ni_fiemap()
1952 ni, attr, vcn >> attr->nres.c_unit, &clst_data); in ni_fiemap()
2236 svcn = le64_to_cpu(attr->nres.svcn); in ni_decompress_file()
2237 evcn = le64_to_cpu(attr->nres.evcn); in ni_decompress_file()
2243 roff = le16_to_cpu(attr->nres.run_off); in ni_decompress_file()
2279 u16 roff = le16_to_cpu(attr->nres.run_off); in ni_decompress_file()
2285 attr->nres.run_off = cpu_to_le16(roff - 8); in ni_decompress_file()
2286 attr->nres.c_unit = 0; in ni_decompress_file()
2535 if (attr->nres.c_unit != NTFS_LZNT_CUNIT) { in ni_read_frame()
2541 run_truncate_around(run, le64_to_cpu(attr->nres.svcn)); in ni_read_frame()
2713 if (attr->nres.c_unit != NTFS_LZNT_CUNIT) { in ni_write_frame()
2792 run_truncate_around(&ni->file.run, le64_to_cpu(attr->nres.svcn)); in ni_write_frame()
3079 u64 data_size = le64_to_cpu(attr->nres.data_size); in ni_update_parent()
3083 ? attr->nres.total_size in ni_update_parent()
3084 : attr->nres.alloc_size; in ni_update_parent()
3085 dup->data_size = attr->nres.data_size; in ni_update_parent()
3091 if (valid_le != attr->nres.valid_size) { in ni_update_parent()
3092 attr->nres.valid_size = valid_le; in ni_update_parent()