Lines Matching refs:ntfs_inode
255 struct ntfs_inode *ni;
279 struct ntfs_inode *ni;
290 struct ntfs_inode *ni;
298 struct ntfs_inode *ni;
304 struct ntfs_inode *ni;
351 struct ntfs_inode { struct
427 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr,
431 int attr_set_size(struct ntfs_inode *ni, enum ATTR_TYPE type,
435 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn,
437 int attr_data_read_resident(struct ntfs_inode *ni, struct folio *folio);
438 int attr_data_write_resident(struct ntfs_inode *ni, struct folio *folio);
439 int attr_load_runs_vcn(struct ntfs_inode *ni, enum ATTR_TYPE type,
442 int attr_load_runs_range(struct ntfs_inode *ni, enum ATTR_TYPE type,
445 int attr_wof_frame_info(struct ntfs_inode *ni, struct ATTRIB *attr,
448 int attr_is_frame_compressed(struct ntfs_inode *ni, struct ATTRIB *attr,
450 int attr_allocate_frame(struct ntfs_inode *ni, CLST frame, size_t compr_size,
452 int attr_collapse_range(struct ntfs_inode *ni, u64 vbo, u64 bytes);
453 int attr_insert_range(struct ntfs_inode *ni, u64 vbo, u64 bytes);
454 int attr_punch_hole(struct ntfs_inode *ni, u64 vbo, u64 bytes, u32 *frame_size);
455 int attr_force_nonresident(struct ntfs_inode *ni);
456 int attr_set_compress(struct ntfs_inode *ni, bool compr);
459 void al_destroy(struct ntfs_inode *ni);
460 bool al_verify(struct ntfs_inode *ni);
461 int ntfs_load_attr_list(struct ntfs_inode *ni, struct ATTRIB *attr);
462 struct ATTR_LIST_ENTRY *al_enumerate(struct ntfs_inode *ni,
464 struct ATTR_LIST_ENTRY *al_find_le(struct ntfs_inode *ni,
467 struct ATTR_LIST_ENTRY *al_find_ex(struct ntfs_inode *ni,
471 int al_add_le(struct ntfs_inode *ni, enum ATTR_TYPE type, const __le16 *name,
474 bool al_remove_le(struct ntfs_inode *ni, struct ATTR_LIST_ENTRY *le);
475 int al_update(struct ntfs_inode *ni, int sync);
517 void ni_remove_mi(struct ntfs_inode *ni, struct mft_inode *mi);
518 struct ATTR_STD_INFO *ni_std(struct ntfs_inode *ni);
519 struct ATTR_STD_INFO5 *ni_std5(struct ntfs_inode *ni);
520 void ni_clear(struct ntfs_inode *ni);
521 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
522 int ni_load_mi(struct ntfs_inode *ni, const struct ATTR_LIST_ENTRY *le,
524 struct ATTRIB *ni_find_attr(struct ntfs_inode *ni, struct ATTRIB *attr,
529 struct ATTRIB *ni_enum_attr_ex(struct ntfs_inode *ni, struct ATTRIB *attr,
532 struct ATTRIB *ni_load_attr(struct ntfs_inode *ni, enum ATTR_TYPE type,
535 int ni_load_all_mi(struct ntfs_inode *ni);
536 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
537 int ni_remove_attr(struct ntfs_inode *ni, enum ATTR_TYPE type,
540 int ni_create_attr_list(struct ntfs_inode *ni);
541 int ni_expand_list(struct ntfs_inode *ni);
542 int ni_insert_nonresident(struct ntfs_inode *ni, enum ATTR_TYPE type,
547 int ni_insert_resident(struct ntfs_inode *ni, u32 data_size,
551 void ni_remove_attr_le(struct ntfs_inode *ni, struct ATTRIB *attr,
553 int ni_delete_all(struct ntfs_inode *ni);
554 struct ATTR_FILE_NAME *ni_fname_name(struct ntfs_inode *ni,
559 struct ATTR_FILE_NAME *ni_fname_type(struct ntfs_inode *ni, u8 name_type,
562 int ni_new_attr_flags(struct ntfs_inode *ni, enum FILE_ATTRIBUTE new_fa);
563 enum REPARSE_SIGN ni_parse_reparse(struct ntfs_inode *ni, struct ATTRIB *attr,
567 int ni_fiemap(struct ntfs_inode *ni, struct fiemap_extent_info *fieinfo,
569 int ni_readpage_cmpr(struct ntfs_inode *ni, struct folio *folio);
570 int ni_decompress_file(struct ntfs_inode *ni);
571 int ni_read_frame(struct ntfs_inode *ni, u64 frame_vbo, struct page **pages,
573 int ni_write_frame(struct ntfs_inode *ni, struct page **pages,
575 int ni_remove_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
578 bool ni_remove_name_undo(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
582 int ni_add_name(struct ntfs_inode *dir_ni, struct ntfs_inode *ni,
585 int ni_rename(struct ntfs_inode *dir_ni, struct ntfs_inode *new_dir_ni,
586 struct ntfs_inode *ni, struct NTFS_DE *de, struct NTFS_DE *new_de,
594 int log_replay(struct ntfs_inode *ni, bool *initialized);
602 int ntfs_loadlog_and_replay(struct ntfs_inode *ni, struct ntfs_sb_info *sbi);
608 struct ntfs_inode *ni, struct mft_inode **mi);
643 struct ntfs_inode *ntfs_new_inode(struct ntfs_sb_info *sbi, CLST nRec,
668 int indx_used_bit(struct ntfs_index *indx, struct ntfs_inode *ni, size_t *bit);
684 struct INDEX_ROOT *indx_get_root(struct ntfs_index *indx, struct ntfs_inode *ni,
686 int indx_read(struct ntfs_index *idx, struct ntfs_inode *ni, CLST vbn,
688 int indx_find(struct ntfs_index *indx, struct ntfs_inode *dir,
692 int indx_find_sort(struct ntfs_index *indx, struct ntfs_inode *ni,
695 int indx_find_raw(struct ntfs_index *indx, struct ntfs_inode *ni,
698 int indx_insert_entry(struct ntfs_index *indx, struct ntfs_inode *ni,
701 int indx_delete_entry(struct ntfs_index *indx, struct ntfs_inode *ni,
703 int indx_update_dup(struct ntfs_inode *ni, struct ntfs_sb_info *sbi,
765 bool mi_remove_attr(struct ntfs_inode *ni, struct mft_inode *mi,
1026 static inline struct ntfs_inode *ntfs_i(struct inode *inode) in ntfs_i()
1028 return container_of(inode, struct ntfs_inode, vfs_inode); in ntfs_i()
1031 static inline bool is_compressed(const struct ntfs_inode *ni) in is_compressed()
1037 static inline int ni_ext_compress_bits(const struct ntfs_inode *ni) in ni_ext_compress_bits()
1043 static inline void ni_set_ext_compress_bits(struct ntfs_inode *ni, u8 bits) in ni_set_ext_compress_bits()
1048 static inline bool is_dedup(const struct ntfs_inode *ni) in is_dedup()
1053 static inline bool is_encrypted(const struct ntfs_inode *ni) in is_encrypted()
1058 static inline bool is_sparsed(const struct ntfs_inode *ni) in is_sparsed()
1063 static inline int is_resident(struct ntfs_inode *ni) in is_resident()
1107 static inline void ni_lock(struct ntfs_inode *ni) in ni_lock()
1112 static inline void ni_lock_dir(struct ntfs_inode *ni) in ni_lock_dir()
1117 static inline void ni_lock_dir2(struct ntfs_inode *ni) in ni_lock_dir2()
1122 static inline void ni_unlock(struct ntfs_inode *ni) in ni_unlock()
1127 static inline int ni_trylock(struct ntfs_inode *ni) in ni_trylock()
1132 static inline int attr_load_runs_attr(struct ntfs_inode *ni, in attr_load_runs_attr()