Lines Matching refs:cpu_to_le16
1551 a->name_offset = cpu_to_le16(hdr_size); in insert_positioned_attr_in_mft_record()
1554 m->next_attr_instance = cpu_to_le16((le16_to_cpu(m->next_attr_instance) in insert_positioned_attr_in_mft_record()
1558 a->mapping_pairs_offset = cpu_to_le16(hdr_size + ((name_len + 7) & ~7)); in insert_positioned_attr_in_mft_record()
1744 a->name_offset = cpu_to_le16(hdr_size); in insert_non_resident_attr_in_mft_record()
1747 m->next_attr_instance = cpu_to_le16((le16_to_cpu(m->next_attr_instance) in insert_non_resident_attr_in_mft_record()
1753 a->mapping_pairs_offset = cpu_to_le16(hdr_size + ((name_len + 7) & ~7)); in insert_non_resident_attr_in_mft_record()
1894 m->next_attr_instance = cpu_to_le16((le16_to_cpu(m->next_attr_instance) in insert_resident_attr_in_mft_record()
1897 a->value_offset = cpu_to_le16(24 + ((name_len*2 + 7) & ~7)); in insert_resident_attr_in_mft_record()
2058 fn->packed_ea_size = cpu_to_le16(packed_ea_size); in add_attr_file_name()
2487 ia_val->usa_count = cpu_to_le16(index_block_size / in upgrade_to_large_index()
2530 re->length = cpu_to_le16(le16_to_cpu(re->length) + sizeof(VCN)); in upgrade_to_large_index()
3135 ie->length = cpu_to_le16(i); in insert_file_link_in_dir_index()
3136 ie->key_length = cpu_to_le16(file_name_size); in insert_file_link_in_dir_index()
3192 fn->packed_ea_size = cpu_to_le16(packed_ea_size); in create_hardlink_res()
3218 m_file->link_count = cpu_to_le16(i + 1); in create_hardlink_res()
3228 m_file->link_count = cpu_to_le16( in create_hardlink_res()
3238 idx_entry_new->length = cpu_to_le16(idx_size + 0x10); in create_hardlink_res()
3239 idx_entry_new->key_length = cpu_to_le16(fn_size); in create_hardlink_res()
3250 m_file->link_count = cpu_to_le16( in create_hardlink_res()
3307 fn->packed_ea_size = cpu_to_le16(packed_ea_size); in create_hardlink()
3333 m_file->link_count = cpu_to_le16(i + 1); in create_hardlink()
3343 m_file->link_count = cpu_to_le16( in create_hardlink()
3355 m_file->link_count = cpu_to_le16( in create_hardlink()
3391 idx_entry_new->data_offset = cpu_to_le16(data_ofs); in index_obj_id_insert()
3394 idx_entry_new->length = cpu_to_le16(idx_size); in index_obj_id_insert()
4421 m->sequence_number = cpu_to_le16(i); in mkntfs_create_root_structures()
4437 m->sequence_number = cpu_to_le16(i); in mkntfs_create_root_structures()
4490 m->link_count = cpu_to_le16(le16_to_cpu(m->link_count) + 1); in mkntfs_create_root_structures()
4646 bs->bpb.bytes_per_sector = cpu_to_le16(opts.sector_size); in mkntfs_create_root_structures()
4653 bs->bpb.sectors_per_track = cpu_to_le16(opts.sectors_per_track); in mkntfs_create_root_structures()
4656 bs->bpb.heads = cpu_to_le16(opts.heads); in mkntfs_create_root_structures()