/third_party/ntfs-3g/libntfs-3g/ |
D | runlist.c | 551 while (srl[si].length && srl[si].lcn < (LCN)LCN_HOLE) in ntfs_runlists_merge_i() 589 if (srl[send].lcn == (LCN)LCN_ENOENT) in ntfs_runlists_merge_i() 649 drl[ds].lcn = (LCN)LCN_ENOENT; in ntfs_runlists_merge_i() 657 if (drl[ds].lcn == (LCN)LCN_ENOENT) { in ntfs_runlists_merge_i() 661 if (drl[ds].lcn != (LCN)LCN_RL_NOT_MAPPED) { in ntfs_runlists_merge_i() 677 drl[ds].lcn = (LCN)LCN_RL_NOT_MAPPED; in ntfs_runlists_merge_i() 693 drl[ds].lcn = (LCN)LCN_ENOENT; in ntfs_runlists_merge_i() 787 LCN lcn; /* Current lcn. */ in ntfs_mapping_pairs_decompress_i() 826 rl->lcn = (LCN)LCN_RL_NOT_MAPPED; in ntfs_mapping_pairs_decompress_i() 889 rl[rlpos].lcn = (LCN)LCN_HOLE; in ntfs_mapping_pairs_decompress_i() [all …]
|
D | lcnalloc.c | 64 static void ntfs_cluster_set_zone_pos(LCN start, LCN end, LCN *pos, LCN tc) in ntfs_cluster_set_zone_pos() 74 static void ntfs_cluster_update_zone_pos(ntfs_volume *vol, u8 zone, LCN tc) in ntfs_cluster_update_zone_pos() 95 static void update_full_status(ntfs_volume *vol, LCN lcn) in update_full_status() 236 LCN start_lcn, const NTFS_CLUSTER_ALLOCATION_ZONES zone) in ntfs_cluster_alloc() 238 LCN zone_start, zone_end; /* current search range */ in ntfs_cluster_alloc() 239 LCN last_read_pos, lcn; in ntfs_cluster_alloc() 240 LCN bmp_pos; /* current bit position inside the bitmap */ in ntfs_cluster_alloc() 241 LCN prev_lcn = 0, prev_run_len = 0; in ntfs_cluster_alloc() 478 LCN tc = rl[rlpos - 1].lcn + in ntfs_cluster_alloc()
|
D | ioctl.c | 89 static int fstrim_clusters(ntfs_volume *vol, LCN lcn, s64 length) in fstrim_clusters() 229 static inline LCN align_up(ntfs_volume *vol, LCN lcn, u64 granularity) in align_up() 263 LCN start_buf; in fstrim() 322 LCN end_buf, start_lcn; in fstrim() 347 LCN end_lcn; in fstrim() 348 LCN aligned_lcn; in fstrim()
|
D | debug.c | 59 LCN lcn = (rl + i)->lcn; in ntfs_debug_runlist_dump() 61 if (lcn < (LCN)0) { in ntfs_debug_runlist_dump()
|
D | attrib.c | 613 LCN lcn; in ntfs_attr_map_runlist() 878 LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn) in ntfs_attr_vcn_to_lcn() 880 LCN lcn; in ntfs_attr_vcn_to_lcn() 884 return (LCN)LCN_EINVAL; in ntfs_attr_vcn_to_lcn() 902 if (!is_retry || lcn == (LCN)LCN_RL_NOT_MAPPED) in ntfs_attr_vcn_to_lcn() 903 return (LCN)LCN_EIO; in ntfs_attr_vcn_to_lcn() 949 if (rl->lcn >= (LCN)LCN_HOLE) in ntfs_attr_find_vcn() 956 case (LCN)LCN_RL_NOT_MAPPED: in ntfs_attr_find_vcn() 958 case (LCN)LCN_ENOENT: in ntfs_attr_find_vcn() 961 case (LCN)LCN_EINVAL: in ntfs_attr_find_vcn() [all …]
|
D | compress.c | 1761 if (brl->lcn == (LCN)LCN_HOLE) { in ntfs_compressed_pwrite() 1924 if (brl->lcn == (LCN)LCN_HOLE) { in ntfs_compressed_close()
|
D | mft.c | 717 LCN lcn; in ntfs_mft_bitmap_extend_allocation_i() 1038 LCN lcn; in ntfs_mft_data_extend_allocation()
|
D | volume.c | 504 LCN mft_zone_size, mft_lcn; in ntfs_volume_startup()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | volume.h | 210 LCN mft_zone_start; /* First cluster of the mft zone. */ 211 LCN mft_zone_end; /* First cluster beyond the mft zone. */ 212 LCN mft_zone_pos; /* Current position in the mft zone. */ 213 LCN data1_zone_pos; /* Current position in the first data zone. */ 214 LCN data2_zone_pos; /* Current position in the second data zone. */ 225 LCN mft_lcn; /* Logical cluster number of the data attribute 244 LCN mftmirr_lcn; /* Logical cluster number of the data attribute
|
D | runlist.h | 48 LCN lcn; /* lcn = Starting logical cluster number. */ 55 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn);
|
D | lcnalloc.h | 42 LCN start_lcn, const NTFS_CLUSTER_ALLOCATION_ZONES zone);
|
D | types.h | 76 typedef s64 LCN; typedef
|
D | attrib.h | 316 extern LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn);
|
/third_party/ntfs-3g/ntfsprogs/ |
D | cluster.c | 44 int cluster_find(ntfs_volume *vol, LCN c_begin, LCN c_end, cluster_cb *cb, void *data) in cluster_find() 92 LCN a_begin = runs[j].lcn; in cluster_find() 93 LCN a_end = a_begin + runs[j].length - 1; in cluster_find()
|
D | cluster.h | 36 int cluster_find(ntfs_volume *vol, LCN c_begin, LCN c_end, cluster_cb *cb, void *data);
|
D | playlog.c | 77 LCN lcn; 138 static struct STORE *getclusterentry(LCN lcn, BOOL create) in getclusterentry() 429 LCN lcn; in read_raw() 497 LCN lcn; in write_raw() 551 LCN lcn; in write_mirr() 587 LCN lcn; in read_protected() 865 LCN lcn; in change_resident() 920 LCN lcn; in change_resident_expect() 972 LCN lcn; in change_index_value() 1018 LCN lcn; in add_resident() [all …]
|
D | ntfscluster.h | 55 LCN lcn; /* Last cluster in use */
|
D | ntfsmove.c | 278 LCN lcn = rl->lcn; 292 if (lcn < (LCN)0) {
|
D | mkntfs.c | 164 LCN lcn; /* first allocated cluster */ 348 static BOOL bitmap_allocate(LCN lcn, s64 length) in bitmap_allocate() 398 static BOOL bitmap_deallocate(LCN lcn, s64 length) in bitmap_deallocate() 403 LCN first, last; in bitmap_deallocate() 452 static int bitmap_get_and_set(LCN lcn, unsigned long length) in bitmap_get_and_set() 483 static void bitmap_build(u8 *buf, LCN lcn, s64 length) in bitmap_build() 486 LCN first, last; in bitmap_build() 1074 LCN lcn, end, prev_lcn = 0LL; in allocate_scattered_clusters()
|
D | ntfsfallocate.c | 597 LCN lcn_seek_from; in ntfs_inner_allocation()
|
D | ntfsinfo.c | 1318 static const char * ntfs_dump_lcn(LCN lcn) in ntfs_dump_lcn() 1436 LCN next_lcn; in ntfs_dump_attribute_header()
|
D | ntfscp.c | 558 LCN lcn; in sort_runlist()
|
D | ntfsfix.c | 118 LCN attrlist_lcn;
|
D | ntfsresize.c | 663 static void rl_set(runlist *rl, VCN vcn, LCN lcn, s64 len) in rl_set() 3102 LCN mft_lcn;
|
D | ntfsclone.c | 190 LCN current_lcn;
|