Home
last modified time | relevance | path

Searched refs:cpu_to_sle64 (Results 1 – 17 of 17) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dmft.c826 a->highest_vcn = cpu_to_sle64(rl[1].vcn - 1); in ntfs_mft_bitmap_extend_allocation_i()
848 a->allocated_size = cpu_to_sle64(mftbmp_na->allocated_size); in ntfs_mft_bitmap_extend_allocation_i()
872 a->highest_vcn = cpu_to_sle64(rl[1].vcn - 2); in ntfs_mft_bitmap_extend_allocation_i()
968 a->initialized_size = cpu_to_sle64(mftbmp_na->initialized_size); in ntfs_mft_bitmap_extend_initialized()
971 a->data_size = cpu_to_sle64(mftbmp_na->data_size); in ntfs_mft_bitmap_extend_initialized()
1004 a->initialized_size = cpu_to_sle64(old_initialized_size); in ntfs_mft_bitmap_extend_initialized()
1007 a->data_size = cpu_to_sle64(old_data_size); in ntfs_mft_bitmap_extend_initialized()
1176 a->highest_vcn = cpu_to_sle64(rl[1].vcn - 1); in ntfs_mft_data_extend_allocation()
1200 a->allocated_size = cpu_to_sle64(mft_na->allocated_size); in ntfs_mft_data_extend_allocation()
1228 a->highest_vcn = cpu_to_sle64(old_last_vcn - 1); in ntfs_mft_data_extend_allocation()
[all …]
Dinode.c883 fnx->allocated_size = cpu_to_sle64(ni->allocated_size); in ntfs_inode_sync_file_name()
884 fnx->data_size = cpu_to_sle64(ni->data_size); in ntfs_inode_sync_file_name()
1558 std_info->creation_time = cpu_to_sle64(times[0]); in ntfs_inode_set_times()
1562 std_info->last_data_change_time = cpu_to_sle64(times[1]); in ntfs_inode_set_times()
1567 std_info->last_access_time = cpu_to_sle64(times[2]); in ntfs_inode_set_times()
1585 = cpu_to_sle64(times[0]); in ntfs_inode_set_times()
1588 = cpu_to_sle64(times[1]); in ntfs_inode_set_times()
1591 = cpu_to_sle64(times[2]); in ntfs_inode_set_times()
Dattrib.c2062 ctx->attr->initialized_size = cpu_to_sle64(pos + count);
2075 cpu_to_sle64(old_initialized_size);
2360 ctx->attr->initialized_size = cpu_to_sle64(
4303 a->lowest_vcn = cpu_to_sle64(lowest_vcn);
5224 a->highest_vcn = cpu_to_sle64((new_allocated_size - 1) >>
5249 a->allocated_size = cpu_to_sle64(new_allocated_size);
5250 a->data_size = a->initialized_size = cpu_to_sle64(na->data_size);
5783 a->allocated_size = cpu_to_sle64(na->allocated_size);
5876 a->compressed_size = cpu_to_sle64(new_compr_size);
6046 a->highest_vcn = cpu_to_sle64(NTFS_VCN_DELETE_MARK);
[all …]
Defs.c418 ctx->attr->data_size = cpu_to_sle64(newsize); in ntfs_efs_fixup_attribute()
Ddir.c1715 fn->data_size = cpu_to_sle64(ni->data_size); in __ntfs_create()
1716 fn->allocated_size = cpu_to_sle64(ni->allocated_size); in __ntfs_create()
2241 fn->allocated_size = cpu_to_sle64(ni->allocated_size); in ntfs_link_i()
2242 fn->data_size = cpu_to_sle64(ni->data_size); in ntfs_link_i()
Dindex.c341 *ntfs_ie_get_vcn_addr(ie) = cpu_to_sle64(vcn); in ntfs_ie_set_vcn()
923 ib->index_block_vcn = cpu_to_sle64(ib_vcn); in ntfs_ib_alloc()
/third_party/ntfs-3g/ntfsprogs/
Dntfsfallocate.c712 attr->data_size = cpu_to_sle64(na->data_size); in ntfs_full_allocation()
714 = cpu_to_sle64(na->initialized_size); in ntfs_full_allocation()
716 = cpu_to_sle64(na->allocated_size); in ntfs_full_allocation()
719 = cpu_to_sle64(na->compressed_size); in ntfs_full_allocation()
Dntfscp.c626 attr->data_size = cpu_to_sle64(na->data_size); in set_sizes()
627 attr->initialized_size = cpu_to_sle64(na->initialized_size); in set_sizes()
628 attr->allocated_size = cpu_to_sle64(na->allocated_size); in set_sizes()
630 attr->compressed_size = cpu_to_sle64(na->compressed_size); in set_sizes()
1158 out->last_data_change_time = cpu_to_sle64(change_time); in main()
Dntfsresize.c2447 ctx->attr->data_size = cpu_to_sle64(na->data_size); in truncate_badclust_bad_attr()
2448 ctx->attr->initialized_size = cpu_to_sle64(na->initialized_size); in truncate_badclust_bad_attr()
2539 a->highest_vcn = cpu_to_sle64(nr_bm_clusters - 1LL); in truncate_bitmap_data_attr()
2540 a->allocated_size = cpu_to_sle64(nr_bm_clusters * vol->cluster_size); in truncate_bitmap_data_attr()
2541 a->data_size = cpu_to_sle64(bm_bsize); in truncate_bitmap_data_attr()
2542 a->initialized_size = cpu_to_sle64(bm_bsize); in truncate_bitmap_data_attr()
2768 bs->number_of_sectors = cpu_to_sle64(r->new_volume_size in update_bootsector()
2771 bs->number_of_sectors = cpu_to_sle64(r->new_volume_size * in update_bootsector()
2794 bs->mftmirr_lcn = cpu_to_sle64(r->mftmir_rl.lcn); in update_bootsector()
2799 bs->mft_lcn = cpu_to_sle64(r->new_mft_start->lcn); in update_bootsector()
[all …]
Dmkntfs.c1557 a->highest_vcn = cpu_to_sle64(highest_vcn - 1LL); in insert_positioned_attr_in_mft_record()
1561 a->allocated_size = cpu_to_sle64(highest_vcn * g_vol->cluster_size); in insert_positioned_attr_in_mft_record()
1562 a->data_size = cpu_to_sle64(val_len); in insert_positioned_attr_in_mft_record()
1597 a->initialized_size = cpu_to_sle64(inited_size); in insert_positioned_attr_in_mft_record()
1752 a->highest_vcn = cpu_to_sle64(rl[i].vcn - 1); in insert_non_resident_attr_in_mft_record()
1756 a->allocated_size = cpu_to_sle64((val_len + (g_vol->cluster_size - 1)) & in insert_non_resident_attr_in_mft_record()
1758 a->data_size = cpu_to_sle64(val_len); in insert_non_resident_attr_in_mft_record()
1759 a->initialized_size = cpu_to_sle64(val_len); in insert_non_resident_attr_in_mft_record()
2049 fn->allocated_size = cpu_to_sle64(allocated_size); in add_attr_file_name()
2050 fn->data_size = cpu_to_sle64(data_size); in add_attr_file_name()
[all …]
Dntfsfix.c359 ctx->attr->data_size = cpu_to_sle64(na->data_size); in clear_sparse()
361 = cpu_to_sle64(na->initialized_size); in clear_sparse()
913 levcn = cpu_to_sle64(vcn); in attrlist_selfloc_condition()
1249 bs->number_of_sectors = cpu_to_sle64(fix_sectors); in try_fix_boot()
Dntfsclone.c901 count = cpu_to_sle64(gap);
916 count_buf = cpu_to_sle64(count);
2410 image_hdr.device_size = cpu_to_sle64(image_hdr.device_size);
2411 image_hdr.nr_clusters = cpu_to_sle64(image_hdr.nr_clusters);
2412 image_hdr.inuse = cpu_to_sle64(image_hdr.inuse);
2486 image_hdr.nr_clusters = cpu_to_sle64(vol->nr_clusters);
Dplaylog.c814 attr->highest_vcn = cpu_to_sle64(high_vcn); in adjust_high_vcn()
1667 attr->allocated_size = cpu_to_sle64(xsize); in insert_index_allocation()
1805 indx->index_block_vcn = cpu_to_sle64(vcn); in create_indx()
Dntfsrecover.c3017 client.oldest_lsn = cpu_to_sle64(restart_lsn); in reset_logfile()
/third_party/ntfs-3g/include/ntfs-3g/
Dntfstime.h105 return (cpu_to_sle64(units)); in timespec2ntfs()
Dendians.h225 #define cpu_to_sle64(x) (s64)__cpu_to_le64((s64)(x)) macro
/third_party/ntfs-3g/src/
Dntfs-3g.c626 ni->creation_time = cpu_to_sle64(tv->tv_sec); in ntfs_macfuse_setcrtime()
668 ni->last_mft_change_time = cpu_to_sle64(tv->tv_sec); in ntfs_macfuse_setchgtime()