Lines Matching refs:le16_to_cpu
266 if (le16_to_cpu(m->attrs_offset) & 7) { in ntfs_mft_record_check()
272 a = (ATTR_RECORD *)((char *)m + le16_to_cpu(m->attrs_offset)); in ntfs_mft_record_check()
280 offset = le16_to_cpu(m->attrs_offset); in ntfs_mft_record_check()
371 if (MSEQNO(mref) && MSEQNO(mref) != le16_to_cpu(m->sequence_number)) { in ntfs_file_record_read()
374 le16_to_cpu(m->sequence_number)); in ntfs_file_record_read()
380 *attr = (ATTR_RECORD*)((char*)m + le16_to_cpu(m->attrs_offset)); in ntfs_file_record_read()
443 *(le16*)((u8*)mrec + le16_to_cpu(mrec->usa_ofs)) = const_cpu_to_le16(1); in ntfs_mft_record_layout()
448 mrec->attrs_offset = cpu_to_le16((le16_to_cpu(mrec->usa_ofs) + in ntfs_mft_record_layout()
449 (le16_to_cpu(mrec->usa_count) << 1) + 7) & ~7); in ntfs_mft_record_layout()
455 mrec->bytes_in_use = cpu_to_le32((le16_to_cpu(mrec->attrs_offset) + 8 + in ntfs_mft_record_layout()
460 a = (ATTR_RECORD*)((u8*)mrec + le16_to_cpu(mrec->attrs_offset)); in ntfs_mft_record_layout()
804 le16_to_cpu(a->mapping_pairs_offset))) { in ntfs_mft_bitmap_extend_allocation_i()
818 le16_to_cpu(a->mapping_pairs_offset), mp_size, rl2, ll, in ntfs_mft_bitmap_extend_allocation_i()
889 le16_to_cpu(a->mapping_pairs_offset), in ntfs_mft_bitmap_extend_allocation_i()
890 old_alen - le16_to_cpu(a->mapping_pairs_offset), in ntfs_mft_bitmap_extend_allocation_i()
1153 mp_size + le16_to_cpu(a->mapping_pairs_offset))) { in ntfs_mft_data_extend_allocation()
1168 (u8*)a + le16_to_cpu(a->mapping_pairs_offset), mp_size, in ntfs_mft_data_extend_allocation()
1240 le16_to_cpu(a->mapping_pairs_offset), in ntfs_mft_data_extend_allocation()
1241 old_alen - le16_to_cpu(a->mapping_pairs_offset), in ntfs_mft_data_extend_allocation()
1539 if (le16_to_cpu(m->usa_ofs) <= (NTFS_BLOCK_SIZE - 2)) in ntfs_mft_rec_alloc()
1540 usn = *(le16*)((u8*)m + (le16_to_cpu(m->usa_ofs) & -2)); in ntfs_mft_rec_alloc()
1552 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = usn; in ntfs_mft_rec_alloc()
1572 le16_to_cpu(base_ni->mrec->sequence_number)); in ntfs_mft_rec_alloc()
1863 usa_ofs = le16_to_cpu(m->usa_ofs); in ntfs_mft_record_alloc()
1877 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = usn; in ntfs_mft_record_alloc()
1898 le16_to_cpu(base_ni->mrec->sequence_number)); in ntfs_mft_record_alloc()
1987 seq_no = le16_to_cpu(old_seq_no);
2048 usnp = (le16*)((char*)mrec + le16_to_cpu(mrec->usa_ofs));