Lines Matching refs:le16_to_cpu

114 			       "this yet.\n", le16_to_cpu(a->flags));
122 if (le32_to_cpu(a->u.res.value_length) + le16_to_cpu(a->u.res.value_offset)
127 memcpy(b, (const char*)a + le16_to_cpu(a->u.res.value_offset),
416 name = ntfs_ucsndup((ntfschar*)((u8*)a + le16_to_cpu(
918 val = (char*)ctx->attr + le16_to_cpu(ctx->attr->u.res.value_offset);
1099 val = (char*)ctx->attr + le16_to_cpu(ctx->attr->u.res.value_offset);
1734 (ntfschar*)((char*)a + le16_to_cpu(a->name_offset)),
1740 le16_to_cpu(a->name_offset)),
1756 le16_to_cpu(a->name_offset)),
1777 rc = memcmp(val, (char*)a +le16_to_cpu(a->u.res.value_offset),
1926 le16_to_cpu(ctx->al_entry->length));
1952 le16_to_cpu(ctx->mrec->attrs_offset));
1993 le16_to_cpu(al_entry->length) > al_end)
1996 le16_to_cpu(al_entry->length));
2060 (u8*)next_al_entry + le16_to_cpu(
2076 le16_to_cpu(
2102 le16_to_cpu(ctx->mrec->attrs_offset));
2138 le16_to_cpu(a->name_offset)),
2151 !memcmp((char*)a + le16_to_cpu(a->u.res.value_offset),
2194 le16_to_cpu(ctx->mrec->attrs_offset));
2325 ctx->attr = (ATTR_RECORD*)((u8*)mrec + le16_to_cpu(mrec->attrs_offset));
2350 le16_to_cpu(ctx->mrec->attrs_offset));
2641 (long long) ni->mft_no, le32_to_cpu(type), le16_to_cpu(flags));
2700 memcpy((u8*)a + le16_to_cpu(a->u.res.value_offset), val, size);
2702 memset((u8*)a + le16_to_cpu(a->u.res.value_offset), 0, size);
2708 memcpy((u8*)a + le16_to_cpu(a->name_offset),
2711 cpu_to_le16((le16_to_cpu(m->next_attr_instance) + 1) & 0xffff);
2767 le16_to_cpu(flags));
2837 *((u8*)a + le16_to_cpu(a->u.nonres.mapping_pairs_offset)) = 0;
2840 memcpy((u8*)a + le16_to_cpu(a->name_offset),
2843 cpu_to_le16((le16_to_cpu(m->next_attr_instance) + 1) & 0xffff);
2951 le16_to_cpu(ctx->mrec->attrs_offset) == 8) {
3245 le16_to_cpu(attr_ni->mrec->attrs_offset) == 8) {
3387 if (a->name_length && le16_to_cpu(a->name_offset) >=
3388 le16_to_cpu(a->u.res.value_offset)) {
3395 if (ntfs_attr_record_resize(m, a, (le16_to_cpu(a->u.res.value_offset) +
3410 memset((u8*)a + le16_to_cpu(a->u.res.value_offset) +
3468 if (!ntfs_attr_find(a->type, (ntfschar*)((u8*)a + le16_to_cpu(
3492 (le16_to_cpu(nctx->mrec->next_attr_instance) + 1) & 0xffff);
3499 MK_LE_MREF(ni->mft_no, le16_to_cpu(ni->mrec->sequence_number));
3642 if (a->name_length && le16_to_cpu(a->name_offset) >=
3643 le16_to_cpu(a->u.res.value_offset)) {
3685 (u8*)a + le16_to_cpu(a->u.res.value_offset));
3729 memmove((u8*)a + name_ofs, (u8*)a + le16_to_cpu(a->name_offset),
3891 le16_to_cpu(a->name_offset)), a->name_length);
3949 le16_to_cpu(ctx->attr->u.res.value_offset));
3961 le16_to_cpu(ctx->mrec->attrs_offset) +
4073 if (a->name_length && le16_to_cpu(a->name_offset) >=
4074 le16_to_cpu(a->u.nonres.mapping_pairs_offset)) {
4107 memmove((u8*)a + name_ofs, (u8*)a + le16_to_cpu(a->name_offset),
4317 if (le16_to_cpu(a->name_offset) >=
4318 le16_to_cpu(a->u.nonres.mapping_pairs_offset)) {
4380 if ((le32_to_cpu(a->length) - le16_to_cpu(
4403 if (!(le32_to_cpu(a->length) - le16_to_cpu(
4418 memmove((u8*)a + le16_to_cpu(a->name_offset) +
4419 8, (u8*)a + le16_to_cpu(a->name_offset),
4421 a->name_offset = cpu_to_le16(le16_to_cpu(
4424 cpu_to_le16(le16_to_cpu(
4438 memmove((u8*)a + le16_to_cpu(a->name_offset) -
4439 8, (u8*)a + le16_to_cpu(a->name_offset),
4448 if (le16_to_cpu(a->name_offset) >= 8)
4450 le16_to_cpu(
4453 cpu_to_le16(le16_to_cpu(
4519 le16_to_cpu(a->u.nonres.mapping_pairs_offset);
4574 le16_to_cpu(a->u.nonres.mapping_pairs_offset) +
4601 if (!ntfs_mapping_pairs_build(na->ni->vol, (u8*)a + le16_to_cpu(
4705 le16_to_cpu(a->u.nonres.mapping_pairs_offset), mp_size, na->rl,