Home
last modified time | relevance | path

Searched refs:ntfs_attr (Results 1 – 25 of 43) sorted by relevance

12

/third_party/ntfs-3g/include/ntfs-3g/
Dattrib.h29 typedef struct _ntfs_attr ntfs_attr; typedef
250 extern int NAttr##func_name(ntfs_attr *na); \
251 extern void NAttrSet##func_name(ntfs_attr *na); \
252 extern void NAttrClear##func_name(ntfs_attr *na);
286 extern void ntfs_attr_init(ntfs_attr *na, const BOOL non_resident,
295 extern ntfs_attr *ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type,
297 extern void ntfs_attr_close(ntfs_attr *na);
299 extern s64 ntfs_attr_pread(ntfs_attr *na, const s64 pos, s64 count,
301 extern s64 ntfs_attr_pwrite(ntfs_attr *na, const s64 pos, s64 count,
303 extern int ntfs_attr_pclose(ntfs_attr *na);
[all …]
Dbitmap.h42 extern int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count);
43 extern int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count);
54 static __inline__ int ntfs_bitmap_set_bit(ntfs_attr *na, s64 bit) in ntfs_bitmap_set_bit()
68 static __inline__ int ntfs_bitmap_clear_bit(ntfs_attr *na, s64 bit) in ntfs_bitmap_clear_bit()
Dcompress.h29 extern s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count,
32 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,
Dvolume.h219 ntfs_attr *lcnbmp_na; /* ntfs_attr structure for the data attribute
228 ntfs_attr *mft_na; /* ntfs_attr structure for the data attribute
230 ntfs_attr *mftbmp_na; /* ntfs_attr structure for the bitmap attribute
247 ntfs_attr *mftmirr_na; /* ntfs_attr structure for the data attribute
Dlogfile.h466 extern BOOL ntfs_check_logfile(ntfs_attr *log_na, RESTART_PAGE_HEADER **rp);
467 extern BOOL ntfs_is_logfile_clean(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp);
468 extern int ntfs_empty_logfile(ntfs_attr *na);
Defs.h28 int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na);
Dlcnalloc.h47 extern int ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn,
Drunlist.h52 extern runlist_element *ntfs_rl_extend(ntfs_attr *na, runlist_element *rl,
Dindex.h127 ntfs_attr *ia_na;
/third_party/ntfs-3g/ntfsprogs/
Dntfscmp.c444 static char *get_attr_name_na(ntfs_attr *na) in get_attr_name_na()
464 static void print_na(ntfs_attr *na) in print_na()
487 static void print_differ(ntfs_attr *na) in print_differ()
493 static int cmp_buffer(u8 *buf1, u8 *buf2, long long int size, ntfs_attr *na) in cmp_buffer()
510 static int setup_cmp_ia(ntfs_attr *na, struct cmp_ia *cia) in setup_cmp_ia()
537 static void cmp_index_allocation(ntfs_attr *na1, ntfs_attr *na2) in cmp_index_allocation()
600 static void cmp_attribute_data(ntfs_attr *na1, ntfs_attr *na2) in cmp_attribute_data()
676 ntfs_attr *na1, *na2; in cmp_attribute()
Dntfswipe.c653 enum action act, ntfs_attr *na) in wipe_compressed_attribute()
773 ntfs_attr *na) in wipe_attribute()
819 ntfs_attr *na; in wipe_attr_tail()
1096 __attribute__((unused)), ntfs_attr *naa, ntfs_attr *nab, in wipe_index_allocation()
1210 static u32 get_indx_record_size(ntfs_attr *nar) in get_indx_record_size()
1247 ntfs_attr *naa; in wipe_directory()
1248 ntfs_attr *nab; in wipe_directory()
1249 ntfs_attr *nar; in wipe_directory()
1387 ntfs_attr *na; in wipe_logfile()
1496 ntfs_attr *na; in wipe_pagefile()
[all …]
Dntfsfallocate.c452 static void ntfs_restore_rl(ntfs_attr *na, runlist_element *oldrl) in ntfs_restore_rl()
490 static int ntfs_inner_zero(ntfs_attr *na, runlist_element *rl) in ntfs_inner_zero()
540 static int ntfs_merge_allocation(ntfs_attr *na, runlist_element *rl, in ntfs_merge_allocation()
589 static int ntfs_inner_allocation(ntfs_attr *na, s64 alloc_offs, s64 alloc_len) in ntfs_inner_allocation()
652 static int ntfs_full_allocation(ntfs_attr *na, ntfs_attr_search_ctx *ctx, in ntfs_full_allocation()
747 ntfs_attr *na; in ntfs_fallocate()
Dntfscp.c81 ntfs_attr *na;
613 ntfs_attr *na; in set_sizes()
653 ntfs_attr *na; in assign_runlist()
762 static int preallocate(ntfs_attr *na, s64 new_size) in preallocate()
842 ntfs_attr *na; in main()
Dntfsfix.c348 static int clear_sparse(ntfs_attr *na, const char *name) in clear_sparse()
387 ntfs_attr *na; in clear_badclus()
604 static int rewrite_upcase(ntfs_volume *vol, ntfs_attr *na) in rewrite_upcase()
644 vol->lcnbmp_na = (ntfs_attr*)NULL; in rewrite_upcase()
661 ntfs_attr *na; in fix_upcase()
670 na = (ntfs_attr*)NULL; in fix_upcase()
Dntfsdump_logfile.c83 ntfs_attr *na;
125 ntfs_attr *na, const char *fmt, ...) in device_err_exit()
198 ntfs_attr *na; in logfile_open()
/third_party/ntfs-3g/libntfs-3g/
Dbitmap.c115 static int ntfs_bitmap_set_bits_in_run(ntfs_attr *na, s64 start_bit, in ntfs_bitmap_set_bits_in_run()
268 int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count) in ntfs_bitmap_set_run()
290 int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count) in ntfs_bitmap_clear_run()
Dea.c117 static void restore_ea_info(ntfs_attr *nai, const EA_INFORMATION *old_ea_info) in restore_ea_info()
149 ntfs_attr *na; in ntfs_update_ea()
150 ntfs_attr *nai; in ntfs_update_ea()
353 ntfs_attr *na; in ntfs_remove_ntfs_ea()
354 ntfs_attr *nai; in ntfs_remove_ntfs_ea()
Dattrib.c86 static int NAttrFlag(ntfs_attr *na, FILE_ATTR_FLAGS flag) in NAttrFlag()
93 static void NAttrSetFlag(ntfs_attr *na, FILE_ATTR_FLAGS flag) in NAttrSetFlag()
102 static void NAttrClearFlag(ntfs_attr *na, FILE_ATTR_FLAGS flag) in NAttrClearFlag()
109 int NAttr##func_name(ntfs_attr *na) { return NAttrFlag (na, flag); } \
110 void NAttrSet##func_name(ntfs_attr *na) { NAttrSetFlag (na, flag); } \
111 void NAttrClear##func_name(ntfs_attr *na){ NAttrClearFlag(na, flag); }
333 static void __ntfs_attr_init(ntfs_attr *na, ntfs_inode *ni, in __ntfs_attr_init()
361 void ntfs_attr_init(ntfs_attr *na, const BOOL non_resident, in ntfs_attr_init()
410 ntfs_attr *ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type, in ntfs_attr_open()
414 ntfs_attr *na = NULL; in ntfs_attr_open()
[all …]
Defs.c134 ntfs_attr *na; in fixup_loop()
215 ntfs_attr *na; in ntfs_set_efs_info()
317 int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na) in ntfs_efs_fixup_attribute()
Dobject_id.c271 static int remove_object_id_index(ntfs_attr *na, ntfs_index_context *xo, in remove_object_id_index()
327 ntfs_attr *na; in update_object_id()
428 ntfs_attr *na; in ntfs_delete_object_id_index()
574 ntfs_attr *na; in ntfs_remove_ntfs_object_id()
Dlogfile.c374 static int ntfs_check_and_load_restart_page(ntfs_attr *log_na, in ntfs_check_and_load_restart_page()
492 BOOL ntfs_check_logfile(ntfs_attr *log_na, RESTART_PAGE_HEADER **rp) in ntfs_check_logfile()
679 BOOL ntfs_is_logfile_clean(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp) in ntfs_is_logfile_clean()
728 int ntfs_empty_logfile(ntfs_attr *na) in ntfs_empty_logfile()
Dcompress.c650 static BOOL ntfs_is_cb_compressed(ntfs_attr *na, runlist_element *rl, in ntfs_is_cb_compressed()
709 s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count, void *b) in ntfs_compressed_attr_pread()
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()
1232 static int ntfs_compress_overwr_free(ntfs_attr *na, runlist_element *rl, in ntfs_compress_overwr_free()
1444 static int ntfs_compress_free(ntfs_attr *na, runlist_element *rl, in ntfs_compress_free()
1582 static int ntfs_read_append(ntfs_attr *na, const runlist_element *rl, in ntfs_read_append()
1626 static s32 ntfs_flush(ntfs_attr *na, runlist_element *rl, s64 offs, in ntfs_flush()
1670 s64 ntfs_compressed_pwrite(ntfs_attr *na, runlist_element *wrl, s64 wpos, in ntfs_compressed_pwrite()
1873 int ntfs_compressed_close(ntfs_attr *na, runlist_element *wrl, s64 offs, in ntfs_compressed_close()
Dvolume.c138 static void ntfs_attr_free(ntfs_attr **na) in ntfs_attr_free()
681 ntfs_attr *na = NULL; in ntfs_volume_check_logfile()
799 ntfs_attr *na = NULL; in ntfs_volume_check_hiberfile()
871 ntfs_attr *na; in fix_txf_data()
945 ntfs_attr *na; in ntfs_device_mount()
1692 ntfs_attr *na; in ntfs_logfile_reset()
1881 ntfs_attr *na; in ntfs_volume_get_free_space()
1916 ntfs_attr *na; in ntfs_volume_rename()
Dmft.c551 ntfs_attr *mftbmp_na; in ntfs_mft_bitmap_find_free_rec()
686 static int ntfs_mft_attr_extend(ntfs_attr *na) in ntfs_mft_attr_extend()
719 ntfs_attr *mftbmp_na; in ntfs_mft_bitmap_extend_allocation_i()
944 ntfs_attr *mftbmp_na; in ntfs_mft_bitmap_extend_initialized()
1041 ntfs_attr *mft_na; in ntfs_mft_data_extend_allocation()
1264 ntfs_attr *mft_na; in ntfs_mft_record_init()
1368 ntfs_attr *mft_na; in ntfs_mft_rec_init()
1429 ntfs_attr *mft_na, *mftbmp_na; in ntfs_mft_rec_alloc()
1714 ntfs_attr *mft_na, *mftbmp_na; in ntfs_mft_record_alloc()
Dattrlist.c111 ntfs_attr *na = NULL; in ntfs_attrlist_entry_add()
249 ntfs_attr *na; in ntfs_attrlist_entry_rm()

12