Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ntfs/
Dattrib.c102 BUG_ON(IS_ERR(ctx->mrec)); in ntfs_map_runlist_nolock()
205 ctx->mrec = ctx->base_mrec; in ntfs_map_runlist_nolock()
206 BUG_ON(!ctx->mrec); in ntfs_map_runlist_nolock()
216 ctx->mrec = map_mft_record( in ntfs_map_runlist_nolock()
228 if (IS_ERR(ctx->mrec)) { in ntfs_map_runlist_nolock()
229 if (PTR_ERR(ctx->mrec) == in ntfs_map_runlist_nolock()
241 if (ctx->mrec != old_ctx.mrec) { in ntfs_map_runlist_nolock()
242 if (!IS_ERR(ctx->mrec)) in ntfs_map_runlist_nolock()
244 (u8*)ctx->mrec + in ntfs_map_runlist_nolock()
246 (u8*)old_ctx.mrec)); in ntfs_map_runlist_nolock()
[all …]
Dnamei.c290 MFT_RECORD *mrec; in ntfs_get_parent() local
299 mrec = map_mft_record(ni); in ntfs_get_parent()
300 if (IS_ERR(mrec)) in ntfs_get_parent()
301 return ERR_CAST(mrec); in ntfs_get_parent()
303 ctx = ntfs_attr_get_search_ctx(ni, mrec); in ntfs_get_parent()
Dmft.c1282 MFT_RECORD *mrec; in ntfs_mft_bitmap_extend_allocation_nolock() local
1383 mrec = map_mft_record(mft_ni); in ntfs_mft_bitmap_extend_allocation_nolock()
1384 if (IS_ERR(mrec)) { in ntfs_mft_bitmap_extend_allocation_nolock()
1386 ret = PTR_ERR(mrec); in ntfs_mft_bitmap_extend_allocation_nolock()
1389 ctx = ntfs_attr_get_search_ctx(mft_ni, mrec); in ntfs_mft_bitmap_extend_allocation_nolock()
1426 ret = ntfs_attr_record_resize(ctx->mrec, a, mp_size + in ntfs_mft_bitmap_extend_allocation_nolock()
1542 if (ntfs_attr_record_resize(ctx->mrec, a, old_alen)) { in ntfs_mft_bitmap_extend_allocation_nolock()
1552 if (!IS_ERR(mrec)) in ntfs_mft_bitmap_extend_allocation_nolock()
1579 MFT_RECORD *mrec; in ntfs_mft_bitmap_extend_initialized_nolock() local
1588 mrec = map_mft_record(mft_ni); in ntfs_mft_bitmap_extend_initialized_nolock()
[all …]
Dattrib.h39 MFT_RECORD *mrec; member
76 MFT_RECORD *mrec);
Dmft.h105 ntfs_inode *base_ni, MFT_RECORD **mrec);
Daops.c386 MFT_RECORD *mrec; in ntfs_read_folio() local
455 mrec = map_mft_record(base_ni); in ntfs_read_folio()
456 if (IS_ERR(mrec)) { in ntfs_read_folio()
457 err = PTR_ERR(mrec); in ntfs_read_folio()
468 ctx = ntfs_attr_get_search_ctx(base_ni, mrec); in ntfs_read_folio()
1478 err = ntfs_resident_attr_value_resize(ctx->mrec, ctx->attr, in ntfs_writepage()
Dinode.c440 nr_links = le16_to_cpu(ctx->mrec->link_count); in ntfs_is_extended_system_file()
455 if (p < (u8*)ctx->mrec || (u8*)p > (u8*)ctx->mrec + in ntfs_is_extended_system_file()
456 le32_to_cpu(ctx->mrec->bytes_in_use)) { in ntfs_is_extended_system_file()
634 (u8 *)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode()
743 (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode()
815 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_inode()
1537 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_locked_index_inode()
1935 (u8*)ctx->mrec + vol->mft_record_size) { in ntfs_read_inode_mount()
2414 m = ctx->mrec; in ntfs_truncate()
2697 m = ctx->mrec; in ntfs_truncate()
Dfile.c150 m = ctx->mrec; in ntfs_attr_extend_initialized()
194 m = ctx->mrec; in ntfs_attr_extend_initialized()
286 m = ctx->mrec; in ntfs_attr_extend_initialized()
1026 m = ctx->mrec; in ntfs_prepare_pages_for_non_resident_write()
1240 m = ctx->mrec; in ntfs_prepare_pages_for_non_resident_write()
Dindex.c173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup()
Ddir.c125 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie + in ntfs_lookup_inode_by_name()
676 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie +
/linux-6.1.9/fs/pstore/
Dftrace.c163 struct pstore_ftrace_record *drec, *srec, *mrec; in pstore_ftrace_combine_log() local
179 mrec = (struct pstore_ftrace_record *)(merged_buf); in pstore_ftrace_combine_log()
184 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
187 mrec[merged_idx++] = srec[src_idx++]; in pstore_ftrace_combine_log()
193 mrec[merged_idx++] = drec[dest_idx++]; in pstore_ftrace_combine_log()
198 mrec[merged_idx++] = srec[src_idx++]; in pstore_ftrace_combine_log()
/linux-6.1.9/fs/ntfs3/
Drecord.c37 struct MFT_REC *rec = mi->mrec; in mi_new_attt_id()
105 mi->mrec = kmalloc(sbi->record_size, GFP_NOFS); in mi_init()
106 if (!mi->mrec) in mi_init()
118 struct MFT_REC *rec = mi->mrec; in mi_read()
188 const struct MFT_REC *rec = mi->mrec; in mi_enum_attr()
339 rec = mi->mrec; in mi_write()
365 rec = mi->mrec; in mi_format_new()
419 struct MFT_REC *rec = mi->mrec; in mi_insert_attr()
479 struct MFT_REC *rec = mi->mrec; in mi_remove_attr()
488 le16_add_cpu(&ni->mi.mrec->hard_links, -1); in mi_remove_attr()
[all …]
Dfrecord.c105 if (!ni->vfs_inode.i_nlink && is_rec_inuse(ni->mi.mrec)) in ni_clear()
376 mi_get_ref(&ni->mi, &m->mrec->parent_ref); in ni_add_subrecord()
561 if (le32_to_cpu(mi->mrec->used) + 8 >= rs) in ni_repack()
659 struct MFT_REC *mrec; in ni_try_remove_attr_list() local
676 free = sbi->record_size - le32_to_cpu(ni->mi.mrec->used) + asize; in ni_try_remove_attr_list()
704 mrec = kmemdup(ni->mi.mrec, sbi->record_size, GFP_NOFS); in ni_try_remove_attr_list()
705 if (!mrec) in ni_try_remove_attr_list()
780 kfree(mrec); in ni_try_remove_attr_list()
784 swap(mrec, ni->mi.mrec); in ni_try_remove_attr_list()
785 kfree(mrec); in ni_try_remove_attr_list()
[all …]
Dntfs_fs.h318 struct MFT_REC *mrec; member
757 if (ref->seq != mi->mrec->seq) in mi_is_ref()
775 ref->seq = mi->mrec->seq; in mi_get_ref()
1102 kfree(mi->mrec); in mi_clear()
1103 mi->mrec = NULL; in mi_clear()
Dfsntfs.c585 struct MFT_REC *mrec; in ntfs_look_free_mft() local
606 mrec = ni->mi.mrec; in ntfs_look_free_mft()
608 if (!is_rec_base(mrec)) in ntfs_look_free_mft()
611 if (mrec->hard_links) in ntfs_look_free_mft()
Dattrib.c257 rec = mi->mrec; in attr_make_nonresident()
368 struct MFT_REC *rec = mi->mrec; in attr_set_size_res()
506 rec = mi->mrec; in attr_set_size()
1012 (sbi->record_size - le32_to_cpu(mi->mrec->used) + 8) / 3 + 1, in attr_data_get_block()
Dinode.c74 rec = ni->mi.mrec; in ntfs_read_mft()
511 else if (ref->seq != ntfs_i(inode)->mi.mrec->seq) { in ntfs_iget5()
1297 rec = ni->mi.mrec; in ntfs_create_inode()
Dfslog.c3086 rec = mi->mrec; in do_action()
3119 if (mi2_child->mrec != mi->mrec) in do_action()
3120 memcpy(mi2_child->mrec, mi->mrec, in do_action()
3130 rec = mi2_child->mrec; in do_action()