Lines Matching refs:le32_to_cpu
607 le32_to_cpu(ctx->attr->length)); in ntfs_attr_find()
608 for (;; a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length))) { in ntfs_attr_find()
610 le32_to_cpu(ctx->mrec->bytes_allocated)) in ntfs_attr_find()
613 if (unlikely(le32_to_cpu(a->type) > le32_to_cpu(type) || in ntfs_attr_find()
670 min_t(u32, val_len, le32_to_cpu( in ntfs_attr_find()
679 avl = le32_to_cpu( in ntfs_attr_find()
915 if (le32_to_cpu(al_entry->type) > le32_to_cpu(type)) in ntfs_external_attr_find()
1046 le32_to_cpu(ctx->mrec->bytes_allocated)) in ntfs_external_attr_find()
1071 if (!val || (!a->non_resident && le32_to_cpu( in ntfs_external_attr_find()
1081 a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length)); in ntfs_external_attr_find()
1316 if (likely(le32_to_cpu(ad->type) < le32_to_cpu(type))) in ntfs_attr_find_in_attrdef()
1326 le32_to_cpu(type)); in ntfs_attr_find_in_attrdef()
1442 if (new_size != le32_to_cpu(a->length)) { in ntfs_attr_record_resize()
1443 u32 new_muse = le32_to_cpu(m->bytes_in_use) - in ntfs_attr_record_resize()
1444 le32_to_cpu(a->length) + new_size; in ntfs_attr_record_resize()
1446 if (new_muse > le32_to_cpu(m->bytes_allocated)) in ntfs_attr_record_resize()
1449 memmove((u8*)a + new_size, (u8*)a + le32_to_cpu(a->length), in ntfs_attr_record_resize()
1450 le32_to_cpu(m->bytes_in_use) - ((u8*)a - in ntfs_attr_record_resize()
1451 (u8*)m) - le32_to_cpu(a->length)); in ntfs_attr_record_resize()
1492 old_size = le32_to_cpu(a->data.resident.value_length); in ntfs_resident_attr_value_resize()
1656 attr_size = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_make_non_resident()
1778 arec_size = le32_to_cpu(a->length); in ntfs_attr_make_non_resident()
1790 (unsigned)le32_to_cpu(ni->type), in ntfs_attr_make_non_resident()
1929 (unsigned)le32_to_cpu(ni->type), in ntfs_attr_extend_allocation()
1963 le32_to_cpu(ni->type)); in ntfs_attr_extend_allocation()
1973 le32_to_cpu(ni->type)); in ntfs_attr_extend_allocation()
2044 attr_len = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_extend_allocation()
2056 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_attr_extend_allocation()
2100 (unsigned)le32_to_cpu(ni->type), err); in ntfs_attr_extend_allocation()
2194 (unsigned)le32_to_cpu(ni->type), in ntfs_attr_extend_allocation()
2230 (unsigned)le32_to_cpu(ni->type), err); in ntfs_attr_extend_allocation()
2243 (unsigned)le32_to_cpu(ni->type), err); in ntfs_attr_extend_allocation()
2276 (unsigned)le32_to_cpu(ni->type), err); in ntfs_attr_extend_allocation()
2281 attr_len = le32_to_cpu(a->length); in ntfs_attr_extend_allocation()
2311 (unsigned)le32_to_cpu(ni->type), err); in ntfs_attr_extend_allocation()
2381 (unsigned)le32_to_cpu(ni->type), err); in ntfs_attr_extend_allocation()