/third_party/ntfs-3g/ntfsprogs/ |
D | utils.h | 48 int utils_attr_get_name(ntfs_volume *vol, ATTR_RECORD *attr, char *buffer, int bufsize); 54 ATTR_RECORD * find_attribute(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx); 55 ATTR_RECORD * find_first_attribute(const ATTR_TYPES type, MFT_RECORD *mft); 133 static __inline__ ntfschar *ntfs_attr_get_name(ATTR_RECORD *attr) in ntfs_attr_get_name()
|
D | utils.c | 459 ATTR_RECORD * find_attribute(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx) in find_attribute() 489 ATTR_RECORD * find_first_attribute(const ATTR_TYPES type, MFT_RECORD *mft) in find_first_attribute() 492 ATTR_RECORD *rec; in find_first_attribute() 533 ATTR_RECORD *rec; in utils_inode_get_name() 644 int utils_attr_get_name(ntfs_volume *vol, ATTR_RECORD *attr, char *buffer, int bufsize) in utils_attr_get_name() 859 ATTR_RECORD *rec; in utils_is_metadata() 1003 ATTR_RECORD *attr10 = NULL; in mft_next_record() 1004 ATTR_RECORD *attr20 = NULL; in mft_next_record() 1005 ATTR_RECORD *attr80 = NULL; in mft_next_record()
|
D | ntfsinfo.c | 394 static char *ntfs_attr_get_name_mbs(ATTR_RECORD *attr) in ntfs_attr_get_name_mbs() 678 static void ntfs_dump_attr_standard_information(ATTR_RECORD *attr) in ntfs_dump_attr_standard_information() 752 static void ntfs_dump_attr_list(ATTR_RECORD *attr, ntfs_volume *vol) in ntfs_dump_attr_list() 917 static void ntfs_dump_attr_file_name(ATTR_RECORD *attr) in ntfs_dump_attr_file_name() 928 static void ntfs_dump_attr_object_id(ATTR_RECORD *attr,ntfs_volume *vol) in ntfs_dump_attr_object_id() 1105 static void ntfs_dump_attr_security_descriptor(ATTR_RECORD *attr, ntfs_volume *vol) in ntfs_dump_attr_security_descriptor() 1152 static void ntfs_dump_attr_volume_name(ATTR_RECORD *attr) in ntfs_dump_attr_volume_name() 1184 static void ntfs_dump_attr_volume_information(ATTR_RECORD *attr) in ntfs_dump_attr_volume_information() 1248 static void ntfs_dump_sds(ATTR_RECORD *attr, ntfs_inode *ni) in ntfs_dump_sds() 1341 ATTR_RECORD *a = ctx->attr; in ntfs_dump_attribute_header() [all …]
|
D | playlog.c | 307 const ATTR_RECORD *attr; in sanity_mft() 321 attr = (const ATTR_RECORD*)&buffer[k]; in sanity_mft() 367 attr = (const ATTR_RECORD*)&buffer[k]; in sanity_mft() 729 static int resize_attribute(MFT_RECORD *entry, ATTR_RECORD *attr, INDEX_ROOT *index, in resize_attribute() 770 static void adjust_instance(const ATTR_RECORD *attr, MFT_RECORD *entry, int increment) in adjust_instance() 797 static int adjust_high_vcn(ntfs_volume *vol, ATTR_RECORD *attr) in adjust_high_vcn() 866 ATTR_RECORD *attr; in change_resident() 880 attr = (ATTR_RECORD*)(buffer in change_resident() 921 ATTR_RECORD *attr; in change_resident_expect() 934 attr = (ATTR_RECORD*)(buffer in change_resident_expect() [all …]
|
D | ntfstruncate.c | 458 static void dump_resident_attr(ATTR_RECORD *a) in dump_resident_attr() 491 static void dump_non_resident_attr(ATTR_RECORD *a) in dump_non_resident_attr() 530 static void dump_attr_record(MFT_RECORD *m, ATTR_RECORD *a) in dump_attr_record() 631 ATTR_RECORD *a; in dump_mft_record() 667 a = (ATTR_RECORD*)((char*)m + le16_to_cpu(m->attrs_offset)); in dump_mft_record() 674 a = (ATTR_RECORD*)((char*)a + le32_to_cpu(a->length)); in dump_mft_record()
|
D | ntfsmove.c | 316 static int resize_nonres_attr(MFT_RECORD *m, ATTR_RECORD *a, const u32 new_size) in resize_nonres_attr() 352 static int calc_attr_length(ATTR_RECORD *rec, int runlength) in calc_attr_length() 478 ATTR_RECORD *rec; in dont_move() 667 static s64 move_datarun(ntfs_volume *vol, ntfs_inode *ino, ATTR_RECORD *rec, in move_datarun() 759 static s64 move_attribute(ntfs_volume *vol, ntfs_inode *ino, ATTR_RECORD *rec, in move_attribute() 809 ATTR_RECORD *rec; in move_file()
|
D | ntfsmftalloc.c | 220 ATTR_RECORD *a; in dump_mft_record() 256 a = (ATTR_RECORD*)((char*)m + le16_to_cpu(m->attrs_offset)); in dump_mft_record() 261 a = (ATTR_RECORD*)((char*)a + le32_to_cpu(a->length)); in dump_mft_record()
|
D | ntfsfix.c | 225 ATTR_RECORD *a; in OLD_ntfs_volume_set_flags() 779 static ATTR_RECORD *find_unnamed_attr(MFT_RECORD *mrec, ATTR_TYPES type) in find_unnamed_attr() 781 ATTR_RECORD *a; in find_unnamed_attr() 788 a = (ATTR_RECORD*)((char*)mrec + offset); in find_unnamed_attr() 789 while ((space >= (s32)offsetof(ATTR_RECORD, resident_end)) in find_unnamed_attr() 796 a = (ATTR_RECORD*)((char*)mrec + offset); in find_unnamed_attr() 801 a = (ATTR_RECORD*)NULL; in find_unnamed_attr() 819 ATTR_RECORD *a; in short_mft_selfloc_condition() 875 ATTR_RECORD *a; in attrlist_selfloc_condition() 957 ATTR_RECORD *a; in self_mapped_selfloc_condition() [all …]
|
D | ntfsresize.c | 830 ATTR_RECORD *a; in build_lcn_usage_bitmap() 1547 ATTR_RECORD *a; in replace_later() 1615 ATTR_RECORD *a; in replace_attribute_runlist() 2067 ATTR_RECORD *a; in relocate_attribute() 2128 ATTR_RECORD *attr = resize->ctx->attr; in handle_mftdata() 2471 ATTR_RECORD *a = resize->ctx->attr; in realloc_bitmap_data_attr() 2505 ATTR_RECORD *a; in truncate_bitmap_data_attr() 3120 static ATTR_RECORD *find_attr(MFT_RECORD *mrec, ATTR_TYPES type, in find_attr() 3123 ATTR_RECORD *a; in find_attr() 3129 a = (ATTR_RECORD*)((char*)mrec + offset); in find_attr() [all …]
|
D | ntfscluster.c | 288 ATTR_RECORD *rec; in info() 391 ATTR_RECORD *rec; in dump_file() 429 static int print_match(ntfs_inode *ino, ATTR_RECORD *attr, in print_match() 456 static int find_last(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run, in find_last()
|
D | cluster.h | 34 typedef int (cluster_cb)(ntfs_inode *ino, ATTR_RECORD *attr, runlist_element *run, void *data);
|
D | ntfscmp.c | 654 static int cmp_attribute_header(ATTR_RECORD *a1, ATTR_RECORD *a2) in cmp_attribute_header() 656 u32 header_size = offsetof(ATTR_RECORD, resident_end); in cmp_attribute_header() 674 ATTR_RECORD *a1 = ctx1->attr; in cmp_attribute() 675 ATTR_RECORD *a2 = ctx2->attr; in cmp_attribute()
|
D | ntfsck.c | 255 ATTR_RECORD *attr_rec; in load_runlist() 277 attr_rec = (ATTR_RECORD *)(buf + attrs_offset); in load_runlist() 320 attr_rec = (ATTR_RECORD*)((u8*)attr_rec+length); in load_runlist()
|
D | cluster.c | 52 ATTR_RECORD *rec; in cluster_find()
|
D | ntfsls.c | 552 ATTR_RECORD *attr; in list_dir_entry() 682 ATTR_RECORD *rec; in main()
|
D | mkntfs.c | 1217 ATTR_RECORD *a; in mkntfs_attr_find() 1229 a = (ATTR_RECORD*)((char*)ctx->attr + in mkntfs_attr_find() 1232 for (;; a = (ATTR_RECORD*)((char*)a + le32_to_cpu(a->length))) { in mkntfs_attr_find() 1435 ATTR_RECORD *a; in insert_positioned_attr_in_mft_record() 1626 ATTR_RECORD *a; in insert_non_resident_attr_in_mft_record() 1816 ATTR_RECORD *a; in insert_resident_attr_in_mft_record() 1956 ATTR_RECORD *a; in non_resident_unnamed_data() 2428 ATTR_RECORD *a; in upgrade_to_large_index() 2709 ATTR_RECORD *a; in insert_index_entry_in_res_dir_index() 2731 a = (ATTR_RECORD*)ctx->attr; in insert_index_entry_in_res_dir_index() [all …]
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | attrib.h | 88 ATTR_RECORD *attr; 94 ATTR_RECORD *base_attr; 343 extern int ntfs_attr_record_resize(MFT_RECORD *m, ATTR_RECORD *a, u32 new_size); 345 extern int ntfs_resident_attr_value_resize(MFT_RECORD *m, ATTR_RECORD *a, 367 extern s64 ntfs_get_attribute_value_length(const ATTR_RECORD *a); 384 const ATTR_RECORD *a, u8 *b); 401 extern int ntfs_attr_inconsistent(const ATTR_RECORD *a, const MFT_REF mref);
|
D | attrlist.h | 31 extern int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr);
|
D | runlist.h | 66 const ATTR_RECORD *attr, runlist_element *old_rl);
|
D | mft.h | 65 MFT_RECORD **mrec, ATTR_RECORD **attr);
|
D | index.h | 157 extern INDEX_ROOT *ntfs_index_root_get(ntfs_inode *ni, ATTR_RECORD *attr);
|
D | inode.h | 214 extern int ntfs_inode_badclus_bad(u64 mft_no, ATTR_RECORD *a);
|
/third_party/ntfs-3g/libntfs-3g/ |
D | attrib.c | 125 s64 ntfs_get_attribute_value_length(const ATTR_RECORD *a) in GenNAttrIno() 149 const ATTR_RECORD *a, u8 *b) in ntfs_get_attribute_value() 416 ATTR_RECORD *a; in ntfs_attr_open() 661 ATTR_RECORD *a; in ntfs_attr_map_partial_runlist() 755 ATTR_RECORD *a; in ntfs_attr_map_whole_runlist() 2829 ATTR_RECORD *a; 2860 a = (ATTR_RECORD*)((char*)ctx->attr + 2862 for (;; a = (ATTR_RECORD*)((char*)a + le32_to_cpu(a->length))) { 2870 || (((space < (ptrdiff_t)offsetof(ATTR_RECORD, 3072 ATTR_RECORD *a; [all …]
|
D | mft.c | 237 ATTR_RECORD *a; in ntfs_mft_record_check() 272 a = (ATTR_RECORD *)((char *)m + le16_to_cpu(m->attrs_offset)); in ntfs_mft_record_check() 282 a = (ATTR_RECORD*)((char*)m + offset); in ntfs_mft_record_check() 284 while ((space >= (s32)offsetof(ATTR_RECORD, resident_end)) in ntfs_mft_record_check() 293 a = (ATTR_RECORD*)((char*)m + offset); in ntfs_mft_record_check() 349 MFT_RECORD **mrec, ATTR_RECORD **attr) in ntfs_file_record_read() 380 *attr = (ATTR_RECORD*)((char*)m + le16_to_cpu(m->attrs_offset)); in ntfs_file_record_read() 404 ATTR_RECORD *a; in ntfs_mft_record_layout() 460 a = (ATTR_RECORD*)((u8*)mrec + le16_to_cpu(mrec->attrs_offset)); in ntfs_mft_record_layout() 723 ATTR_RECORD *a = NULL; /* silence compiler warning */ in ntfs_mft_bitmap_extend_allocation_i() [all …]
|
D | runlist.c | 784 const ATTR_RECORD *attr, runlist_element *old_rl) in ntfs_mapping_pairs_decompress_i() 1025 const ATTR_RECORD *attr, runlist_element *old_rl) in ntfs_mapping_pairs_decompress() 2099 static void test_rl_frag_combine(ntfs_volume *vol, ATTR_RECORD *attr1, ATTR_RECORD *attr2, ATTR_REC… in test_rl_frag_combine() 2135 ATTR_RECORD *attr1 = ntfs_malloc(1024); in test_rl_frag() 2136 ATTR_RECORD *attr2 = ntfs_malloc(1024); in test_rl_frag() 2137 ATTR_RECORD *attr3 = ntfs_malloc(1024); in test_rl_frag()
|