• Home
  • Raw
  • Download

Lines Matching refs:le16_to_cpu

168 			       "this yet.\n", le16_to_cpu(a->flags));  in ntfs_get_attribute_value()
176 if (le32_to_cpu(a->value_length) + le16_to_cpu(a->value_offset) in ntfs_get_attribute_value()
181 memcpy(b, (const char*)a + le16_to_cpu(a->value_offset), in ntfs_get_attribute_value()
458 + le16_to_cpu(a->name_offset)); in ntfs_attr_open()
518 le16_to_cpu(a->flags), le32_to_cpu(na->ni->flags)); in ntfs_attr_open()
1057 val = (char*)ctx->attr + le16_to_cpu(ctx->attr->value_offset); in ntfs_attr_pread_i()
1974 val = (char*)ctx->attr + le16_to_cpu(ctx->attr->value_offset);
2904 && ((le16_to_cpu(a->name_offset)
2914 le16_to_cpu(a->name_offset)),
2940 rc = memcmp(val, (char*)a +le16_to_cpu(a->value_offset),
3119 || (le16_to_cpu(ctx->al_entry->length) & 7)
3120 || (le16_to_cpu(ctx->al_entry->length)
3125 le16_to_cpu(ctx->al_entry->length));
3158 le16_to_cpu(ctx->mrec->attrs_offset));
3196 || ((u8*)al_entry + le16_to_cpu(al_entry->length) > al_end)
3197 || (le16_to_cpu(al_entry->length) & 7)
3198 || (le16_to_cpu(al_entry->length)
3207 le16_to_cpu(al_entry->length));
3255 (u8*)next_al_entry + le16_to_cpu(
3271 le16_to_cpu(
3300 le16_to_cpu(ctx->mrec->attrs_offset));
3342 le16_to_cpu(a->name_offset)),
3355 !memcmp((char*)a + le16_to_cpu(a->value_offset),
3400 le16_to_cpu(ctx->mrec->attrs_offset));
3457 || (le16_to_cpu(a->mapping_pairs_offset)
3460 && (((u32)le16_to_cpu(a->name_offset)
3477 && ((le16_to_cpu(a->value_offset)
3481 && (((u32)le16_to_cpu(a->name_offset)
3508 + le16_to_cpu(a->value_offset));
3526 le16_to_cpu(a->value_offset));
3753 ctx->attr = (ATTR_RECORD*)((u8*)mrec + le16_to_cpu(mrec->attrs_offset));
3778 le16_to_cpu(ctx->mrec->attrs_offset));
4109 (long long) ni->mft_no, (unsigned) le32_to_cpu(type), (unsigned) le16_to_cpu(data_flags));
4170 memcpy((u8*)a + le16_to_cpu(a->value_offset), val, size);
4172 memset((u8*)a + le16_to_cpu(a->value_offset), 0, size);
4178 memcpy((u8*)a + le16_to_cpu(a->name_offset),
4181 cpu_to_le16((le16_to_cpu(m->next_attr_instance) + 1) & 0xffff);
4243 (long long) lowest_vcn, dataruns_size, (unsigned) le16_to_cpu(flags));
4314 *((u8*)a + le16_to_cpu(a->mapping_pairs_offset)) = 0;
4317 memcpy((u8*)a + le16_to_cpu(a->name_offset),
4320 cpu_to_le16((le16_to_cpu(m->next_attr_instance) + 1) & 0xffff);
4424 le16_to_cpu(ctx->mrec->attrs_offset) == 8) {
4696 le16_to_cpu(attr_ni->mrec->attrs_offset) == 8)
4892 if ((ret = ntfs_attr_record_resize(m, a, (le16_to_cpu(a->value_offset) +
4900 memset((u8*)a + le16_to_cpu(a->value_offset) +
4957 if (!ntfs_attr_find(a->type, (ntfschar*)((u8*)a + le16_to_cpu(
4981 (le16_to_cpu(nctx->mrec->next_attr_instance) + 1) & 0xffff);
4988 MK_LE_MREF(ni->mft_no, le16_to_cpu(ni->mrec->sequence_number));
5172 (u8*)a + le16_to_cpu(a->value_offset));
5218 memmove((u8*)a + name_ofs, (u8*)a + le16_to_cpu(a->name_offset),
5422 le16_to_cpu(a->name_offset)), a->name_length);
5497 le16_to_cpu(ctx->mrec->attrs_offset) +
5670 memmove((u8*)a + name_ofs, (u8*)a + le16_to_cpu(a->name_offset),
5806 le16_to_cpu(a->mapping_pairs_offset) == 8)
5823 if (!(le32_to_cpu(a->length) - le16_to_cpu(
5836 memmove((u8*)a + le16_to_cpu(a->name_offset) + 8,
5837 (u8*)a + le16_to_cpu(a->name_offset),
5840 a->name_offset = cpu_to_le16(le16_to_cpu(a->name_offset) + 8);
5843 cpu_to_le16(le16_to_cpu(a->mapping_pairs_offset) + 8);
5855 memmove((u8*)a + le16_to_cpu(a->name_offset) - 8,
5856 (u8*)a + le16_to_cpu(a->name_offset),
5859 if (le16_to_cpu(a->name_offset) >= 8)
5860 a->name_offset = cpu_to_le16(le16_to_cpu(a->name_offset) - 8);
5863 cpu_to_le16(le16_to_cpu(a->mapping_pairs_offset) - 8);
6062 le16_to_cpu(a->mapping_pairs_offset);
6117 le16_to_cpu(a->mapping_pairs_offset) +
6139 if (!ntfs_mapping_pairs_build(na->ni->vol, (u8*)a + le16_to_cpu(
6265 le16_to_cpu(a->mapping_pairs_offset), mp_size, na->rl,