Home
last modified time | relevance | path

Searched refs:LCN (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ntfs-3g/libntfs-3g/
Drunlist.c551 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 …]
Dlcnalloc.c64 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()
Dioctl.c89 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()
Ddebug.c59 LCN lcn = (rl + i)->lcn; in ntfs_debug_runlist_dump()
61 if (lcn < (LCN)0) { in ntfs_debug_runlist_dump()
Dattrib.c613 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 …]
Dcompress.c1761 if (brl->lcn == (LCN)LCN_HOLE) { in ntfs_compressed_pwrite()
1924 if (brl->lcn == (LCN)LCN_HOLE) { in ntfs_compressed_close()
Dmft.c717 LCN lcn; in ntfs_mft_bitmap_extend_allocation_i()
1038 LCN lcn; in ntfs_mft_data_extend_allocation()
Dvolume.c504 LCN mft_zone_size, mft_lcn; in ntfs_volume_startup()
/third_party/ntfs-3g/include/ntfs-3g/
Dvolume.h210 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
Drunlist.h48 LCN lcn; /* lcn = Starting logical cluster number. */
55 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn);
Dlcnalloc.h42 LCN start_lcn, const NTFS_CLUSTER_ALLOCATION_ZONES zone);
Dtypes.h76 typedef s64 LCN; typedef
Dattrib.h316 extern LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn);
/third_party/ntfs-3g/ntfsprogs/
Dcluster.c44 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()
Dcluster.h36 int cluster_find(ntfs_volume *vol, LCN c_begin, LCN c_end, cluster_cb *cb, void *data);
Dplaylog.c77 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 …]
Dntfscluster.h55 LCN lcn; /* Last cluster in use */
Dntfsmove.c278 LCN lcn = rl->lcn;
292 if (lcn < (LCN)0) {
Dmkntfs.c164 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()
Dntfsfallocate.c597 LCN lcn_seek_from; in ntfs_inner_allocation()
Dntfsinfo.c1318 static const char * ntfs_dump_lcn(LCN lcn) in ntfs_dump_lcn()
1436 LCN next_lcn; in ntfs_dump_attribute_header()
Dntfscp.c558 LCN lcn; in sort_runlist()
Dntfsfix.c118 LCN attrlist_lcn;
Dntfsresize.c663 static void rl_set(runlist *rl, VCN vcn, LCN lcn, s64 len) in rl_set()
3102 LCN mft_lcn;
Dntfsclone.c190 LCN current_lcn;

12