Home
last modified time | relevance | path

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

12

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A 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 …]
H A 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()
H A 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,
H A 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()
H A 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);
H A 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
H A 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()
H A Defs.h28 int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na);
H A Dlcnalloc.h47 extern int ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn,
H A 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 …]
H A 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()
H A 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()
H A 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()
H A Drunlist.h52 extern runlist_element *ntfs_rl_extend(ntfs_attr *na, runlist_element *rl,
H A Dattrlist.c111 ntfs_attr *na = NULL; in ntfs_attrlist_entry_add()
249 ntfs_attr *na; in ntfs_attrlist_entry_rm()
H A 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()
H A 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()
1883 ntfs_attr *na; in ntfs_volume_get_free_space()
1918 ntfs_attr *na; in ntfs_volume_rename()
H A Dindex.h127 ntfs_attr *ia_na;
H A 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()
H A Dreparse.c979 static int remove_reparse_index(ntfs_attr *na, ntfs_index_context *xr, in remove_reparse_index()
1066 ntfs_attr *na; in update_reparse_data()
1123 ntfs_attr *na; in ntfs_delete_reparse_index()
1270 ntfs_attr *na; in ntfs_remove_ntfs_reparse_data()
H A Dindex.c674 static ntfs_attr *ntfs_ia_open(ntfs_index_context *icx, ntfs_inode *ni) in ntfs_ia_open()
676 ntfs_attr *na; in ntfs_ia_open()
1003 ntfs_attr *na; in ntfs_ibm_modify()
1321 ntfs_attr *na; in ntfs_ir_truncate()
H A Ddir.c262 ntfs_attr *ia_na; in ntfs_inode_lookup_by_name()
868 ntfs_attr *na; in ntfs_interix_types()
1109 ntfs_attr *ia_na, *bmp_na = NULL; in ntfs_readdir()
1846 ntfs_attr *na; in ntfs_check_empty_dir()
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dlowntfs.c126 ntfs_attr *na; in ntfs_fuse_getstat()
366 ntfs_attr *na = NULL; in ntfs_fuse_readlink()
483 ntfs_attr *na = NULL; in ntfs_fuse_read()
560 ntfs_attr *na = NULL; in ntfs_fuse_write()
1138 ntfs_attr *na = NULL;
H A Dkernel_interface.cpp48 typedef CObjectDeleter<ntfs_attr, void, ntfs_attr_close> NtfsAttrCloser;
656 ntfs_attr* na = ntfs_attr_open(ni, AT_DATA, AT_UNNAMED, 0); in fs_write_stat()
850 ntfs_attr* na = ntfs_attr_open(ni, AT_DATA, AT_UNNAMED, 0); in fs_open()
909 ntfs_attr* na = ntfs_attr_open(ni, AT_DATA, AT_UNNAMED, 0); in fs_write()
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c740 ntfs_attr *attr; in utils_cluster_in_use()
1106 ntfs_attr *mft; in mft_next_record()

12