Home
last modified time | relevance | path

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

/external/syslinux/core/fs/ntfs/
Dntfs.c43 static inline enum dirent_type get_inode_mode(struct ntfs_mft_record *mrec);
44 …p(struct fs_info *fs, uint32_t type, struct ntfs_mft_record **mmrec, struct ntfs_mft_record *mrec);
196 struct ntfs_mft_record *mrec = NULL, *lmrec = NULL; in ntfs_mft_record_lookup_any() local
213 mrec = NTFS_SB(fs)->mft_record_lookup(fs, 0, &start_blk); in ntfs_mft_record_lookup_any()
214 if (!mrec) {dprintf("%s: read MFT(0) failed\n", __func__); break;} in ntfs_mft_record_lookup_any()
215 lmrec = mrec; in ntfs_mft_record_lookup_any()
216 if (get_inode_mode(mrec) != DT_REG) {dprintf("%s: $MFT is not a file\n", __func__); break;} in ntfs_mft_record_lookup_any()
217 attr = ntfs_attr_lookup(fs, NTFS_AT_DATA, &mrec, lmrec); in ntfs_mft_record_lookup_any()
238 if (mrec!=NULL) free(mrec); in ntfs_mft_record_lookup_any()
239 mrec = NULL; in ntfs_mft_record_lookup_any()
[all …]