Home
last modified time | relevance | path

Searched refs:ntfs_volume (Results 1 – 21 of 21) sorted by relevance

/linux/fs/ntfs/
H A Dvolume.h95 struct ntfs_volume { struct
213 static inline int NVol##flag(struct ntfs_volume *vol) \
217 static inline void NVolSet##flag(struct ntfs_volume *vol) \
221 static inline void NVolClear##flag(struct ntfs_volume *vol) \
245 static inline void ntfs_inc_free_clusters(struct ntfs_volume *vol, s64 nr) in DEFINE_NVOL_BIT_OPS()
252 static inline void ntfs_dec_free_clusters(struct ntfs_volume *vol, s64 nr) in ntfs_dec_free_clusters()
259 static inline void ntfs_inc_free_mft_records(struct ntfs_volume *vol, s64 nr) in ntfs_inc_free_mft_records()
264 static inline void ntfs_dec_free_mft_records(struct ntfs_volume *vol, s64 nr) in ntfs_dec_free_mft_records()
269 static inline void ntfs_set_lcn_empty_bits(struct ntfs_volume *vol, unsigned long index, in ntfs_set_lcn_empty_bits()
281 static __always_inline void ntfs_hold_dirty_clusters(struct ntfs_volume *vol, s64 nr_clusters) in ntfs_hold_dirty_clusters()
[all …]
H A Dntfs.h93 static inline u64 ntfs_bytes_to_cluster(const struct ntfs_volume *vol, in ntfs_bytes_to_cluster()
100 static inline u64 ntfs_cluster_to_bytes(const struct ntfs_volume *vol, in ntfs_cluster_to_bytes()
107 static inline u64 ntfs_bytes_to_cluster_off(const struct ntfs_volume *vol, in ntfs_bytes_to_cluster_off()
114 static inline u64 ntfs_mft_no_to_cluster(const struct ntfs_volume *vol, in ntfs_mft_no_to_cluster()
122 static inline pgoff_t ntfs_mft_no_to_pidx(const struct ntfs_volume *vol, in ntfs_mft_no_to_pidx()
129 static inline u64 ntfs_mft_no_to_poff(const struct ntfs_volume *vol, in ntfs_mft_no_to_poff()
136 static inline u64 ntfs_pidx_to_cluster(const struct ntfs_volume *vol, in ntfs_pidx_to_cluster()
143 static inline pgoff_t ntfs_cluster_to_pidx(const struct ntfs_volume *vol, in ntfs_cluster_to_pidx()
150 static inline u64 ntfs_cluster_to_poff(const struct ntfs_volume *vol, in ntfs_cluster_to_poff()
194 static inline struct ntfs_volume *NTFS_SB(struct super_block *sb) in NTFS_SB()
[all …]
H A Dmft.h45 int ntfs_sync_mft_mirror(struct ntfs_volume *vol, const u64 mft_no,
79 int ntfs_mft_record_alloc(struct ntfs_volume *vol, const int mode,
82 int ntfs_mft_record_free(struct ntfs_volume *vol, struct ntfs_inode *ni);
83 int ntfs_mft_records_write(const struct ntfs_volume *vol, const u64 mref,
85 int ntfs_mft_record_check(const struct ntfs_volume *vol, struct mft_record *m,
H A Dsuper.c125 struct ntfs_volume *vol = fc->s_fs_info; in ntfs_parse_param()
268 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_reconfigure()
335 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_handle_error()
370 static int ntfs_write_volume_flags(struct ntfs_volume *vol, const __le16 flags) in ntfs_write_volume_flags()
420 int ntfs_set_volume_flags(struct ntfs_volume *vol, __le16 flags) in ntfs_set_volume_flags()
435 int ntfs_clear_volume_flags(struct ntfs_volume *vol, __le16 flags) in ntfs_clear_volume_flags()
442 int ntfs_write_volume_label(struct ntfs_volume *vol, char *label) in ntfs_write_volume_label()
643 static bool parse_ntfs_boot_sector(struct ntfs_volume *vol, in parse_ntfs_boot_sector()
824 static void ntfs_setup_allocators(struct ntfs_volume *vol) in ntfs_setup_allocators()
900 static bool load_and_init_mft_mirror(struct ntfs_volume *vol) in load_and_init_mft_mirror()
[all …]
H A Dfile.c81 struct ntfs_volume *vol = ni->vol; in ntfs_trim_prealloc()
164 struct ntfs_volume *vol = ni->vol; in ntfs_file_fsync()
312 struct ntfs_volume *vol = ni->vol; in ntfs_setattr()
557 struct ntfs_volume *vol = ni->vol; in ntfs_expand_for_write()
585 struct ntfs_volume *vol = ni->vol; in ntfs_file_write_iter()
801 struct ntfs_volume *vol = NTFS_SB(file_inode(filp)->i_sb); in ntfs_ioctl_get_volume_label()
824 struct ntfs_volume *vol = NTFS_SB(file_inode(filp)->i_sb); in ntfs_ioctl_set_volume_label()
846 static int ntfs_ioctl_fitrim(struct ntfs_volume *vol, unsigned long arg) in ntfs_ioctl_fitrim()
910 struct ntfs_volume *vol = ni->vol; in ntfs_allocate_range()
949 struct ntfs_volume *vol = ni->vol; in ntfs_punch_hole()
[all …]
H A Dattrib.h92 int ntfs_attr_size_bounds_check(const struct ntfs_volume *vol,
94 int ntfs_attr_can_be_resident(const struct ntfs_volume *vol,
133 char *ntfs_attr_name_get(const struct ntfs_volume *vol, const __le16 *uname,
H A Dnamei.c60 static int ntfs_check_bad_windows_name(struct ntfs_volume *vol, in ntfs_check_bad_windows_name()
173 struct ntfs_volume *vol = NTFS_SB(dir_ino->i_sb); in ntfs_lookup()
399 struct ntfs_volume *vol = dir_ni->vol; in __ntfs_create()
738 struct ntfs_volume *vol = NTFS_SB(dir->i_sb); in ntfs_create()
1012 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_unlink()
1056 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_mkdir()
1097 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_rmdir()
1263 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_rename()
1406 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_symlink()
1454 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_mknod()
[all …]
H A Dmft.c28 int ntfs_mft_record_check(const struct ntfs_volume *vol, struct mft_record *m, in ntfs_mft_record_check()
112 struct ntfs_volume *vol = ni->vol; in map_mft_record_folio()
461 int ntfs_sync_mft_mirror(struct ntfs_volume *vol, const u64 mft_no, in ntfs_sync_mft_mirror()
550 struct ntfs_volume *vol = ni->vol; in write_mft_record_nolock()
746 static bool ntfs_may_write_mft_record(struct ntfs_volume *vol, const u64 mft_no, in ntfs_may_write_mft_record()
850 static bool mft_reserved_is_free(struct ntfs_volume *vol, in mft_reserved_is_free()
976 static s64 mft_bitmap_alloc_free_rec(struct ntfs_volume *vol, in mft_bitmap_alloc_free_rec()
1178 static int ntfs_mft_bitmap_extend_allocation_nolock(struct ntfs_volume *vol) in ntfs_mft_bitmap_extend_allocation_nolock()
1480 static int ntfs_mft_bitmap_extend_initialized_nolock(struct ntfs_volume *vol) in ntfs_mft_bitmap_extend_initialized_nolock()
1613 static int ntfs_mft_data_extend_allocation_nolock(struct ntfs_volume *vol) in ntfs_mft_data_extend_allocation_nolock()
[all …]
H A Dbitmap.c15 int ntfs_trim_fs(struct ntfs_volume *vol, struct fstrim_range *range) in ntfs_trim_fs()
133 struct ntfs_volume *vol = ni->vol; in __ntfs_bitmap_set_bits_in_run()
H A Dwof.c149 static int ntfs_bdev_read_from_rl(struct ntfs_volume *vol, in ntfs_bdev_read_from_rl()
367 static int ntfs_read_wof_chunk(struct ntfs_volume *vol, in ntfs_read_wof_chunk()
612 struct ntfs_volume *vol, in ntfs_wof_decompress_chunk()
657 struct ntfs_volume *vol = ni->vol; in ntfs_read_wof_compressed_block()
H A Dattrib.c734 static bool ntfs_attr_value_is_valid(struct ntfs_volume *vol, in ntfs_attr_value_is_valid()
841 struct ntfs_volume *vol = ctx->ntfs_ino->vol; in ntfs_attr_find()
979 char *ntfs_attr_name_get(const struct ntfs_volume *vol, const __le16 *uname, in ntfs_attr_name_get()
1151 struct ntfs_volume *vol; in ntfs_external_attr_find()
1734 static struct attr_def *ntfs_attr_find_in_attrdef(const struct ntfs_volume *vol, in ntfs_attr_find_in_attrdef()
1766 int ntfs_attr_size_bounds_check(const struct ntfs_volume *vol, const __le32 type, in ntfs_attr_size_bounds_check()
1801 static int ntfs_attr_can_be_non_resident(const struct ntfs_volume *vol, in ntfs_attr_can_be_non_resident()
1834 int ntfs_attr_can_be_resident(const struct ntfs_volume *vol, const __le32 type) in ntfs_attr_can_be_resident()
1942 struct ntfs_volume *vol = ni->vol; in ntfs_attr_make_non_resident()
3072 struct ntfs_volume *vol = ni->vol; in ntfs_attr_init()
[all …]
H A Ddir.c77 struct ntfs_volume *vol = dir_ni->vol; in ntfs_lookup_inode_by_name()
592 static inline int ntfs_filldir(struct ntfs_volume *vol, in ntfs_filldir()
723 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_readdir()
1115 struct ntfs_volume *vol = NTFS_I(vi)->vol; in ntfs_dir_fsync()
H A Dlcnalloc.c36 int ntfs_cluster_free_from_rl_nolock(struct ntfs_volume *vol, in ntfs_cluster_free_from_rl_nolock()
183 struct runlist_element *ntfs_cluster_alloc(struct ntfs_volume *vol, const s64 start_vcn, in ntfs_cluster_alloc()
846 struct ntfs_volume *vol; in __ntfs_cluster_free()
H A Dreparse.c59 static int ntfs_reparse_target_to_nls(struct ntfs_volume *vol, in ntfs_reparse_target_to_nls()
399 unsigned int ntfs_reparse_tag_dt_types(struct ntfs_volume *vol, unsigned long mref) in ntfs_reparse_tag_dt_types()
617 static struct ntfs_index_context *open_reparse_index(struct ntfs_volume *vol) in open_reparse_index()
H A Dlogfile.c457 struct ntfs_volume *vol = NTFS_SB(log_vi->i_sb); in ntfs_check_logfile()
644 struct ntfs_volume *vol = log_ni->vol; in ntfs_empty_logfile()
H A Drunlist.c735 struct runlist_element *ntfs_mapping_pairs_decompress(const struct ntfs_volume *vol, in ntfs_mapping_pairs_decompress()
1172 int ntfs_get_size_for_mapping_pairs(const struct ntfs_volume *vol, in ntfs_get_size_for_mapping_pairs()
1376 int ntfs_mapping_pairs_build(const struct ntfs_volume *vol, s8 *dst, in ntfs_mapping_pairs_build()
1557 int ntfs_rl_truncate_nolock(const struct ntfs_volume *vol, struct runlist *const runlist, in ntfs_rl_truncate_nolock()
1690 s64 ntfs_rl_get_compressed_size(struct ntfs_volume *vol, struct runlist_element *rl) in ntfs_rl_get_compressed_size()
H A Daops.c140 struct ntfs_volume *vol = ni->vol; in ntfs_bmap()
H A Dindex.c31 static int ntfs_index_entry_inconsistent(const struct ntfs_volume *vol, in ntfs_index_entry_inconsistent()
278 static int ntfs_index_header_inconsistent(struct ntfs_volume *vol, in ntfs_index_header_inconsistent()
327 int ntfs_index_entries_inconsistent(const struct ntfs_volume *vol, in ntfs_index_entries_inconsistent()
514 int ntfs_index_block_inconsistent(struct ntfs_volume *vol, in ntfs_index_block_inconsistent()
556 int ntfs_index_root_inconsistent(struct ntfs_volume *vol, in ntfs_index_root_inconsistent()
H A Dinode.c681 struct ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_inode()
1283 struct ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_attr_inode()
1523 struct ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_index_inode()
1759 static int load_attribute_list_mount(struct ntfs_volume *vol, in load_attribute_list_mount()
1861 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_read_inode_mount()
2371 struct ntfs_volume *vol = NTFS_SB(root->d_sb); in ntfs_show_options()
3752 struct ntfs_volume *vol = ni->vol; in __ntfs_inode_non_resident_attr_pwrite()
H A Dattrlist.c74 struct ntfs_volume *vol = attr_ni->vol; in ntfs_attrlist_repack()
H A Dcompress.c470 struct ntfs_volume *vol = ni->vol; in ntfs_read_compressed_block()
1318 struct ntfs_volume *vol = ni->vol; in ntfs_write_cb()