Lines Matching full:mi

352 	struct mft_inode mi; // base record  member
428 struct ATTR_LIST_ENTRY *le, struct mft_inode *mi,
511 void ni_remove_mi(struct ntfs_inode *ni, struct mft_inode *mi);
515 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
517 struct mft_inode **mi);
522 struct mft_inode **mi);
525 struct mft_inode **mi);
530 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi);
540 struct mft_inode **mi, struct ATTR_LIST_ENTRY **le);
543 struct ATTRIB **new_attr, struct mft_inode **mi,
546 struct mft_inode *mi, struct ATTR_LIST_ENTRY *le);
551 struct mft_inode **mi,
554 struct mft_inode **mi,
601 struct ntfs_inode *ni, struct mft_inode **mi);
678 struct ATTRIB **attr, struct mft_inode **mi);
738 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi);
739 void mi_put(struct mft_inode *mi);
740 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno);
741 int mi_read(struct mft_inode *mi, bool is_mft);
742 struct ATTRIB *mi_enum_attr(struct mft_inode *mi, struct ATTRIB *attr);
744 struct ATTRIB *mi_find_attr(struct mft_inode *mi, struct ATTRIB *attr,
753 int mi_write(struct mft_inode *mi, int wait);
754 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno,
756 struct ATTRIB *mi_insert_attr(struct mft_inode *mi, enum ATTR_TYPE type,
760 bool mi_remove_attr(struct ntfs_inode *ni, struct mft_inode *mi,
762 bool mi_resize_attr(struct mft_inode *mi, struct ATTRIB *attr, int bytes);
763 int mi_pack_runs(struct mft_inode *mi, struct ATTRIB *attr,
765 static inline bool mi_is_ref(const struct mft_inode *mi, in mi_is_ref() argument
768 if (le32_to_cpu(ref->low) != mi->rno) in mi_is_ref()
770 if (ref->seq != mi->mrec->seq) in mi_is_ref()
774 return le16_to_cpu(ref->high) == (mi->rno >> 32); in mi_is_ref()
780 static inline void mi_get_ref(const struct mft_inode *mi, struct MFT_REF *ref) in mi_get_ref() argument
782 ref->low = cpu_to_le32(mi->rno); in mi_get_ref()
784 ref->high = cpu_to_le16(mi->rno >> 32); in mi_get_ref()
788 ref->seq = mi->mrec->seq; in mi_get_ref()
1111 static inline void mi_clear(struct mft_inode *mi) in mi_clear() argument
1113 nb_put(&mi->nb); in mi_clear()
1114 kfree(mi->mrec); in mi_clear()
1115 mi->mrec = NULL; in mi_clear()