Lines Matching refs:m
121 MFT_RECORD *m = NULL; in ntfs_attr_extend_initialized() local
149 m = map_mft_record(base_ni); in ntfs_attr_extend_initialized()
150 if (IS_ERR(m)) { in ntfs_attr_extend_initialized()
151 err = PTR_ERR(m); in ntfs_attr_extend_initialized()
152 m = NULL; in ntfs_attr_extend_initialized()
155 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_attr_extend_initialized()
167 m = ctx->mrec; in ntfs_attr_extend_initialized()
193 m = map_mft_record(base_ni); in ntfs_attr_extend_initialized()
194 if (IS_ERR(m)) { in ntfs_attr_extend_initialized()
195 err = PTR_ERR(m); in ntfs_attr_extend_initialized()
196 m = NULL; in ntfs_attr_extend_initialized()
199 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_attr_extend_initialized()
211 m = ctx->mrec; in ntfs_attr_extend_initialized()
224 m = NULL; in ntfs_attr_extend_initialized()
290 m = map_mft_record(base_ni); in ntfs_attr_extend_initialized()
291 if (IS_ERR(m)) { in ntfs_attr_extend_initialized()
292 err = PTR_ERR(m); in ntfs_attr_extend_initialized()
293 m = NULL; in ntfs_attr_extend_initialized()
296 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_attr_extend_initialized()
308 m = ctx->mrec; in ntfs_attr_extend_initialized()
317 if (m) in ntfs_attr_extend_initialized()
329 if (m) in ntfs_attr_extend_initialized()
505 MFT_RECORD *m = NULL; in ntfs_prepare_pages_for_non_resident_write() local
936 m = map_mft_record(base_ni); in ntfs_prepare_pages_for_non_resident_write()
937 if (IS_ERR(m)) { in ntfs_prepare_pages_for_non_resident_write()
938 err = PTR_ERR(m); in ntfs_prepare_pages_for_non_resident_write()
941 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_prepare_pages_for_non_resident_write()
955 m = ctx->mrec; in ntfs_prepare_pages_for_non_resident_write()
996 err = ntfs_attr_record_resize(m, a, mp_size + le16_to_cpu( in ntfs_prepare_pages_for_non_resident_write()
1169 m = ctx->mrec; in ntfs_prepare_pages_for_non_resident_write()
1215 if (ntfs_attr_record_resize(m, a, attr_rec_len)) { in ntfs_prepare_pages_for_non_resident_write()
1490 MFT_RECORD *m; in ntfs_commit_pages_after_non_resident_write() local
1549 m = map_mft_record(base_ni); in ntfs_commit_pages_after_non_resident_write()
1550 if (IS_ERR(m)) { in ntfs_commit_pages_after_non_resident_write()
1551 err = PTR_ERR(m); in ntfs_commit_pages_after_non_resident_write()
1552 m = NULL; in ntfs_commit_pages_after_non_resident_write()
1557 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_commit_pages_after_non_resident_write()
1591 if (m) in ntfs_commit_pages_after_non_resident_write()
1645 MFT_RECORD *m; in ntfs_commit_pages_after_write() local
1676 m = map_mft_record(base_ni); in ntfs_commit_pages_after_write()
1677 if (IS_ERR(m)) { in ntfs_commit_pages_after_write()
1678 err = PTR_ERR(m); in ntfs_commit_pages_after_write()
1679 m = NULL; in ntfs_commit_pages_after_write()
1683 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_commit_pages_after_write()
1772 if (m) in ntfs_commit_pages_after_write()