| /linux/fs/ntfs/ |
| H A D | attrib.h | 47 struct ntfs_inode *ntfs_ino; 49 struct ntfs_inode *base_ntfs_ino; 60 int ntfs_map_runlist_nolock(struct ntfs_inode *ni, s64 vcn, 62 int ntfs_map_runlist(struct ntfs_inode *ni, s64 vcn); 63 s64 ntfs_attr_vcn_to_lcn_nolock(struct ntfs_inode *ni, const s64 vcn, 65 struct runlist_element *ntfs_attr_find_vcn_nolock(struct ntfs_inode *ni, 69 int ntfs_attr_map_whole_runlist(struct ntfs_inode *ni); 78 int load_attribute_list(struct ntfs_inode *base_ni, 89 struct ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(struct ntfs_inode *ni, 96 int ntfs_attr_map_cluster(struct ntfs_inode *ni, s64 vcn_start, s64 *lcn_start, [all …]
|
| H A D | mft.h | 16 struct mft_record *map_mft_record(struct ntfs_inode *ni); 17 void unmap_mft_record(struct ntfs_inode *ni); 18 struct mft_record *map_extent_mft_record(struct ntfs_inode *base_ni, u64 mref, 19 struct ntfs_inode **ntfs_ino); 21 static inline void unmap_extent_mft_record(struct ntfs_inode *ni) in unmap_extent_mft_record() 26 void __mark_mft_record_dirty(struct ntfs_inode *ni); 39 static inline void mark_mft_record_dirty(struct ntfs_inode *ni) in mark_mft_record_dirty() 47 int write_mft_record_nolock(struct ntfs_inode *ni, struct mft_record *m, int sync); 67 static inline int write_mft_record(struct ntfs_inode *ni, struct mft_record *m, int sync) in write_mft_record() 80 struct ntfs_inode **ni, struct ntfs_inode *base_ni, [all …]
|
| H A D | attrlist.h | 15 int ntfs_attrlist_need(struct ntfs_inode *ni); 16 int ntfs_attrlist_entry_add(struct ntfs_inode *ni, struct attr_record *attr); 18 int ntfs_attrlist_update(struct ntfs_inode *base_ni); 19 int ntfs_attrlist_update_locked(struct ntfs_inode *base_ni, 20 struct ntfs_inode *locked_ni);
|
| H A D | attrlist.c | 28 int ntfs_attrlist_need(struct ntfs_inode *ni) in ntfs_attrlist_need() 71 struct ntfs_inode *attr_ni, s64 min_alloc_size, in ntfs_attrlist_repack() 72 struct ntfs_inode *locked_ni) in ntfs_attrlist_repack() 199 int ntfs_attrlist_update_locked(struct ntfs_inode *base_ni, in ntfs_attrlist_update_locked() 200 struct ntfs_inode *locked_ni) in ntfs_attrlist_update_locked() 203 struct ntfs_inode *attr_ni; in ntfs_attrlist_update_locked() 305 int ntfs_attrlist_update(struct ntfs_inode *base_ni) in ntfs_attrlist_update() 317 int ntfs_attrlist_entry_add(struct ntfs_inode *ni, struct attr_record *attr) in ntfs_attrlist_entry_add() 457 struct ntfs_inode *base_ni; in ntfs_attrlist_entry_rm()
|
| H A D | inode.c | 42 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_test_inode() 90 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_init_locked_inode() 311 struct ntfs_inode *ni; in ntfs_alloc_big_inode() 330 static int ntfs_non_resident_dealloc_clusters(struct ntfs_inode *ni) in ntfs_non_resident_dealloc_clusters() 383 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_drop_big_inode() 388 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_drop_big_inode() 417 static inline struct ntfs_inode *ntfs_alloc_extent_inode(void) in ntfs_alloc_extent_inode() 419 struct ntfs_inode *ni; in ntfs_alloc_extent_inode() 431 static void ntfs_destroy_extent_inode(struct ntfs_inode *ni) in ntfs_destroy_extent_inode() 462 void __ntfs_init_inode(struct super_block *sb, struct ntfs_inode *ni) in __ntfs_init_inode() [all …]
|
| H A D | reparse.c | 101 static bool valid_reparse_buffer(struct ntfs_inode *ni, in valid_reparse_buffer() 146 static bool valid_reparse_data(struct ntfs_inode *ni, in valid_reparse_data() 269 int ntfs_parse_reparse(struct ntfs_inode *ni, unsigned int *mode) in ntfs_parse_reparse() 554 static int set_reparse_index(struct ntfs_inode *ni, struct ntfs_index_context *xr, in set_reparse_index() 590 struct ntfs_inode *ni = NTFS_I(rp); in remove_reparse_index() 667 static int update_reparse_data(struct ntfs_inode *ni, struct ntfs_index_context *xr, in update_reparse_data() 675 struct ntfs_inode *rp_ni; in update_reparse_data() 720 int ntfs_delete_reparse_index(struct ntfs_inode *ni) in ntfs_delete_reparse_index() 724 struct ntfs_inode *xrni; in ntfs_delete_reparse_index() 768 static int ntfs_set_ntfs_reparse_data(struct ntfs_inode *ni, char *value, size_t size) in ntfs_set_ntfs_reparse_data() [all …]
|
| H A D | aops.c | 25 struct ntfs_inode *ni = NTFS_I(folio->mapping->host); in ntfs_iomap_read_end_io() 70 struct ntfs_inode *ni = NTFS_I(folio->mapping->host); in ntfs_read_folio() 139 struct ntfs_inode *ni = NTFS_I(mapping->host); in ntfs_bmap() 236 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_readahead() 256 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_writepages()
|
| H A D | attrib.c | 86 int ntfs_map_runlist_nolock(struct ntfs_inode *ni, s64 vcn, struct ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock() 90 struct ntfs_inode *base_ni; in ntfs_map_runlist_nolock() 304 int ntfs_map_runlist(struct ntfs_inode *ni, s64 vcn) in ntfs_map_runlist() 317 struct runlist_element *ntfs_attr_vcn_to_rl(struct ntfs_inode *ni, s64 vcn, s64 *lcn) in ntfs_attr_vcn_to_rl() 377 s64 ntfs_attr_vcn_to_lcn_nolock(struct ntfs_inode *ni, const s64 vcn, in ntfs_attr_vcn_to_lcn_nolock() 527 struct runlist_element *ntfs_attr_find_vcn_nolock(struct ntfs_inode *ni, const s64 vcn, in ntfs_attr_find_vcn_nolock() 1063 int load_attribute_list(struct ntfs_inode *base_ni, u8 *al_start, const s64 size) in load_attribute_list() 1150 struct ntfs_inode *base_ni = ctx->base_ntfs_ino, *ni = ctx->ntfs_ino; in ntfs_external_attr_find() 1597 struct ntfs_inode *base_ni; in ntfs_attr_lookup() 1621 struct ntfs_inode *ni, struct mft_record *mrec) in ntfs_attr_init_search_ctx() [all …]
|
| H A D | mft.c | 109 static inline struct mft_record *map_mft_record_folio(struct ntfs_inode *ni) in map_mft_record_folio() 196 struct mft_record *map_mft_record(struct ntfs_inode *ni) in map_mft_record() 235 void unmap_mft_record(struct ntfs_inode *ni) in unmap_mft_record() 263 struct mft_record *map_extent_mft_record(struct ntfs_inode *base_ni, u64 mref, in map_extent_mft_record() 264 struct ntfs_inode **ntfs_ino) in map_extent_mft_record() 267 struct ntfs_inode *ni = NULL; in map_extent_mft_record() 268 struct ntfs_inode **extent_nis = NULL; in map_extent_mft_record() 359 struct ntfs_inode **tmp; in map_extent_mft_record() 360 int new_size = (base_ni->nr_extents + 4) * sizeof(struct ntfs_inode *); in map_extent_mft_record() 372 4 * sizeof(struct ntfs_inode *)); in map_extent_mft_record() [all …]
|
| H A D | namei.c | 243 struct ntfs_inode *ni = NTFS_I(dent_inode); in ntfs_lookup() 330 static int ntfs_sd_add_everyone(struct ntfs_inode *ni) in ntfs_sd_add_everyone() 394 static struct ntfs_inode *__ntfs_create(struct mnt_idmap *idmap, struct inode *dir, in __ntfs_create() 398 struct ntfs_inode *dir_ni = NTFS_I(dir); in __ntfs_create() 400 struct ntfs_inode *ni; in __ntfs_create() 739 struct ntfs_inode *ni; in ntfs_create() 777 struct ntfs_inode *ni = ctx->base_ntfs_ino ? ctx->base_ntfs_ino : ctx->ntfs_ino; in ntfs_check_unlinkable_dir() 803 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_test_inode_attr() 827 static int ntfs_delete(struct ntfs_inode *ni, struct ntfs_inode *dir_ni, in ntfs_delete() 1014 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_unlink() [all …]
|
| H A D | file.c | 49 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_file_open() 80 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_trim_prealloc() 163 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_file_fsync() 257 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_setattr_size() 311 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_setattr() 380 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_getattr() 555 static int ntfs_expand_for_write(struct ntfs_inode *ni, loff_t end) in ntfs_expand_for_write() 584 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_file_write_iter() 752 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_get_link() 906 static int ntfs_allocate_range(struct ntfs_inode *ni, int mode, loff_t offset, in ntfs_allocate_range() [all …]
|
| H A D | ea.c | 22 static int ntfs_write_ea(struct ntfs_inode *ni, __le32 type, char *value, s64 ea_off, in ntfs_write_ea() 37 struct ntfs_inode *ea_ni = NTFS_I(ea_vi); in ntfs_write_ea() 111 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_get_ea() 195 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_set_ea() 516 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_listxattr() 610 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_getxattr() 651 static int ntfs_new_attr_flags(struct ntfs_inode *ni, __le32 fattr) in ntfs_new_attr_flags() 866 static int ntfs_validate_fattr(struct ntfs_inode *ni, __le32 fattr) in ntfs_validate_fattr() 882 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_setxattr() 984 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_get_acl()
|
| H A D | wof.c | 247 static int parse_wof_chunk_table(struct ntfs_inode *base_ni, in parse_wof_chunk_table() 248 struct ntfs_inode *ni, u64 chunk_idx, in parse_wof_chunk_table() 368 struct ntfs_inode *wof_ni, u64 chunk_offset, in ntfs_read_wof_chunk() 372 struct ntfs_inode *base_ni = wof_ni->ext.base_ntfs_ino; in ntfs_read_wof_chunk() 655 struct ntfs_inode *ni = NTFS_I(mapping->host), *wof_ni; in ntfs_read_wof_compressed_block()
|
| /linux/fs/ntfs3/ |
| H A D | ntfs_fs.h | 258 struct ntfs_inode *ni; 288 struct ntfs_inode *ni; 299 struct ntfs_inode *ni; 307 struct ntfs_inode *ni; 313 struct ntfs_inode *ni; 360 struct ntfs_inode { struct 430 struct ntfs_inode *base; /* ADS: points to base inode. Other: this. */ argument 454 static inline bool is_ni_base(const struct ntfs_inode *ni) in is_ni_base() argument 465 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr, 469 int attr_set_size_ex(struct ntfs_inode *ni, enum ATTR_TYPE type, [all …]
|
| H A D | attrlist.c | 19 static inline bool al_is_valid_le(const struct ntfs_inode *ni, in al_is_valid_le() 30 void al_destroy(struct ntfs_inode *ni) in al_destroy() 46 int ntfs_load_attr_list(struct ntfs_inode *ni, struct ATTRIB *attr) in ntfs_load_attr_list() 137 struct ATTR_LIST_ENTRY *al_enumerate(struct ntfs_inode *ni, in al_enumerate() 180 struct ATTR_LIST_ENTRY *al_find_le(struct ntfs_inode *ni, in al_find_le() 197 struct ATTR_LIST_ENTRY *al_find_ex(struct ntfs_inode *ni, in al_find_ex() 255 static struct ATTR_LIST_ENTRY *al_find_le_to_insert(struct ntfs_inode *ni, in al_find_le_to_insert() 300 int al_add_le(struct ntfs_inode *ni, enum ATTR_TYPE type, const __le16 *name, in al_add_le() 379 bool al_remove_le(struct ntfs_inode *ni, struct ATTR_LIST_ENTRY *le) in al_remove_le() 402 int al_update(struct ntfs_inode *ni, int sync) in al_update()
|
| H A D | frecord.c | 20 static struct mft_inode *ni_ins_mi(struct ntfs_inode *ni, struct rb_root *tree, in ni_ins_mi() 50 static struct mft_inode *ni_find_mi(struct ntfs_inode *ni, CLST rno) in ni_find_mi() 58 static void ni_add_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_add_mi() 66 void ni_remove_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_remove_mi() 74 struct ATTR_STD_INFO *ni_std(struct ntfs_inode *ni) in ni_std() 88 struct ATTR_STD_INFO5 *ni_std5(struct ntfs_inode *ni) in ni_std5() 101 void ni_clear(struct ntfs_inode *ni) in ni_clear() 150 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex() 177 int ni_load_mi(struct ntfs_inode *ni, const struct ATTR_LIST_ENTRY *le, in ni_load_mi() 201 struct ATTRIB *ni_find_attr(struct ntfs_inode *ni, struct ATTRIB *attr, in ni_find_attr() [all …]
|
| H A D | namei.c | 75 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_lookup() 138 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_link() 178 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_unlink() 180 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_unlink() 243 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_rmdir() 272 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_rename() 273 struct ntfs_inode *new_dir_ni = ntfs_i(new_dir); in ntfs_rename() 275 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_rename() 382 struct ntfs_inode *ni = ntfs_i(inode); in ntfs3_get_parent()
|
| H A D | file.c | 35 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_dio_alignment() 99 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_fileattr_get() 136 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_fileattr_set() 268 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_getattr() 302 struct ntfs_inode *ni, in ntfs_extend_initialized_size() 358 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_filemap_close() 385 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_file_mmap_prepare() 472 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_fallocate() 710 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_setattr() 783 struct ntfs_inode *ni = ntfs_i(inode); in check_read_restriction() [all …]
|
| H A D | index.c | 204 static int bmp_buf_get(struct ntfs_index *indx, struct ntfs_inode *ni, in bmp_buf_get() 314 static int indx_mark_used(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_used() 334 static int indx_mark_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_free() 358 static int scan_nres_bitmap(struct ntfs_inode *ni, struct ATTRIB *bitmap, in scan_nres_bitmap() 472 static int indx_find_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_find_free() 520 int indx_used_bit(struct ntfs_index *indx, struct ntfs_inode *ni, size_t *bit) in indx_used_bit() 963 struct ntfs_inode *ni, CLST vbn, in indx_new() 1025 struct INDEX_ROOT *indx_get_root(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_get_root() 1053 static int indx_write(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_write() 1068 int indx_read_ra(struct ntfs_index *indx, struct ntfs_inode *ni, CLST vbn, in indx_read_ra() [all …]
|
| H A D | record.c | 34 static __le16 mi_new_attt_id(struct ntfs_inode *ni, struct mft_inode *mi) in mi_new_attt_id() 122 struct ntfs_inode *mft_ni = sbi->mft.ni; in mi_read() 198 struct ATTRIB *mi_enum_attr(struct ntfs_inode *ni, struct mft_inode *mi, in mi_enum_attr() 387 struct ATTRIB *mi_find_attr(struct ntfs_inode *ni, struct mft_inode *mi, in mi_find_attr() 481 struct ntfs_inode *ni = sbi->mft.ni; in mi_format_new() 503 struct ATTRIB *mi_insert_attr(struct ntfs_inode *ni, struct mft_inode *mi, in mi_insert_attr() 568 bool mi_remove_attr(struct ntfs_inode *ni, struct mft_inode *mi, in mi_remove_attr()
|
| H A D | inode.c | 33 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_read_mft() 526 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_init_ads_node() 527 struct ntfs_inode *nb = ni->base; in ntfs_init_ads_node() 647 struct ntfs_inode *ni; in ntfs_test_inode() 694 struct ntfs_inode *ni; in ntfs_iget5_flags() 766 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_bmap() 795 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_iomap_read_end_io() 831 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_read_folio() 864 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_readahead() 887 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_set_size() [all …]
|
| H A D | xattr.c | 73 static int ntfs_read_ea(struct ntfs_inode *ni, struct EA_FULL **ea, in ntfs_read_ea() 196 static ssize_t ntfs_list_ea(struct ntfs_inode *ni, char *buffer, in ntfs_list_ea() 257 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_get_ea() 321 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_set_ea() 550 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_get_acl() 745 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_listxattr() 771 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_getxattr() 871 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_setxattr() 994 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_save_wsl_perm()
|
| H A D | fsntfs.c | 282 int ntfs_loadlog_and_replay(struct ntfs_inode *ni, struct ntfs_sb_info *sbi) in ntfs_loadlog_and_replay() 530 struct ntfs_inode *ni = sbi->mft.ni; in ntfs_extend_mft() 586 struct ntfs_inode *ni, struct mft_inode **mi) in ntfs_look_free_mft() 642 struct ntfs_inode *ni; in ntfs_look_free_mft() 805 struct ntfs_inode *ni; in ntfs_clear_mft_tail() 847 struct ntfs_inode *ni = sbi->mft.ni; in ntfs_refresh_zone() 929 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_bad_inode() 956 struct ntfs_inode *ni; in ntfs_set_state() 1691 struct ntfs_inode *ntfs_new_inode(struct ntfs_sb_info *sbi, CLST rno, in ntfs_new_inode() 1697 struct ntfs_inode *ni; in ntfs_new_inode() [all …]
|
| H A D | dir.c | 278 struct ntfs_inode *ni = ntfs_i(dir); in dir_search_flags() 324 struct ntfs_inode *ni, const struct NTFS_DE *e, in ntfs_dir_emit() 398 static int ntfs_read_hdr(struct ntfs_sb_info *sbi, struct ntfs_inode *ni, in ntfs_read_hdr() 448 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_readdir() 642 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_dir_count()
|
| H A D | attrib.c | 60 static int attr_load_runs(struct ATTRIB *attr, struct ntfs_inode *ni, in attr_load_runs() 254 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_make_nonresident() 382 static int attr_set_size_res(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_set_size_res() 430 int attr_set_size_ex(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_set_size_ex() 436 struct ntfs_inode *nb = ni->base; in attr_set_size_ex() 953 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn, in attr_data_get_block() 991 int attr_data_get_block_locked(struct ntfs_inode *ni, CLST vcn, CLST clen, in attr_data_get_block_locked() 1405 int attr_data_write_resident(struct ntfs_inode *ni, struct folio *folio) in attr_data_write_resident() 1439 int attr_load_runs_vcn(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_load_runs_vcn() 1482 int attr_load_runs_range(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_load_runs_range() [all …]
|