Lines Matching refs:le32_to_cpu
1019 pos > (char*)m + le32_to_cpu(m->bytes_allocated) || in make_room_for_attribute()
1020 pos + size > (char*)m + le32_to_cpu(m->bytes_allocated)) in make_room_for_attribute()
1023 if (pos - (char*)m > (int)le32_to_cpu(m->bytes_in_use) - 8) in make_room_for_attribute()
1026 biu = le32_to_cpu(m->bytes_in_use); in make_room_for_attribute()
1028 if (biu + size > le32_to_cpu(m->bytes_allocated)) in make_room_for_attribute()
1230 le32_to_cpu(ctx->attr->length)); in mkntfs_attr_find()
1232 for (;; a = (ATTR_RECORD*)((char*)a + le32_to_cpu(a->length))) { in mkntfs_attr_find()
1234 le32_to_cpu(ctx->mrec->bytes_allocated)) in mkntfs_attr_find()
1237 if (((type != AT_UNUSED) && (le32_to_cpu(a->type) > in mkntfs_attr_find()
1238 le32_to_cpu(type))) || in mkntfs_attr_find()
1307 le32_to_cpu(a->value_length))); in mkntfs_attr_find()
1314 avl = le32_to_cpu(a->value_length); in mkntfs_attr_find()
2124 if (le32_to_cpu(m->bytes_in_use) + 24 + sd_len > in add_attr_sd()
2125 le32_to_cpu(m->bytes_allocated)) in add_attr_sd()
2162 if (le32_to_cpu(m->bytes_in_use) + 24 + val_len > in add_attr_data()
2163 min(le32_to_cpu(m->bytes_allocated), in add_attr_data()
2164 le32_to_cpu(m->bytes_allocated) - 512)) in add_attr_data()
2324 le32_to_cpu(r->index.entries_offset)); in add_attr_index_root()
2375 if (le32_to_cpu(m->bytes_in_use) + 24 + bitmap_len > in add_attr_bitmap()
2376 le32_to_cpu(m->bytes_allocated)) in add_attr_bitmap()
2468 re_end = (char*)r + le32_to_cpu(a->value_length); in upgrade_to_large_index()
2469 re_start = (char*)&r->index + le32_to_cpu(r->index.entries_offset); in upgrade_to_large_index()
2471 index_block_size = le32_to_cpu(r->index_block_size); in upgrade_to_large_index()
2517 le32_to_cpu(ia_val->index.entries_offset), re_start, i); in upgrade_to_large_index()
2520 le32_to_cpu(ia_val->index.entries_offset)); in upgrade_to_large_index()
2531 r->index.index_length = cpu_to_le32(le32_to_cpu(r->index.entries_offset) in upgrade_to_large_index()
2537 le32_to_cpu(r->index.allocated_size))) { in upgrade_to_large_index()
2599 le32_to_cpu(idx->index.allocated_size) || in make_room_for_index_entry_in_index_block()
2602 le32_to_cpu(idx->index.allocated_size)) in make_room_for_index_entry_in_index_block()
2606 (int)le32_to_cpu(idx->index.index_length) in make_room_for_index_entry_in_index_block()
2610 biu = le32_to_cpu(idx->index.index_length); in make_room_for_index_entry_in_index_block()
2612 if (biu + size > le32_to_cpu(idx->index.allocated_size)) in make_room_for_index_entry_in_index_block()
2666 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->hash); in ntfs_index_keys_compare()
2667 u2 = le32_to_cpu(((SDH_INDEX_KEY*)key2)->hash); in ntfs_index_keys_compare()
2673 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->security_id); in ntfs_index_keys_compare()
2674 u2 = le32_to_cpu(((SDH_INDEX_KEY*)key2)->security_id); in ntfs_index_keys_compare()
2715 if (g_vol->mft_record_size > idx_size + le32_to_cpu(m->bytes_allocated)) in insert_index_entry_in_res_dir_index()
2737 le32_to_cpu(idx_header->entries_offset)); in insert_index_entry_in_res_dir_index()
2739 le32_to_cpu(idx_header->index_length)); in insert_index_entry_in_res_dir_index()
2807 le32_to_cpu(m->bytes_in_use) - in insert_index_entry_in_res_dir_index()
2811 m->bytes_in_use = cpu_to_le32(le32_to_cpu(m->bytes_in_use) + idx_size); in insert_index_entry_in_res_dir_index()
2812 a->length = cpu_to_le32(le32_to_cpu(a->length) + idx_size); in insert_index_entry_in_res_dir_index()
2813 a->value_length = cpu_to_le32(le32_to_cpu(a->value_length) + idx_size); in insert_index_entry_in_res_dir_index()
2815 le32_to_cpu(idx_header->index_length) + idx_size); in insert_index_entry_in_res_dir_index()
2817 le32_to_cpu(idx_header->allocated_size) + idx_size); in insert_index_entry_in_res_dir_index()
2895 ((le32_to_cpu(sds_header->length) + 15) & ~15)); in initialize_secure()
3033 index_end = (char*)&idx->index + le32_to_cpu(idx->index.index_length); in insert_file_link_in_dir_index()
3035 le32_to_cpu(idx->index.entries_offset)); in insert_file_link_in_dir_index()
4267 le32_to_cpu(idx->index.allocated_size); in mkntfs_sync_index_record()
4529 le32_to_cpu(a->value_length)); in mkntfs_create_root_structures()