Lines Matching refs:ntfs_sb_info

210 struct ntfs_sb_info {  struct
326 struct ntfs_sb_info *sbi; argument
423 int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run,
487 int ntfs_utf16_to_nls(struct ntfs_sb_info *sbi, const __le16 *name, u32 len,
489 int ntfs_nls_to_utf16(struct ntfs_sb_info *sbi, const u8 *name, u32 name_len,
601 int ntfs_extend_init(struct ntfs_sb_info *sbi);
602 int ntfs_loadlog_and_replay(struct ntfs_inode *ni, struct ntfs_sb_info *sbi);
603 int ntfs_look_for_free_space(struct ntfs_sb_info *sbi, CLST lcn, CLST len,
606 bool ntfs_check_for_free_space(struct ntfs_sb_info *sbi, CLST clen, CLST mlen);
607 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft,
609 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno, bool is_mft);
610 int ntfs_clear_mft_tail(struct ntfs_sb_info *sbi, size_t from, size_t to);
611 int ntfs_refresh_zone(struct ntfs_sb_info *sbi);
612 void ntfs_update_mftmirr(struct ntfs_sb_info *sbi, int wait);
620 int ntfs_set_state(struct ntfs_sb_info *sbi, enum NTFS_DIRTY_FLAGS dirty);
624 int ntfs_sb_write_run(struct ntfs_sb_info *sbi, const struct runs_tree *run,
626 struct buffer_head *ntfs_bread_run(struct ntfs_sb_info *sbi,
628 int ntfs_read_run_nb(struct ntfs_sb_info *sbi, const struct runs_tree *run,
630 int ntfs_read_bh(struct ntfs_sb_info *sbi, const struct runs_tree *run, u64 vbo,
633 int ntfs_get_bh(struct ntfs_sb_info *sbi, const struct runs_tree *run, u64 vbo,
635 int ntfs_write_bh(struct ntfs_sb_info *sbi, struct NTFS_RECORD_HEADER *rhdr,
637 int ntfs_bio_pages(struct ntfs_sb_info *sbi, const struct runs_tree *run,
640 int ntfs_bio_fill_1(struct ntfs_sb_info *sbi, const struct runs_tree *run);
641 int ntfs_vbo_to_lbo(struct ntfs_sb_info *sbi, const struct runs_tree *run,
643 struct ntfs_inode *ntfs_new_inode(struct ntfs_sb_info *sbi, CLST nRec,
647 int ntfs_security_init(struct ntfs_sb_info *sbi);
648 int ntfs_get_security_by_id(struct ntfs_sb_info *sbi, __le32 security_id,
651 int ntfs_insert_security(struct ntfs_sb_info *sbi,
654 int ntfs_reparse_init(struct ntfs_sb_info *sbi);
655 int ntfs_objid_init(struct ntfs_sb_info *sbi);
656 int ntfs_objid_remove(struct ntfs_sb_info *sbi, struct GUID *guid);
657 int ntfs_insert_reparse(struct ntfs_sb_info *sbi, __le32 rtag,
659 int ntfs_remove_reparse(struct ntfs_sb_info *sbi, __le32 rtag,
661 void mark_as_free_ex(struct ntfs_sb_info *sbi, CLST lcn, CLST len, bool trim);
662 int run_deallocate(struct ntfs_sb_info *sbi, const struct runs_tree *run,
664 bool valid_windows_name(struct ntfs_sb_info *sbi, const struct le_str *name);
665 int ntfs_set_label(struct ntfs_sb_info *sbi, u8 *label, int len);
682 int indx_init(struct ntfs_index *indx, struct ntfs_sb_info *sbi,
703 int indx_update_dup(struct ntfs_inode *ni, struct ntfs_sb_info *sbi,
734 int fill_name_de(struct ntfs_sb_info *sbi, void *buf, const struct qstr *name,
743 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi);
745 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno);
759 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno,
812 int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
817 int run_unpack_ex(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
830 int ntfs_discard(struct ntfs_sb_info *sbi, CLST Lcn, CLST Len);
855 int ntfs_trim_fs(struct ntfs_sb_info *sbi, struct fstrim_range *range);
897 static inline bool is_ntfs3(struct ntfs_sb_info *sbi) in is_ntfs3()
903 static inline bool is_mounted(struct ntfs_sb_info *sbi) in is_mounted()
908 static inline bool ntfs_is_meta_file(struct ntfs_sb_info *sbi, CLST rno) in ntfs_is_meta_file()
990 static inline struct ntfs_sb_info *ntfs_sb(struct super_block *sb) in ntfs_sb()
1003 static inline u64 ntfs_up_cluster(const struct ntfs_sb_info *sbi, u64 size) in ntfs_up_cluster()
1016 static inline CLST bytes_to_cluster(const struct ntfs_sb_info *sbi, u64 size) in bytes_to_cluster()