Home
last modified time | relevance | path

Searched refs:runlist_element (Results 1 – 23 of 23) sorted by relevance

/third_party/ntfs-3g/include/ntfs-3g/
Drunlist.h29 typedef struct _runlist_element runlist_element; typedef
30 typedef runlist_element runlist;
52 extern runlist_element *ntfs_rl_extend(ntfs_attr *na, runlist_element *rl,
55 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn);
57 extern s64 ntfs_rl_pread(const ntfs_volume *vol, const runlist_element *rl,
59 extern s64 ntfs_rl_pwrite(const ntfs_volume *vol, const runlist_element *rl,
62 extern runlist_element *ntfs_runlists_merge(runlist_element *drl,
63 runlist_element *srl);
65 extern runlist_element *ntfs_mapping_pairs_decompress(const ntfs_volume *vol,
66 const ATTR_RECORD *attr, runlist_element *old_rl);
[all …]
Dcompress.h32 extern s64 ntfs_compressed_pwrite(ntfs_attr *na, runlist_element *brl, s64 wpos,
37 extern int ntfs_compressed_close(ntfs_attr *na, runlist_element *brl,
Dattrib.h186 runlist_element *rl;
317 extern runlist_element *ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn);
/third_party/ntfs-3g/libntfs-3g/
Drunlist.c63 static void ntfs_rl_mm(runlist_element *base, int dst, int src, int size) in ntfs_rl_mm()
81 static void ntfs_rl_mc(runlist_element *dstbase, int dst, in ntfs_rl_mc()
82 runlist_element *srcbase, int src, int size) in ntfs_rl_mc()
104 static runlist_element *ntfs_rl_realloc(runlist_element *rl, int old_size, in ntfs_rl_realloc()
107 old_size = (old_size * sizeof(runlist_element) + 0xfff) & ~0xfff; in ntfs_rl_realloc()
108 new_size = (new_size * sizeof(runlist_element) + 0xfff) & ~0xfff; in ntfs_rl_realloc()
123 runlist_element *ntfs_rl_extend(ntfs_attr *na, runlist_element *rl, in ntfs_rl_extend()
126 runlist_element *newrl; in ntfs_rl_extend()
138 rl = (runlist_element*)NULL; in ntfs_rl_extend()
146 rl = (runlist_element*)NULL; in ntfs_rl_extend()
[all …]
Dcompress.c650 static BOOL ntfs_is_cb_compressed(ntfs_attr *na, runlist_element *rl, in ntfs_is_cb_compressed()
715 runlist_element *rl; in ntfs_compressed_attr_pread()
981 static u32 read_clusters(ntfs_volume *vol, const runlist_element *rl, in read_clusters()
990 const runlist_element *xrl; in read_clusters()
1023 static s32 write_clusters(ntfs_volume *vol, const runlist_element *rl, in write_clusters()
1031 const runlist_element *xrl; in write_clusters()
1068 static s32 ntfs_comp_set(ntfs_attr *na, runlist_element *rl, in ntfs_comp_set()
1168 static BOOL valid_compressed_run(ntfs_attr *na, runlist_element *rl, in valid_compressed_run()
1171 runlist_element *xrl; in valid_compressed_run()
1232 static int ntfs_compress_overwr_free(ntfs_attr *na, runlist_element *rl, in ntfs_compress_overwr_free()
[all …]
Ddebug.c45 void ntfs_debug_runlist_dump(const runlist_element *rl) in ntfs_debug_runlist_dump()
Dattrib.c630 runlist_element *rl; in ntfs_attr_map_runlist()
660 runlist_element *rl; in ntfs_attr_map_partial_runlist()
681 rl = (runlist_element*)NULL; in ntfs_attr_map_partial_runlist()
705 rl = (runlist_element*)NULL; in ntfs_attr_map_partial_runlist()
727 rl = (runlist_element*)NULL; in ntfs_attr_map_partial_runlist()
775 runlist_element *rl; in ntfs_attr_map_whole_runlist()
928 runlist_element *ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn) in ntfs_attr_find_vcn()
930 runlist_element *rl; in ntfs_attr_find_vcn()
993 runlist_element *rl; in ntfs_attr_pread_i()
1245 const runlist_element *rli; in ntfs_attr_fill_zero()
[all …]
Dmft.c720 runlist_element *rl, *rl2 = NULL; /* silence compiler warning */ in ntfs_mft_bitmap_extend_allocation_i()
1042 runlist_element *rl, *rl2; in ntfs_mft_data_extend_allocation()
Dvolume.c344 runlist_element *nrl; in ntfs_mft_load()
Dinode.c581 runlist_element *rl; in ntfs_extent_inode_open()
/third_party/ntfs-3g/ntfsprogs/
Dntfsfallocate.c404 static runlist_element *ntfs_save_rl(runlist_element *rl) in ntfs_save_rl()
406 runlist_element *save; in ntfs_save_rl()
410 save = (runlist_element*)NULL; in ntfs_save_rl()
414 save = (runlist_element*)malloc((n + 1)*sizeof(runlist_element)); in ntfs_save_rl()
416 memcpy(save, rl, (n + 1)*sizeof(runlist_element)); in ntfs_save_rl()
426 static void free_common(ntfs_volume *vol, runlist_element *brl, s64 blth, in free_common()
427 runlist_element *grl, s64 glth) in free_common()
452 static void ntfs_restore_rl(ntfs_attr *na, runlist_element *oldrl) in ntfs_restore_rl()
454 runlist_element *brl; /* Pointer to bad runlist */ in ntfs_restore_rl()
455 runlist_element *grl; /* Pointer to good runlist */ in ntfs_restore_rl()
[all …]
Dntfsresize.c190 runlist_element *rl;
220 runlist_element *new_mft_start; /* new first run for $MFT:$DATA */
680 static void dump_run(runlist_element *r) in dump_run()
1211 static int replace_runlist(ntfs_attr *na, const runlist_element *reprl, in replace_runlist()
1214 const runlist_element *prep; in replace_runlist()
1215 const runlist_element *pold; in replace_runlist()
1216 runlist_element *pnew; in replace_runlist()
1217 runlist_element *newrl; in replace_runlist()
1231 newsize = ((oldcnt + newcnt)*sizeof(runlist_element) + 4095) & -4096; in replace_runlist()
1232 newrl = (runlist_element*)malloc(newsize); in replace_runlist()
[all …]
Dntfsmove.c512 static int bitmap_alloc(ntfs_volume *vol, runlist_element *rl) in bitmap_alloc()
530 static int bitmap_free(ntfs_volume *vol, runlist_element *rl) in bitmap_free()
548 static int data_copy(ntfs_volume *vol, runlist_element *from, runlist_element *to) in data_copy()
601 static s64 move_runlist(ntfs_volume *vol, runlist_element *from, in move_runlist()
602 runlist_element *to) in move_runlist()
668 runlist_element *run, u64 loc, int flags) in move_datarun()
Dntfscp.c82 runlist_element *rl;
396 runlist_element *prl; in run_alloc()
401 prl = (runlist_element*)ntfs_malloc( in run_alloc()
402 (alctx->rl_allocated + 4096)*sizeof(runlist_element)); in run_alloc()
406 *sizeof(runlist_element)); in run_alloc()
778 alctx->rl = (runlist_element*)NULL; in preallocate()
Dcluster.h34 typedef int (cluster_cb)(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run, void *data);
Dntfscluster.c287 runlist_element *rl; in info()
430 runlist_element *run, void *data __attribute__((unused))) in print_match()
456 static int find_last(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run, in find_last()
Dntfsundelete.h93 runlist_element *runlist; /* Decoded data runs */
Dntfswipe.c109 runlist_element *runlist; /* Decoded data runs */
660 runlist_element *rlc = na->rl; in wipe_compressed_attribute()
662 runlist_element *restart = na->rl; in wipe_compressed_attribute()
673 runlist_element *rlt; in wipe_compressed_attribute()
1717 runlist_element *rl = NULL; in destroy_record()
Dntfsfix.c820 runlist_element *rl; in short_mft_selfloc_condition()
878 runlist_element *rl; in attrlist_selfloc_condition()
959 runlist_element *rl; in self_mapped_selfloc_condition()
Dntfsck.c130 static runlist_element *mft_rl, *mft_bitmap_rl;
Dntfsclone.c1473 runlist_element *rl, u32 wi, u32 wj, u32 cnt)
1788 rl = (runlist_element*)NULL;
1804 rl = (runlist_element*)NULL;
Dntfsundelete.c1440 runlist_element *rl = NULL; in calc_percentage()
1974 runlist_element *rl; in undelete_file()
Dplaylog.c799 runlist_element *rl; in adjust_high_vcn()
800 runlist_element *xrl; in adjust_high_vcn()
806 rl = ntfs_mapping_pairs_decompress(vol, attr, (runlist_element*)NULL); in adjust_high_vcn()