/fs/ntfs/ |
D | attrib.c | 102 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 …]
|
D | mft.c | 1282 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 …]
|
D | namei.c | 290 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()
|
D | attrib.h | 39 MFT_RECORD *mrec; member 76 MFT_RECORD *mrec);
|
D | aops.c | 386 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()
|
D | inode.c | 440 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()
|
D | mft.h | 105 ntfs_inode *base_ni, MFT_RECORD **mrec);
|
D | file.c | 150 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()
|
D | index.c | 173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup()
|
D | dir.c | 125 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie + in ntfs_lookup_inode_by_name() 676 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie +
|
/fs/pstore/ |
D | ftrace.c | 163 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()
|
/fs/ntfs3/ |
D | record.c | 37 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() 194 const struct MFT_REC *rec = mi->mrec; in mi_enum_attr() 340 rec = mi->mrec; in mi_write() 366 rec = mi->mrec; in mi_format_new() 420 struct MFT_REC *rec = mi->mrec; in mi_insert_attr() 480 struct MFT_REC *rec = mi->mrec; in mi_remove_attr() 489 u16 links = le16_to_cpu(ni->mi.mrec->hard_links); in mi_remove_attr() [all …]
|
D | frecord.c | 105 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 …]
|
D | ntfs_fs.h | 321 struct MFT_REC *mrec; member 762 if (ref->seq != mi->mrec->seq) in mi_is_ref() 780 ref->seq = mi->mrec->seq; in mi_get_ref() 1094 kfree(mi->mrec); in mi_clear() 1095 mi->mrec = NULL; in mi_clear()
|
D | fsntfs.c | 585 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()
|
D | attrib.c | 257 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()
|
D | inode.c | 74 rec = ni->mi.mrec; in ntfs_read_mft() 525 else if (ref->seq != ntfs_i(inode)->mi.mrec->seq) { in ntfs_iget5() 1314 rec = ni->mi.mrec; in ntfs_create_inode()
|
D | fslog.c | 3090 rec = mi->mrec; in do_action() 3123 if (mi2_child->mrec != mi->mrec) in do_action() 3124 memcpy(mi2_child->mrec, mi->mrec, in do_action() 3134 rec = mi2_child->mrec; in do_action()
|